Can I get CHART_PRICE_MAX value without opening the chart
Since there is no chart, there is no No. Bars on chart, nor starting bar index. So there is no maximum/min market price to generate a containing PRICE_MAX.
I solved the problem using iHighest and iLowest
I solved the problem using iHighest and iLowest
Which means (just for the record)... you wanted "RANGE_PRICE_MAX" (and probably in your case, range == all available bars), not CHART_PRICE_MAX.
Because CHART_PRICE_MAX refers to the maximum price within (i.e. displayed) an open chart window.
- www.mql5.com
I solved the problem using iHighest and iLowest
iHighest and iLowest will only return the shift of the highest and lowest bars, they will not return any prices.
Hi all,
To evaluate prices with graphical data I need to get CHART_PRICE_MAX value of different pairs without opening the charts
Is it possible?