通达信时间阶梯指标公式

2024-08-24 18:00发布

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 ;
 解锁全文需 1  财富值,免费注册即送20财富值!