var1:=(CLOSE+HIGH+LOW+OPEN)/4;
var2:=SUMBARS(vol,CAPITAL);
var3:=HHV(var1,var2);
var4:=LLV(var1,var2);
var5:=(2*var1-var4-REF(var4,1))/(var3-var4);
var6:=(var1-var4)/(var3-var4);
var7:=IF(var1<=var4,var5*60,var6*60);
var8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
var9:=EMA(var8,7);
varA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
varB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
波段买入: IF(varA+varB<7 AND crOSS(var8,var9) AND var9<-18 AND var9<varB,60,50),coloryellow , ;
DRAWICON(波段买入=60,70,1),colorred;
varC:=HHV(HIGH,9)-LLV(LOW,9);
varD:=HHV(HIGH,9)-CLOSE;
varE:=CLOSE-LLV(LOW,9);
varF:=varD/varC*100-70;
var10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
var11:=(2*CLOSE+HIGH+LOW)/4;
var12:=SMA(varE/varC*100,3,1);
var13:=LLV(LOW,34);
var14:=SMA(var12,3,1)-SMA(varF,9,1);
var15:=IF(var14>100,var14-100,0);
var16:=HHV(HIGH,34);
var17:EMA((var11-var13)/(var16-var13)*100,8);
巫修全制: var17,coloryellow ;
var18:=EMA(var17,5);
STICKLINE(var17>0 AND var17-var18>=0,79,80,6,0),colorred ;
STICKLINE(var17>0 AND var17-var18<0,79,80,6,1),color00ff00 ;
STICKLINE(var17>0 AND var17-var18>=0,19,20,6,0),colorred, ;
STICKLINE(var17>0 AND var17-var18<0,19,20,6,1),color00ff00 ;
STICKLINE(var17-var18>0,var17,var18,8,1),colorred ;
STICKLINE(var17-var18<0,var17,var18,8,1),color00ff00 ;
var22:=REF(LOW,1);
var23:=SMA(Abs(LOW-var22),3,1)/SMA(MAX(LOW-var22,0),3,1)*100;
var24:=EMA(IF(CLOSE*1.3,var23*10,var23/10),3);
var25:=LLV(LOW,30);
var26:=HHV(var24,30);
var27:=IF(MA(CLOSE,58),1,0);
var28:=EMA(IF(LOW<=var25,(var24+var26*2)/2,0),3)/618*var27;
var29:=IF(var28>100,100,var28);
STICKLINE(var29>-150,0,var29,3,0),colorff00ff;

