How to set a fixed grid?

 

How can i set and fix the grid in MT4? For example, I want to set the grid to a fixed 10 pips. Thanks

 

Was one of the first tools I made for myself.

Just create an indicator that checks latest Ask (or bid, doesnt matter) price, then get it draw a number of hlines X pips apart, X being 10 in your case around that Ask price. Be sure to save all object names to a separate array so that you can delete all lines on deinit. Another way would be to specify a global string for lines' names and just create or delete all lines with that name + i, where i is the line number.

Cheers.

 

The Plotter works great. Thank you!