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; 
|