VAR2A:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
VAR2B:=SMA((SMA(VAR2A,4,1)-50)*2,3,1);
VAR2C:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*100;
VAR2D:=SMA(VAR2C,4,1);
VAR2E:=SMA(VAR2D,3,1);
VAR2F:=(HHV(HIGH,13)-CLOSE)/CLOSE*100;
VARE2:=REF(LOW,1)*0.9;
VARF2:=LOW*0.9;
VAR210:=(VARF2*vol+VARE2*(CAPITAL-VOL))/CAPITAL;
VAR211:=EMA(VAR210,5);
VAR212:=CLOSE-REF(CLOSE,1);
VAR213:=MAX(VAR212,0);
VAR214:=Abs(VAR212);
VAR215:=SMA(VAR213,5,1)/SMA(VAR214,5,1)*100;
VAR216:=SMA(VAR213,8,1)/SMA(VAR214,8,1)*100;
VAR217:=BARSCOUNT(21);
VAR218:=SMA(MAX(VAR212,0),6,1)/SMA(ABS(VAR212),6,1)*100;
VAR219:=(-200)*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))+100;
导弹:=crOSS(VAR218<=25 AND VAR219<-95 AND VAR2F>20 AND VAR2B<-30 AND VAR2E<30 AND VAR211-CLOSE>=-0.25 AND VAR215<22 AND VAR216<28 AND VAR217>50,0.5) AND COUNT(VAR218<=25 AND VAR219<-95 AND VAR2F>20 AND VAR2B<-30 AND VAR2E<30 AND VAR211-CLOSE>=-0.25 AND VAR215<22 AND VAR216<28 AND VAR217>50=1,10)=1;
金石买入:导弹;