Size of grid

 

Hi,

 

Is it possible to get number of points that the height of 1 grid unit represents? If not is it possible to get the min & max price represented in the chart? 

 
WindowPriceMax(), WindowPriceMin().
 
Alain Verleyen:
WindowPriceMax(), WindowPriceMin().

Hi Alain,

It appears that WindowPriceMax() & WindowPriceMin() are for mql4. I was trying to use CChart#PriceMin() & CChart#PriceMax() but it was reporting a double to 308 decimal places.

I managed to find what I was looking for using ChartGetDouble(0, CHART_PRICE_MIN) & ChartGetDouble(0, CHART_PRICE_MAX)

Reason: