模拟多空市场,使大家习惯在上升趋势操作股票,只是练习而已!
花1:=EMA(ZIG(3,30),1);
仙女 : =EMA(ZIG(3,30),2);
花1:=EMA(ZIG(3,15),1),coloryellow;
女1:=EMA(ZIG(3,15),2),colorwhite;
花:=EMA(SLOPE(1,1)+C,3),colorred;
女:=EMA(SLOPE(1,1)+C,7),colorblue;
DRAWTEXT(COUNT (花<女,5)=4 AND 花>=女 AND 花1>=仙女,C*0.95,'B'), colorred;
DRAWTEXT(COUNT (花>=女,5)=4 AND 花<女,C*1.08,'S'), coloryellow;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,OPEN,8,0) ,COLOR000077;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,OPEN,7,0) ,COLOR000099;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,OPEN,6,0) ,COLOR0000BB;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,OPEN,5,0) ,COLOR0000CC;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,OPEN,4,0) ,COLOR0000DD;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,OPEN,3,0) ,COLOR0000EE;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,OPEN,2,0) ,COLOR0000FF;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,CLOSE/1.006,1,0),COLOR0000FF;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,CLOSE/1.005,2,0),,COLOR0000EE;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,CLOSE/1.004,3,0),COLOR0000DD;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,CLOSE/1.003,4,0),COLOR0000CC;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,CLOSE/1.002,5,0),COLOR0000BB;
STICKLINE(花>= 女 AND 花1>=仙女,CLOSE,CLOSE/1.001,6,0),COLOR000099;
STICKLINE(花>= 女 AND 花1>=仙女,OPEN,OPEN*1.006,1,0),COLOR0000FF;
STICKLINE(花>= 女 AND 花1>=仙女 ,OPEN,OPEN*1.005,2,0),,COLOR0000EE;
STICKLINE(花>= 女 AND 花1>=仙女,OPEN,OPEN*1.004,3,0),COLOR0000DD;
STICKLINE(花>= 女 AND 花1>=仙女,OPEN,OPEN*1.003,4,0),COLOR0000CC;
STICKLINE(花>= 女 AND 花1>=仙女,OPEN,OPEN*1.002,5,0),COLOR0000BB;
STICKLINE(花>= 女 AND 花1>=仙女,OPEN,OPEN*1.001,6,0),COLOR000099;
STICKLINE(花<= 女 ,CLOSE,OPEN/1.006,9,0),COLORFF0000;
STICKLINE(花<= 女 ,CLOSE,OPEN/1.005,8,0),COLORFF0000;
STICKLINE(花<= 女 ,CLOSE,OPEN/1.004,7,0),COLORFF3300;
STICKLINE(花<= 女 ,CLOSE,OPEN/1.003,3,0),COLORFFDD00;
STICKLINE(花<= 女 ,CLOSE,OPEN/1.002,2,0),COLORFFFF00;
STICKLINE(花1<=仙女 ,CLOSE,OPEN/1.006,9,0),COLORFF0000;
STICKLINE(花1<=仙女 ,CLOSE,OPEN/1.005,8,0),COLORFF0000;
STICKLINE(花1<=仙女 ,CLOSE,OPEN/1.004,7,0),COLORFF3300;
STICKLINE(花1<=仙女 ,CLOSE,OPEN/1.003,3,0),COLORFFDD00;
STICKLINE(花1<=仙女 ,CLOSE,OPEN/1.002,2,0),COLORFFFF00;
DRAWGBKLAST(CLOSE>OPEN,STRIP(RGB(55,50,0),RGB(0,25,1000),1));
DRAWGBKLAST(CLOSE ★花神★:STRLEFT('★花仙女原创作品★',18),coloryellow; A1:=EMA(C,14),colorwhite,LINETHICK1; A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW; 支撑位:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),colorred,LINETHICK1; 阻力位:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),colorgreen,LINETHICK1; STICKLINE(CROSS(A1X,0),C,O,2,0),coloryellow; STICKLINE(CROSS(0,A1X),C,O,2,0),colorgreen; DRAWICON(CROSS(花,女) AND CLOSE/REF(CLOSE,1)>1.03 AND 花1>=仙女,LOW/1.06,25); 花2:=EMA(SLOPE(1,1)+C,3),colorred; 女2:=EMA(SLOPE(1,1)+C,7),colorblue; 花1=MA(CLOSE, 5); 女1=MA(CLOSE, 60); 花仙=CROSS(花2,女2) AND 花1>女1; 仙女=CROSS(女2,花2) AND 花1>女1 AND COUNT(CROSS(花,女) AND 花1>女1 ,30); DRAWTEXT(花仙 AND 花1>=仙女,LOW/1.03,'↖买'),colorwhite; DRAWTEXT(仙女,HIGH*1.06,'卖'),coloryellow; STICKLINE(花仙,CLOSE,O,2,0),coloryellow; STICKLINE(仙女,CLOSE,O,7,0),COLOR555500; STICKLINE(仙女,CLOSE,O,6,0),COLOR888800; STICKLINE(仙女,CLOSE,O,5,0),COLORAAAA00; STICKLINE(仙女,CLOSE,O,4,0),COLORCCCC00; STICKLINE(仙女,CLOSE,O,3,0),COLOREEEE00; STICKLINE(仙女,CLOSE,O,2,0),colorwhite; STICKLINE(花仙,CLOSE,O,4,0),COLOR0000AA; STICKLINE(花仙,CLOSE,O,3,0),COLOR0000CC; STICKLINE(花仙,CLOSE,O,2,0),COLOR0000EE;