通达信爆发能量指标公式
2020/2/6 18:54:19
N:=15;
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;
{投股票网-股票公式网站 www.tou18.cn}
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;
投股票 网 www.tou18.c n
股市公式下载推荐