请高手帮忙把公式改成条件选股,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;
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起跑线:MA(VAR1,5);
警戒线:MA(VAR1,10),COLORYELLOW;
分界线:MA(VAR1,30),COLORCYAN;
DRAWTEXT(CROSS(警戒线,VAR3),警戒线*1.2,'警'),COLORWHITE;
DRAWTEXT(CROSS(分界线,VAR3),分界线*1.2,'走');
{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;-------------------------...600306 符合 怎么选不出来{用这个·600306就选出来了}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;XYS1:=MA(XYS0,2);XYS2:=MA(XYS0,1);XYS1>0 AND XYS2>0;