N:=99;
主力追踪:=99;
指标公式源码:=3;
vvdd1:=1;{选股公式-选股指标www.gs6699.com}
ddeww1:=100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
ddeww2:=100*(HHV(HIGH,主力追踪)-CLOSE)/(HHV(HIGH,主力追踪)-LLV(LOW,主力追踪)),COLORMAGENTA;
ddeww3:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(ddeww3,指标公式源码,1);
D:=SMA(K,vvdd1,1);
J:=3*K-2*D;
CROSS(K,ddeww2);