1,曙光
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;
2,乖离率
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
REF(BIAS1<-6,1) AND C>O;
3,平均线往上
A60:=MA(C,60);
XG1:ATAN((A60/REF(A60,1)-1)*100)*180/3.1416>5;