以下是通达信天天盈利趋势主图源码(无源码的请下载附件导入)
ZJ:=EMA(C,13);
HY:=EMA(C,20);
IF(ZJ>REF(ZJ,1),ZJ,DRAWNULL),COLORRED,LINETHICK2;
IF(ZJ<=REF(ZJ,1),ZJ,DRAWNULL),COLORBLUE,LINETHICK2;
IF(HY>REF(HY,1),HY,DRAWNULL),COLORGREEN,LINETHICK2;
IF(HY<REF(HY,1),HY,DRAWNULL),COLORWHITE,LINETHICK2;
STICKLINE(CLOSE>ZJ,HIGH,L,0.1,1),COLORRED;
STICKLINE(CLOSE>ZJ,C,OPEN,3,1),COLORRED;
STICKLINE(CLOSE=ZJ,H,L,3,1),COLORFFFFFF;
STICKLINE(CLOSE<ZJ,H,L,0.1,1),COLOR00FFFF;
STICKLINE(CLOSE<ZJ,O,C,3,1),COLOR00FFFF;
STICKLINE(CLOSE<HY,HIGH,L,0.1,1),COLORCYAN;
STICKLINE(CLOSE<HY,OPEN,CLOSE,3,1),COLORCYAN;
634499653.png
|