X_1:=3*SMA((CLOSE-LLV(LOW,480))/(HHV(HIGH,480)-LLV(LOW,480))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,480))/(HHV(HIGH,480)-LLV(LOW,480))*100,180,1),15,1);
X_2:=EMA(X_1,5);
X_3:=X_2-100;
X_4:=EMA(CLOSE,5);
X_5:=(EMA(CLOSE,1)+EMA(CLOSE,5)+EMA(CLOSE,10)+EMA(CLOSE,15)+EMA(CLOSE,20)+EMA(CLOSE,25)+EMA(CLOSE,30)+EMA(CLOSE,35)+EMA(CLOSE,40)+EMA(CLOSE,45)+EMA(CLOSE,50)+EMA(CLOSE,55)+EMA(CLOSE,60)+EMA(CLOSE,65)+EMA(CLOSE,70)+EMA(CLOSE,75)+EMA(CLOSE,80)+EMA(CLOSE,85)+EMA(CLOSE,90)+EMA(CLOSE,95)+EMA(CLOSE,100)+EMA(CLOSE,105)+EMA(CLOSE,110)+EMA(CLOSE,115)+EMA(CLOSE,120)+EMA(CLOSE,125)+EMA(CLOSE,130)+EMA(CLOSE,135)+EMA(CLOSE,140)+EMA(CLOSE,150))/30;
X_6:=X_4/X_5*100;
X_7:=X_6-110;
X_8:=(HIGH+LOW+2*CLOSE)/4;
X_9:=(X_8-REF(X_8,3))/3+X_8;
X_10:=EMA(X_9,7);
X_11:=EMA(HHV(X_9,20),60);
X_12:=EMA(COST(80),30);
X_13:=EMA(1.4*EMA(FORCAST(X_9,20),40),20);
X_14:=(X_11+X_12+X_13)/3;
X_15:=MA(CLOSE,20);
X_16:=EMA(EMA(CLOSE*1.38,50),50);
X_17:=SMA(HIGH,21,2)*1.05;
X_18:=SMA(LOW,21,2)*0.95;
X_19:=(X_17+X_18)/2;
X_20:=X_19+2*STD(X_19,20);
X_21:=REF(X_20,0);
X_22:=Abs((2*CLOSE+HIGH+LOW)/4-MA(X_9,20))/MA(X_9,20);
X_23:=DMA(CLOSE,X_22);
X_24:=(1+9/100)*X_23;
X_25:=(1-7/100)*X_23;
X_26:=(REF((X_14+X_16+EMA(X_20*1.04,40)+X_24)/4,10)+MA(CLOSE,20)*1.04)/2;
X_27:=HIGH*vol;
X_28:=EMA((expma(X_27,180)/EXPMA(VOL,180)+EXPMA(X_27,360)/EXPMA(VOL,360)+EXPMA(X_27,720)/EXPMA(VOL,720)+EXPMA(X_27,1440)/EXPMA(VOL,1440))/4,34);
X_29:=1.06*X_28;
X_30:=X_28*0.94;
X_31:=EMA((EXPMA(X_27,27)/EXPMA(VOL,27)+EXPMA(X_27,54)/EXPMA(VOL,54)+EXPMA(X_27,108)/EXPMA(VOL,108)+EXPMA(X_27,316)/EXPMA(VOL,316))/4,34);
X_32:=1.06*X_31;
X_33:=X_31*0.94;
X_34:=EMA((EXPMA(X_27,5)/EXPMA(VOL,5)+EXPMA(X_27,10)/EXPMA(VOL,10)+EXPMA(X_27,20)/EXPMA(VOL,20)+EXPMA(X_27,40)/EXPMA(VOL,40))/4,34);
X_35:=1.06*X_34;
X_36:=X_34*0.94;
X_37:=(X_29+X_35+X_32)/3*1.05;
X_38:=(X_10*2/(X_26+X_37)-1)*100;
X_39:=MA(COST(80),20);
X_40:=(X_10/X_39-1)*100;
X_41:=(HHV(HIGH,42)-LLV(LOW,42))/2+LLV(LOW,42);
X_42:=ABS(HHV(HIGH,40)-LLV(LOW,40)-LLV(LOW,40))+X_41*0.5;
X_43:=(X_41/X_42-1)*100;
X_44:=EMA(EMA(CLOSE*1.14,55),20);
X_45:=(X_10/X_44-1)*100;
X_46:=(EMA(HHV(HIGH,60),60)+EMA(X_41,453)*1.62)/2;
X_47:=(X_10/X_46-1)*100;
主升:X_3+X_7+X_38+X_40+X_43+X_45+X_47,COLORCYAN,LINETHICK2;
X_48:=WINNER(CLOSE/1.1)*100;
X_49:=WINNER(CLOSE/1.2)*100;
X_50:=WINNER(CLOSE/1.3)*100;
DDD:X_48+X_49+X_50,COLORMAGENTA;
次升:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORWHITE;
DRAWICON(crOSS(20,DDD),20*1.01,8);
DRAWICON(CROSS(次升,DDD),次升*1.01,2);
DRAWICON(CROSS(DDD,20),20*1.01,7);
DRAWICON(CROSS(主升,DDD),主升*1.01,15);
20;
0;