Problem with indicator going off screen

To add comments, please log in or register
Shaktale
9
Shaktale  

Hi all,

I am trying to test this indicator but sometimes it moves and doesn't stay centred in the indicator window.

I am sure it is something very easy to fix, I have attached a screenshot to show the issue.

Hope someone can have a look.

Thank you!

Files:
Keith Watford
Moderator
18548
Keith Watford  

It won't stay centred if the maximum and minimum values on the chart don't match.

You can use

#property  indicator_minimum  -0.006
#property  indicator_maximum  0.006

setting whatever values may be the maximum/minimum but this could mean that the whole indicator won't fit the window.

Better to leave it as it is as it isn't that important is it?

Shaktale
9
Shaktale  
Keith Watford:

It won't stay centred if the maximum and minimum values on the chart don't match.

You can use

setting whatever values may be the maximum/minimum but this could mean that the whole indicator won't fit the window.

Better to leave it as it is as it isn't that important is it?

It worked perfect! Now it stays centred.

It was important because the small bars will get hidden off screen, missing some signals.

Thank you so much!

To add comments, please log in or register