通达信黄线持股主图指标公式
2021/2/22 18:48:41
M1:=3;
M2:=6;
M3:=12;
M4:=24;
BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4,COLORWHITE,LINETHICK1;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00C0C0;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2.5,0),COLORRED;
ZT:=BBI>REF(BBI,1) AND C>BBI;
持有:IF(ZT,BBI,DRAWNULL),COLORYELLOW,LINETHICK3;
ZT11:=(ATAN((BBI/REF(BBI,1)-1)*100)*180/3.14115926)>45;
DRAWTEXT(ZT11,BBI*0.995,'▲'),COLORYELLOW;
投股票 网 w ww.tou18.cn
股市公式下载推荐