以下是通达信干净的裸K和成交量指标公式(无源码的请下载附件导入)
WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORWHITE;
VOLUME:VOL,NODRAW;
STICKLINE(C>O,0,VOL,2,1),COLORRED;
STICKLINE(C<O,0,VOL,2,0),COLORCYAN;
STICKLINE(C=O AND C>=REF(C,1),0,VOL,2,1),COLORRED;
STICKLINE(C=O AND C<REF(C,1),0,VOL,2,0),COLORCYAN;
STICKLINE(VOL>=REF(VOL,1)*2,0,REF(VOL,1),2,0),COLORWHITE;
裸K主图:
DRAWKLINE(H,O,L,C);
STICKLINE(C>O,H,L,0,0),COLORRED;
STICKLINE(C>O,C,O,3,0),COLORRED;
STICKLINE(C<O,H,L,0,0),COLORCYAN;
STICKLINE(C<O,C,O,3,0),COLORCYAN;
STICKLINE(C=0,H,L,0,0),COLORWHITE;
STICKLINE(C=O,C,O,3,0),COLORWHITE;
821555881.png
|