当前位置:首页 > 通达信公式 > 正文

通达信上升量【爆发能量】指标公式

2017-08-28网络 编 辑:翔博软件


SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100);

能量:SAT,VOLSTICK;

压力:HHV((AMOUNT/C)/HHV(AMOUNT,N)/HHV(C,N)*100*C,N);

STICKLINE(((CLOSE > 0) AND ISLASTBAR),20,121,5.5,1),COLORFFFFFF;

STICKLINE(((SAT <= 5) AND ISLASTBAR),21,(20 + SAT),5,0),COLORFFFFFF;

STICKLINE((((SAT > 5) AND (SAT <= 20)) AND ISLASTBAR),21,(20 + SAT),5,0),COLORCCFF88;

STICKLINE((((SAT > 20) AND (SAT <= 40)) AND ISLASTBAR),21,(20 + SAT),5,0),COLORFF00FF;

STICKLINE(((SAT > 40) AND ISLASTBAR),21,(20 + SAT),5,0),COLOR0000FF;

{下面崔先生加}

STICKLINE(SAT>=100,30,SAT,1,0),COLOR0000FF,LINETHICK9;

DRAWTEXT(SAT>=100,SAT*1.05,'*'),COLOR00FFFF,LINETHICK3;

DRAWTEXT(FILTER(SAT>=100,100),10+SAT,'【爆发量】'),COLORCCFFCC;

DRAWTEXT(SAT=100 AND ISLASTBAR,28+SAT,'爆发'),COLORYELLOW;

 

能量值%:IF(SAT>0,SAT,DRAWNULL),COLORYELLOW,LINETHICK0;

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标