gggdca1:=100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
N:=34;{炒股公式-炒股指标www.gs6699.com}
gggdca2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(gggdca2,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
gggdca3:=EMA(J,6);
gggdca4:=CROSS(gggdca3,gggdca1);
gggdca6:gggdca4 AND XG;