var1:=1;var3:=llv(high,240);var4:=100*(close-var3)/var3*var1;var5:=ref(llv(close,480),1)*var1;v**:=ref(hhv(close,480),1)*var1;var7:=100*(close-var5)/(v**-var5)*var1};var8:=(close-llv(close,981))/(hhv(close,981)-llv(close,981))*100*var1;varc:=ema(100*(close-llv(low,100))/(hhv(high,100)-llv(low,100)),5)/4*var1;vard:=if(varc>23.16,varc,0)*var1;vare:=varc<1*var1;varf:=vard*var1;var10:=var4<0 and var7<0;var11:=1;var12:=(high+low+close*2)/4*var11;var13:=ema(var12,21);var14:=std(var12,21);var15:=((var12-var13)/var14*100+200)/4*var11;var16:=(ema(var15,89)-25)*1.56*var11;var17:=ema(var16,5)*1.22*var11;var18:=ema(var17,3)*var11;var19:=3*var17-2*var18*var11;var1a:=if(cross(var19,var17) and cross(var19,var18) and cross(var17,var18),1,0);买点:filter(var8=0 and vare and var10 and var1a,5)=1;=================================红柱起:=1;var1:=1;var1d:=ema(close,2)-ema(close,89)*var1;var1e:=ema(var1d,30)*var1;var1f:=2*(var1d-var1e)*10*var1;var20:=pow(var1f,3)*0.1+pow(var1f,2)*var1};var21:=sqrt(sqrt(low*high*open*close));var22:=ema(var21*0.97,3)*var1;var23:=(high+low+close)/3*var1;var24:=(var23-ma(var23,14))/(0.015***edev(var23,14))*var1;var25:=if(year<9999 and var1f>0.015,var20,0)/45*var1;yz:=var25/10,colorred;var26:=ema(close,2)-ema(close,150);var27:=ema(var26,100);var28:=2*(var26-var27);var29:=pow(var28,3)*0.1+pow(var28,1);zl:=if(year<9999 and var28>0.1,var29,0)*5/10;zy:=zl+yz;绿柱持:=ema((zl+yz),5);0:=绿柱持币>ref(绿柱持币,1);输出1:=cross((zl+yz),红柱起值);见红有喜:(输出1 and 输出0)*10; 20210311