通达信时间阶梯指标公式
2021/3/5 18:22:12
VAR1:=IF(YEAR=2004 AND MONTH>4,-100,SUM(SGN(CLOSE-REF(CLOSE,1)),0));
K1: VAR1;
VAR2:=MA(K1,7);
底线: VAR2-3, ,COLORRED POINTDOT LINETHICK2 ;
顶线: VAR2+3, ,COLORRED POINTDOT LINETHICK2 ;
STICKLINE(VAR2>REF(VAR2,1),REF(VAR2,1),VAR2,8,1),COLORRED , ;
STICKLINE(VAR2<REF(VAR2,1),REF(VAR2,1),VAR2,8,1), , COLORGREEN;
STICKLINE(VAR2=REF(VAR2,1),REF(VAR2,1),VAR2,8,1),COLORRED , ;
阴阳线: K1, ,COLOR0096FF POINTDOT LINETHICK2 ;
投 股票网 www. tou18.cn
股市公式下载推荐