VAR1:=C/REF(C,1)<0.97 AND C/O<0.97;
VAR2:=O<=REF(C,1);
VAR3:=C>(REF(C,1)+(REF(O,1)-REF(C,1))*0.2);
曙光:=REF(VAR1,1) AND VAR2 AND VAR3;
bias1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
乖离率:=REF(BIAS1<-6,1) AND C>O;
A60:=MA(C,60);
平均线往上:=ATAN((A60/REF(A60,1)-1)*100)*180/3.1416>5;
XG:曙光 AND 乖离率 AND 平均线往上;