MA21:=MA(C,21);
VAR1:=EMA(CLOSE,5);
VAR2:=EMA(VAR1,0);
VAR3:=HHV(MA(HIGH,3),2);
VAR5:=FILTER(VAR2>REF(VAR2,1) AND VAR3<REF(VAR3,1) AND CLOSE>REF(CLOSE,1),11);
VAR4:=RANGE(C/MA21,0.97,1.15)OR RANGE(O/MA21,0.97,1.15);
金股主升回踩:VAR5 AND C>MA(C,21) AND EVERY(MA21>REF(MA21,1),7) AND VAR4;