M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,20);
M60:=MA(C,60);
M120:=MA(C,120);
AVG:=(C+M5+M10+M20+M30+M60+M120)/7;
SMC:=(C-AVG)*(C-AVG);
SM5:=(M5-AVG)*(M5-AVG);
SM10:=(M10-AVG)*(M10-AVG);
SM20:=(M20-AVG)*(M20-AVG);
SM30:=(M30-AVG)*(M30-AVG);
SM60:=(M60-AVG)*(M60-AVG);
SM120:=(M120-AVG)*(M120-AVG);
VARI:=(SMC+SM5+SM10+SM20+SM30+SM60+SM120)/7;
SD:=SQRT(VARI);
DIFF:=SD/AVG*100;
DEV:EMA(DIFF,5);
DEV20:EMA(DIFF,20);
强弱线:10,POINTDOT,colorwhite;
M1:=MA(MA(DIFF,3),3),colorred;
M2:HHV(M1,40),colorred;
M3:=SQRT(M1*M2),colorgreen;
M4:=SQRT(M1*M3),colorgreen;
同花顺均线离散指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/31936.html