以下是通达信13日均线主图公式无未来(无源码的请下载附件导入)
MA5:MA(C,5),COLORWHITE;
MA13:MA(C,13),COLORGREEN;
MA67:MA(C,67),COLORRED;
ZT:=C>=REF(C,1)*1.099;
STICKLINE(ZT,OPEN,CLOSE,8,0),COLORYELLOW;
立庄量:=IF(BARSCOUNT(CLOSE)=1,VOL*240/MINUTE/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
倍量:=V>REF(V,1)*1.9;
梯量柱:=REF(V,1)/V<0.95 AND REF(V,2)/REF(V,1)<0.95 AND V=HHV(V,13) AND COUNT(倍量,3)=0;
TJ:=(立庄量>=1 OR V>REF(V,1)*1.9 OR 梯量柱) AND C>REF(C,1);
STICKLINE(TJ>0 AND ZT>0,O,O+(C-O)/2,8,0),COLORRED;
STICKLINE(TJ>0 AND ZT=0,O,C,8,0),COLORRED;
DRAWTEXT(CROSS(MA5,MA67),MA5,'进');
DRAWTEXT(CROSS(MA13,MA5),MA13,'出');
8600115.png
|