Hi I'm very new to EA. How to get the last open-close-high-close price of a candlestick on a specific timeframe?
https://www.mql5.com/en/docs/series/iopen
![Documentation on MQL5: Timeseries and Indicators Access / iOpen Documentation on MQL5: Timeseries and Indicators Access / iOpen](https://c.mql5.com/36/38/documentation-on-mql5-timeseries__3.png)
Documentation on MQL5: Timeseries and Indicators Access / iOpen
- www.mql5.com
The Open price of the bar (indicated by the 'shift' parameter) on the corresponding chart or 0 in case of an error. For error details, call the GetLastError() function. The function always returns actual data. For this purpose it performs a request to the timeseries for the specified symbol/period during each call. This means that if there is...
Hiệp Lê:
Hi I'm very new to EA. How to get the last open-close-high-close price of a candlestick on a specific timeframe?
Hi I'm very new to EA. How to get the last open-close-high-close price of a candlestick on a specific timeframe?
Please specify whether you are using MT4 or MT5
https://www.mql5.com/en/docs/series/iclose
https://www.mql5.com/en/docs/series/ihigh
https://www.mql5.com/en/docs/series/ilow
![Documentation on MQL5: Timeseries and Indicators Access / iClose Documentation on MQL5: Timeseries and Indicators Access / iClose](https://c.mql5.com/36/38/documentation-on-mql5-timeseries__4.png)
Documentation on MQL5: Timeseries and Indicators Access / iClose
- www.mql5.com
The Close price of the bar (indicated by the 'shift' parameter) on the corresponding chart or 0 in case of an error. For error details, call the GetLastError() function. The function always returns actual data. For this purpose it performs a request to the timeseries for the specified symbol/period during each call. This means that if there is...
Keith Watford:
I'm using MT5
Please specify whether you are using MT4 or MT5
Ahmet Metin Yilmaz:
Thanks, hope to solve problem after reading
https://www.mql5.com/en/docs/series/iclose
https://www.mql5.com/en/docs/series/ihigh
https://www.mql5.com/en/docs/series/ilow
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register