M1:=5;M2:=10;M3:=20;
X_1:=117100299;
X_2:=IF(DATE
X_5:=MA(CLOSE,13);
X_6:=100-Abs((CLOSE-X_5)*X_3/X_5*100);
X_7:=LLV(LOW,75);
X_8:=HHV(HIGH,75);
X_9:=(X_8-X_7)*X_3/100;
X_10:=SMA((CLOSE-X_7)*X_3/X_9,20,1);
X_11:=SMA((OPEN-X_7)*X_3/X_9,20,1);
X_12:=3*X_10-2*SMA(X_10,15,1);
X_13:=3*X_11-2*SMA(X_11,15,1);
X_14:=100-X_13;
X_15:=MA(WINNER(CLOSE*0.95)*X_3*100,3);
100,COLORGREEN;
X_16:=X_15>X_6*X_3;
X_17:=REF(LOW,1)*0.9;
X_18:=LOW*0.9;
X_19:=(X_18*vol+X_17*X_3*(CAPITAL-VOL))/CAPITAL;
X_20:=EMA(X_19*X_2,30);
X_21:=CLOSE-REF(CLOSE,1);
X_22:=MAX(X_21,0);
X_23:=ABS(X_21);
X_24:=SMA(X_22,7,1)/SMA(X_23,7,1)*100;
X_25:=SMA(X_22,13,1)/SMA(X_23,13,1)*100;
X_26:=BARSCOUNT(CLOSE);
X_27:=SMA(MAX(X_21,0),6,1)/SMA(ABS(X_21),6,1)*100;
X_28:=(-200)*(HHV(HIGH,60)*X_2-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
X_29:=(CLOSE-LLV(LOW,15)*X_2)/(HHV(HIGH,15)-LLV(LOW,15))*100;
X_30:=SMA((SMA(X_29,4,1)-50)*2,3,1);
X_31:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
X_32:=SMA(X_31,4,1);
X_33:=SMA(X_32*X_3,3,1);
X_34:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
X_35:=X_27<=25 AND X_3 AND X_28<(-95) AND X_34>20 AND X_30<(-30) AND X_33<30 AND X_20-CLOSE>=(-0.25) AND X_24<22 AND X_25<28 AND X_26>50;
X_36:=(HIGH+LOW+CLOSE)/3;
X_37:=(X_36*X_2-MA(X_36,14))/(0.015*AVEDEV(X_36,14));
X_38:=(X_36-MA(X_36,70))/(0.015*AVEDEV(X_36,70)*X_2);
X_39:=IF(X_37>=150 AND X_37<200 AND X_38>=150 AND X_38<200,10,0);
X_40:=IF(X_37<=(-150) AND X_37>(-200) AND X_38<=(-150) AND X_38>(-200),(-10),X_39);
风向标:IF(X_38>=200 AND X_37>=150,15,IF(X_38<=(-200) AND X_37<=(-150),(-15),X_40))+50,crOSSDOT,COLORCC9900,LINETHICK2;
STICKLINE(X_16,100,80,2,0),COLORGREEN;
100;
STICKLINE(X_35,0,80,2,0),COLORRED,LINETHICK3;
DRAWICON(CROSS(X_35,0.5) AND COUNT(X_35=1,10)=1,风向标,25);
DRAWICON(CROSS(X_16,0.5) AND COUNT(X_16=1,10)=1,65,15);