Download MetaTrader 5
To add comments, please log in or register
Post web links to other trader's signals and make profit
Alex
80
Alex 2015.08.09 00:21 

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? 

Alain Verleyen
Moderator
29662
Alain Verleyen 2015.08.09 09:25  
WindowPriceMax(), WindowPriceMin().
Alex
80
Alex 2015.08.10 02:52  
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)

/
To add comments, please log in or register