RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
gspt1:=CROSS(3*SMA(RSV,3,1)-2*SMA(SMA(RSV,3,1),3,1),MA(3*SMA(RSV,3,1)-2*SMA(SMA(RSV,3,1),3,1),2))AND C>O;
gspt2:=((REF(C,3)-REF(C,1))/C)*100>6;
gspt3:= CLOSE>REF(CLOSE,1)*1.03 ;
gspt4:= REF(((H-O)/C)*100< 2,1);
gspt5:=REF(C< O,2) AND REF(C< O,1);
gspt6:=((H-C)/C)*100< 2 AND H>REF(H,1);
gspt7:=((REF(O,1)-REF(C,1))/C)*100>1;
gspt8:=((REF(O,2)-REF(C,2))/C)*100< 9;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
gspt试:=MACD>REF(MACD,1) AND MACD< 0;
麒麟波段:= gspt1 AND gspt2 AND gspt3......附件里有完整的副图和选股源码,公式不加密