1. I get Endless loop error .

It works just fine for me, however try to replace:

while ( LastValue (bot)< LastValue (top)-0.5*box)
with :
for  ( n=LastValue (bot); n< LastValue (top);  n = n+box)


2.  I can not see the Axis price.

easy fix: You need to set Preferences\Charting\Blank bars in right
margin >= 10.

or you can control the right margin of axis price form:

xposition = BarCount+2;

for example:
xposition = BarCount-3;

you can control the right margin grid  assigning the variable shift a
value different from 7:

example:
shift = 3;








Reply via email to