CMC0:=REF(C,2)*0.865;
CMC1:=REF(C,13)*0.772;
CMDSY:=100*vol/CAPITAL;
天王买1:=(C-MIN(CMC0,CMC1))/C<0.085 AND SUM(CMDSY,5)/5<1.8;
BWVAR1:=(C-MA(C,48))/MA(C,48)*100<-30 AND (C-MA(C,70))/MA(C,70)*100<-27 AND COUNT((C-MA(C,48))/MA(C,48)*100<-30,2)=1 AND COUNT(C-MA(C,70)*100<-27,2)=1 AND (0-REF(C,1))/REF(C,1)>-0.07 AND COUNT(C=0,6)=0;
BWVAR2:=(C-DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL))/DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL)*100;
BWVAR3:=REF(BWVAR2,1)<-46 AND BWVAR2>REF(BWVAR2,1)>2.2;{-42,1.8}
天王买2:=(BWVAR1 OR BWVAR3);
BWVAR10:=SMA(SMA((INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100,50,1),40,1);
天王买3:=(C-MA(C,70))/MA(C,70)*100<-24 AND BWVAR10<23 AND COUNT((C-MA(C,70))/MA(C,70)*100<-23,2)=1 AND (0>C OR 0
BWVAR15:=DMA(EMA(C,5),SUM(V,8)/2.8/CAPITAL);
BWVAR16:=REF((C-BWVAR15)/BWVAR15*100,1)<-40;
BWVAR11:=(C-BWVAR15)/BWVAR15*100>REF((C-BWVAR15)/BWVAR15*100,1);
BWVAR12:=REF((C-BWVAR15)/BWVAR15*100,1)BWVAR13:=(C-BWVAR15)/BWVAR15*100-REF((C-BWVAR15)/BWVAR15*100,1)>1.8;
BWVAR14:=H>L*1.053 AND COUNT(H>L*1.053,5)>2 AND (C/MA(C,30)*100<75 OR C/MA(C,50)*100<78);
天王买4:=BWVAR16 AND BWVAR11 AND BWVAR12 AND BWVAR13 OR BWVAR14;{-34,1.76}
JBVAR1:=(C-MA(C,48))/MA(C,48)*100<-28;
JBVAR2:=SMA(MAX(C-REF(C,1),0),12,1)/SMA(Abs(C-REF(C,1)),12,1)*100>23;
天王买5:=JBVAR1 AND JBVAR2 AND VOL>MA(VOL,18) AND COUNT(C=0,6)=0;
XRVAR2:=(C-MA(C,50))/MA(C,50)*100<-23;
XRVAR3:=SMA(MAX(C-REF(C,1),0),3,1)/SMA(ABS(C-REF(C,1)),3,1)*100>16;
XRVAR4:=crOSS(100*(HHV(H,27)-C)/(HHV(H,27)-LLV(L,27)),79);
XRVAR5:=(0-REF(C,1))/REF(C,1)<0.05 AND V>MA(V,23);
天王买6:=XRVAR2 AND XRVAR3 AND XRVAR4 AND (0>C OR 0