GRID10 - Horizontal Grid Lines on Chart

M00SE

Newbie
Messages
4
Likes
0
Hello,

I wrote this MT4 indicator and found it useful so I thought I'd share. This indicator will draw a grid on a chart using grid lines separated at a convenient power of ten (popular with humans!)
eg. an index chart with range 10,200 to 10,800 will use a resolution of 100 whereas a currency pair with chart range 1.56100 to 1.56900 will use a resolution of 0.00100

There is the optional ability to include intermediate grid lines every 10%, 20%, 25% or 50% of the major grid lines.

The resolution of the grid is tied to the range of the chart (rather than the range of the data on the chart). This means that if the chart is resized, the grid will automatically resize with it at the next tick.

I hope you like it.
Regards,
M00SE.
 

Attachments

  • Grid10Grid.png
    Grid10Grid.png
    61.7 KB · Views: 2,045
  • Grid10.mq4
    8.1 KB · Views: 1,153
Hello,

I wrote this MT4 indicator and found it useful so I thought I'd share. This indicator will draw a grid on a chart using grid lines separated at a convenient power of ten (popular with humans!)
eg. an index chart with range 10,200 to 10,800 will use a resolution of 100 whereas a currency pair with chart range 1.56100 to 1.56900 will use a resolution of 0.00100

There is the optional ability to include intermediate grid lines every 10%, 20%, 25% or 50% of the major grid lines.

The resolution of the grid is tied to the range of the chart (rather than the range of the data on the chart). This means that if the chart is resized, the grid will automatically resize with it at the next tick.


I hope you like it.
Regards,
M00SE.

Thanks Moose, just what I need. I trade grids & nothing else, so it's a big help.
Apparently not a lot of interest!
 
Top