请高手帮忙把公式改成条件选股,1条件绿线在红色线上方,出现第一个红柱时.条件绿线在红色线上方,在横线之上.------------------------------------------------------------------WY1001:=(2*CLOSE+HIGH+LOW)/4;WY1002:=
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/30 12:09:54
请高手帮忙把公式改成条件选股,1条件绿线在红色线上方,出现第一个红柱时.条件绿线在红色线上方,在横线之上.------------------------------------------------------------------WY1001:=(2*CLOSE+HIGH+LOW)/4;WY1002:=
请高手帮忙把公式改成条件选股,1
条件绿线在红色线上方,出现第一个红柱时.
条件绿线在红色线上方,在横线之上.
------------------------------------------------------------------
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,4);
WY1003:=EMA(WY1002,4);
WY1004:=EMA(WY1003,4);
XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
STICKLINE(XYS0>=0,XYS0,0,2,0),COLORRED;
STICKLINE(XYS06.1 AND CYS13>5 ,2 ,0 ,2 ,0 ),COLORGREEN;
STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;
STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;
STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;
XYS1:MA(XYS0,2);
XYS2:MA(XYS0,1);
------------------------------------------------------------------------------------
出现红柱,白线在黄线之上
白线在黄线之上
------------------------------------------------------------------------------------
VAR1:=SMA(AMOUNT,10,1)/10000;
VAR2:=REF(VAR1,1);
VAR3:=SMA(AMOUNT,10,1)/10000;
资金运转:STICKLINE(VAR1>VAR2,VAR1,VAR2,2,0),COLORRED;
资金流失:STICKLINE(VAR1< VAR2,VAR1,VAR2,2,0),COLORGREEN;
起跑线:MA(VAR1,5);
警戒线:MA(VAR1,10),COLORYELLOW;
分界线:MA(VAR1,30),COLORCYAN;
DRAWTEXT(CROSS(警戒线,VAR3),警戒线*1.2,'警'),COLORWHITE;
DRAWTEXT(CROSS(分界线,VAR3),分界线*1.2,'走');
请高手帮忙把公式改成条件选股,1条件绿线在红色线上方,出现第一个红柱时.条件绿线在红色线上方,在横线之上.------------------------------------------------------------------WY1001:=(2*CLOSE+HIGH+LOW)/4;WY1002:=
{1.问题1}
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,4);
WY1003:=EMA(WY1002,4);
WY1004:=EMA(WY1003,4);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
REF(XYS0,1)0 AND XYS2>0;
------------------------------------
{3.问题3}
VAR1:=SMA(AMOUNT,10,1)/10000;
VAR2:=REF(VAR1,1);
起跑线:=MA(VAR1,5);
警戒线:=MA(VAR1,10);
CROSS(起跑线,警戒线) AND VAR1>VAR2;
--------------------------------------------
{4.问题4}
VAR1:=SMA(AMOUNT,10,1)/10000;
VAR2:=REF(VAR1,1);
起跑线:=MA(VAR1,5);
警戒线:=MA(VAR1,10);
CROSS(起跑线,警戒线) AND 起跑线>警戒线;