{选股底共振}
RV:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
RG:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
var4:=SMA(RV,5,1);
var5:=SMA(var4,3,1);
KK:=SMA(RG,3,1);
DD:=SMA(KK,3,1);
底共振:cross(var4,var5) and cross(KK,DD) and C>O;
{选股底共振}
RV:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
RG:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
var4:=SMA(RV,5,1);
var5:=SMA(var4,3,1);
KK:=SMA(RG,3,1);
DD:=SMA(KK,3,1);
底共振:cross(var4,var5) and cross(KK,DD) and C>O;