【股票入门与技巧】【通达信】一条均线主图指标公式
T:=20;N:=2;M:=30; DIRECTION:=CLOSE-REF(CLOSE,T); VOLATILITY:=SUM(ABS(CLOSE-REF(CLOSE,1)),T); ER:=SUM(ABS(DIRECTION/VOLATILITY),1); FASTC:=2/(N+1); SLOWC:=2/(M+1); SMOOTH:=ER*( FASTC- SLOWC)+ SLOWC; SE:...
T:=20;N:=2;M:=30; DIRECTION:=CLOSE-REF(CLOSE,T); VOLATILITY:=SUM(ABS(CLOSE-REF(CLOSE,1)),T); ER:=SUM(ABS(DIRECTION/VOLATILITY),1); FASTC:=2/(N+1); SLOWC:=2/(M+1); SMOOTH:=ER*( FASTC- SLOWC)+ SLOWC; SE:...