通达信摇钱奇线付图指标公式
N:=38;
M:=7;
VAR1:=(HIGH+3*LOW+CLOSE)/5;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=(VAR2-VAR3)*5;
VAR5:=IF(VAR4>=1000,1000,IF(VAR4<=VAR1,VAR1,VAR4));
VAR6:=FORCAST(FORCAST(VAR5,N),M);
上涨: IF(VAR5>VAR6,VAR5,VAR6),COLORRED;
下跌: IF(VAR5<VAR6,VAR5,VAR6),COLORGREEN;
分水岭: FORCAST(FORCAST(VAR5,N),M),LINETHICK2 , COLORMAGENTA;