var2:=ref(low,1);
var3:=sma(abs(low-var2),13,1)/sma(max(low-var2,0),13,1)*100;
var4:=ema(if(close*1.2,var3*13,var3/13),13);
var5:=llv(low,34);
var6:=hhv(var4,34);
var7:=if(llv(low,56),1,0);
var8:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7;
var9:=ema(close,5);
var10:=(close-ma(close,34))/ma(close,34)*(10);
var11:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7*(-1);
var12:=ema(close,5)*(-1);
stickline(var12<ref(var12,1),0,var12*0.08,4,1),color10e410;
減倉:if(var12<ref(var12,1),var12,0),color10e410,linethick0;
stickline(var9<ref(var9,1),0,var9*0.08,4,1),color1010ff;
增倉:if(var9<ref(var9,1),var9*0.2,0),color1010ff,linethick0;
stickline(var8>ref(var8,1),0,var8,4,1),color10ffff,linethick0;
主力進場:if(var8>ref(var8,1),var8*8,0),color10ffff,linethick0;
stickline(var11>ref(var11,1),0,var11,4,1),colorfff810;
洗盤:if(var11>ref(var11,1),var11*8,0),colorfff810,linethick0;
主力持倉:low,colorff10ff,linethick0;
增減力度:var10*5,colorwhite;
xl1:=ma(low,2)*0.96;
xl2:=ma(low,26)*0.85;
xl3:=ref(xl1,1)<xl2 and ref(xl1,1)<xl1 and ref(xl1,1)<ref(xl1,2);
stickline(xl3,0,var8*3,4,0),color006eff;
drawtext(xl3,var8*2,'買'),color006eff;
↑買:drawicon(xl3,var8*3,4),colorred;