通达信炮弹选股指标公式

通达信区间成本指标公式

通达信炮弹选股指标公式:
N:=15;M:=32;

VAR1H:=DMA(AMOUNT/vol/100, VOL/CAPITAL);

VAR2H:=MA(WINNER(HIGH)-WINNER(VAR1H), 15);

VAR3H:=MA(WINNER(LOW)-WINNER(VAR1H),32);

VAR4H:=VAR3H-VAR2H;

火箭:IF(REF(VAR4H,2)<REF(VAR4H,1) AND REF(VAR4H,1)>VAR4H AND VAR4H>0 AND

VAR4H*10>1,80,0),stICK,COLOR00FF00;

DRAWTEXT(火箭,70,'火箭'),COLORF00FF0;

导弹:IF(REF(VAR4H,2)<REF(VAR4H,1) AND REF(VAR4H,1)>VAR4H AND VAR4H>0 AND

VAR4H*10<1 AND VAR4H*10>0.55,45,0),STICK,COLORRED;

DRAWTEXT(导弹,40,'导弹'),COLORYELLOW;

炮弹:IF (REF(VAR4H,2)<REF(VAR4H,1) AND REF(VAR4H,1)>VAR4H AND VAR4H>0 AND

VAR4H*10<=0.55,60,0),STICK,COLORF0F000;

DRAWTEXT(炮弹,55,'炮弹'),COLOR000099;

通达信急跌警报指标公式