--
没啥好办法,一条一条硬画出来吧。
x:=SYSPARAM(4);//图表当前范围内最高价
y:=SYSPARAM(5);//图表当前范围内最低价
Len:=x-y;
DRAWSL(ISLASTBAR ,y+len*0.191 ,0 ,0 ,2 ,COLORBLUE ,1,vtDASH);
DRAWNUMBER(ISLASTBAR ,y+len*0.191 ,0.191 ,3,COLORRED,2);
DRAWSL(ISLASTBAR ,y+len*0.382 ,0 ,0 ,2 ,COLORBLUE ,1,vtDASH);
DRAWNUMBER(ISLASTBAR ,y+len*0.382 ,0.382 ,3,COLORRED,2);
DRAWSL(ISLASTBAR ,y+len*0.5 ,0 ,0 ,2 ,COLORBLUE ,1,vtDASH);
DRAWNUMBER(ISLASTBAR ,y+len*0.5 ,0.5 ,3,COLORRED,2);
DRAWSL(ISLASTBAR ,y+len*0.618 ,0 ,0 ,2 ,COLORBLUE ,1,vtDASH);
DRAWNUMBER(ISLASTBAR ,y+len*0.618 ,0.618 ,3,COLORRED,2);
DRAWSL(ISLASTBAR ,y+len*0.809 ,0 ,0 ,2 ,COLORBLUE ,1,vtDASH);
DRAWNUMBER(ISLASTBAR ,y+len*0.809 ,0.809 ,3,COLORRED,2);
DRAWSL(ISLASTBAR ,x ,0 ,0 ,2 ,COLORBLUE ,1,vtDASH);
以当前图表最高最低价 作为划分区域。你也可以自行调整这个区域。