Var1:=SYSPARAM(3)-SYSPARAM(2)+1;Var2:=SYSPARAM(3)-BARPOS;Var3:=HHV(HIGH,Var1);Var4:=LLV(LOW,VaR1);Var5:=REFX(Var3,Var2); //最高价Var5:IF(SYSPARAM(3)<>SYSPARAM(1),SYSPARAM(6),Var5),COLOR0000FF;Var6:REFX(Var4,Var2),COLOR0000FF; //主图最低价黄191:(Var5-Var6)*0.191+Var6,COLOR0000FF,POINTDOT;黄382:(Var5-Var6)*0.382+Var6,COLOR0000FF,POINTDOT;黄500:(Var5-Var6)*0.500+Var6,COLOR0000FF;黄618:(Var5-Var6)*0.618+Var6,COLOR0000FF,POINTDOT;黄809:(Var5-Var6)*0.809+Var6,COLOR0000FF,POINTDOT;DRAWTEXT(SYSPARAM