当趋势线为红色时,多方动能强烈,可以做多,当趋势线为绿色时,空方动能强烈,可以做空。
DKX:=100-90*(HHV(HIGH,20)-(2*C+L)/3)/(HHV(HIGH,20)-LLV(LOW,20));
X:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);
PARTLINE(DKX,DKX>X,RGB(255,0,0),DKX<X,RGB(0,255,0)),LINETHICK2;
分界线:50;