通达信牛股趋势指标公式
2021/1/22 19:11:11
VAR1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
VAR2:=IF(CLOSE<REF(CLOSE,1),VOL,0);
SH:SUM(VAR1,13),NODRAW;
UP:SUM(VAR2,13),NODRAW;
趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORMAGENTA;
见底线: 10,LINETHICK2,COLORYELLOW;
准备抄底: IF(趋势线<=10,50,0),LINETHICK1,COLORRED;
DRAWTEXT(CROSS(准备抄底,8),55,'准备'),COLOR00FF00,COLORRED;
突袭: IF(CROSS(趋势线,见底线),82,0),LINETHICK2,COLORGREEN;
DRAWICON(突袭>0,100,13),COLORYELLOW;
DRAWTEXT(CROSS(突袭,8),89,'突袭'),COLOR00FF00,COLORGREEN;
投股票 网 w ww.tou18.cn
股市公式下载推荐