• Overview
  • Reviews
  • Comments
  • What's new

Smart Grid

This is a grid that automatically re-draws when changing a timeframe or a chart scale.


The grid consists of the two main line types:
  • Vertical lines can be of three types:
    1. dividing a small time period.
    2. dividing a medium time period.
    3. dividing a large time period.
  • Horizontal lines can be of two types:
    1. dividing a medium price period.
    2. dividing a large price period.

Division value depends on the chart period and scale.

Description of some time periods:

  • 5 Minutes:
    • Small time period divides the chart into segments of 4 hours each, and any candle on H4 chart corresponds with a certain segment on M5 chart.
    • Medium time period divides the chart by days.
    • Large time period divides the chart by weeks.
  • 1 Hour:
    • Small time period is absent.
    • Medium time period divides the chart by days.
    • Large time period divides the chart by weeks. This division allows you to quickly see the end of the past and the beginning of the next week on H1 chart making it easy to determine the day of the week.
  • 4 Hours:
    • Small time period is absent.
    • Medium time period divides the chart by weeks.
    • Large time period divides the chart by months.
Some input parameter features:
  • Grid color – set color for the entire grid. You can change the color of the lines belonging to a certain type only if Grid color is White (NONE is not used for technical reasons). If Grid color is equal to any other value, the entire grid will be of the specified color.
  • Use scale – consider/do not consider the chart scale.
  • Description and tooltip – the parameter is on if "Show object descriptions" option is enabled in the Common tab of the chart properties (F8).
  • Range rate – adjust the frequency of horizontal lines; the value should exceed 0 and be less than or equal to 100. The values less than 1 (for example, 0.5) reduce the range between the lines, the value of 1 leaves the range unchanged, while the values exceeding 1 increase it.
No reviews
Version 4.55 - 2016.03.31
Fixed incorrect display of the vertical scale on the quotes with different values of "Digits()"
For example: EURUSD 1.12690 (5 digits) and on another broker EURUSD 1.1269 (4 digits).
Version 4.54 - 2016.01.05
BUGLIST fixed:
- v4.41 2015.09.21 18:53:56.833 Grid EURUSD,H1: array out of range in 'Common.mqh' (90,16)
- v4.42 updated methods for creation of lines, improved performance.
- v4.52 lines foreground
- v4.53 lines selectable