通达信零星破碎指标公式
2020/5/9 19:06:09
VZ:=INTPART(AMOUNT)/INTPART(V)/100;
DRAWTEXT_FIX(1,0.00,0,0,'所属地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.07,0,0,DYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.00,0.06,0,'所属行业:')COLORFF00FF;
DRAWTEXT_FIX(1,0.07,0.06,0,HYBLOCK)COLORFF00FF;
ZH:=INTPART(H);
ZO:=INTPART(O);
ZC:=INTPART(C);
ZL:=INTPART(L);
XH:=FRACPART(H);
XO:=FRACPART(O);
XC:=FRACPART(C);
XL:=FRACPART(L);
ZXH:=(ZH-XH)*VZ,COLORLIRED;
ZXO:=(ZO-XO)*VZ,COLORYELLOW;
ZXC:=(ZC-XC)*VZ,COLORWHITE;
ZXL:=(ZL-XL)*VZ,COLORGREEN;
STICKLINE(ZXC>=ZXO,ZXL,ZXH,0.00001,0),COLORRED;
STICKLINE(ZXC>ZXO,ZXO,ZXC,2.5,0),COLORRED;
STICKLINE(ZXC>ZXO,ZXO,ZXC,0.6,0),COLORCC66FF;
STICKLINE(ZXC<ZXO,ZXO,ZXC,2.5,0),COLORFF6600;
STICKLINE(ZXC<ZXO,ZXO,ZXC,0.6,0),COLORFF9900;
STICKLINE(ZXC<ZXO,ZXL,ZXH,0.00001,0),COLORFF9900;
M1:SMA(ZXC,55,24);
M2:WMA(ZXC,7);
M3:EMA(ZXC,7);
M4:MEMA(M3,7);
投股 票网 www.tou1 8.cn
股市公式下载推荐