input:n(30,2,100);
Var4:=((HIGH*1.1)*VOL+(REF(HIGH,10)*1.1)*(CAPITAL-VOL))/CAPITAL;
Var7:=((LOW*0.9)*VOL+(REF(LOW,1)*0.9)*(CAPITAL-VOL))/CAPITAL;
Var8:=EMA(Var7,30);
a1:EMA(Var4,30),COLORCYAN;
a2:a1-2;
a3:a2-2;
VarB:=IF(C =Var8,a2,a1);
bb:VarB*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),colorwhite;
底部提示:PARTLINE(VarB=a2,bb),COLORred,LINETHICK2;
B:2.5,COLORBLUE;
ema(bb,3),COLORMAGENTA,LINEDOT;