Var1B:=CLOSE/MA(CLOSE,40)*100 < 78;
Var2B:=CLOSE/MA(CLOSE,60)*100 < 74;
Var3B:=HIGH > LOW*1.051;
Var4B:=Var3B AND COUNT(Var3B,5) > 1;
var5B:=Var4B AND (Var1B OR Var2B);
Xar1:=DMA(EMA(CLOSE,12),SUM(vol,5)/3/CAPITAL);
Xar2:=(CLOSE-xar1)/xar1*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;
Xar3:=(CLOSE-ref(CLOSE,5))/CLOSE*100<-9;
当前获利:=WINNER(CLOSE);
大盘涨跌:=ema((INDEXC-ma(INDEXC,10))/INDEXC*100,14)<-4.9;
换手率:=(ma(v,5)-VOL)/CAPITAL*100<0.8;
量能变化:=(vol-MA(vol,21))/vol*100;
买入信号:=大盘涨跌 AND Xar3 AND 当前获利<0.12 AND
换手率 AND 量能变化>18;
AXXY:=大盘涨跌 AND Xar3 AND 当前获利<0.12 AND
换手率 AND 量能变化>18 and var5B;
Var1:=MA(CLOSE,13);
Var2:=MA(CLOSE,27);
Var3:=(Var1-CLOSE)/CLOSE>2/100;
Var4:=(Var2-Var1)/Var1>0.030;
Var5:=LLV(CLOSE,32)=LLV(CLOSE,119);
var6:=Var3 AND Var4 AND Var5 ;
Var1a:=INDEXC;
Var2a:=MA(Var1a,6);
Var3a:=MA(Var1a,24);
Var4a:=MA(Var1a,32);
Var5a:=MA(Var1a,62);
Var6a:=MA(Var1a,105);
Var7a:=Var5a
Var8a:=Var4a>Var2a*1.115 AND Var3a>Var2a*1.095;
Var9a:=Var2a>Var1a*0.96;
var6 and Var7a AND Var8a AND Var9a AND CLOSE/COST(8)<=0.790 AND
(CLOSE>OPEN OR CLOSE
REF(CLOSE,1)