趋势方向
{TREND DIRECTION & FORCE INDEX BY PIOTR WOJDYO 由李季峰改编}
PER1:=17;
MMA:=EMA(C,PER1);
SMMA:=EMA(MMA,PER1);
IMPETMMA:=MMA - REF(MMA,1);
IMPETSMMA:=SMMA - REF(SMMA,1);
DIVMA:= ABS(MMA - SMMA);
AVERIMPET:= (IMPETMMA+IMPETSMMA)/2;
TDF:= POW(DIVMA,1)*POW(AVERIMPET,3);
NTDF:=TDF/HHV(ABS(TDF),PER1*3);
-0.05,COLORBLUE;0.05,COLORBLUE;NTDF,COLORRED,LINETHICK2;
用法:英文原名 趋势方向 破坏指标
10011081.jpg
|