发一个完整的吧,想不到那么多同学弄不好。
我自己加了些乱七八糟的东西的,不喜欢的同学可以删除了。
ZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;
DYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;
STICKLINE(ZTB,O,C,3,0), COLORRED;
STICKLINE(DYX,C,O,3,0), COLORLIGREEN;
D5D:MA(C,5),COLORRED;
D10D:MA(C,10),COLORGREEN;
D20DMA(C,20)),COLORYELLOW;
D55D:MA(C,55),COLORCYAN;
D89D:MA(C,89),COLORMAGENTA;
D144D:MA(C,144),COLORRED,LINETHICK2;
D233D:MA(C,233),COLORGREEN,LINETHICK2;
D377D:MA(C,377),COLORLIGRAY,LINETHICK2;
450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;
D610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;
IF(十天JD>0,D10D,DRAWNULL),LINETHICK2,COLORMAGENTA;
IF(二十天JD>0,D20D,DRAWNULL),LINETHICK5,COLORYELLOW; |