JRS,
In order to get bar data you should use de "indicators" iLow , iHigh, iOpen, iClose , iTime.
In the example below you will see in the "expert" tab the Low value and the time for EURUSD 30 days back.
This information must be in the local history.
Print( iLow("EURUSD", PERIOD_D1, 30 ) );
Print( TimeToStr( iTime("USDCHF", PERIOD_D1, 30) ) );
Hope this help
Matias Romeo
Custom Metatrader Systems
matiasdotromeoatgmail.com
In order to get bar data you should use de "indicators" iLow , iHigh, iOpen, iClose , iTime.
In the example below you will see in the "expert" tab the Low value and the time for EURUSD 30 days back.
This information must be in the local history.
Print( iLow("EURUSD", PERIOD_D1, 30 ) );
Print( TimeToStr( iTime("USDCHF", PERIOD_D1, 30) ) );
Hope this help
Matias Romeo
Custom Metatrader Systems
matiasdotromeoatgmail.com
JRS,
iLow/iHigh are only available in MT4.
Sorry.
Matias Romeo
Custom Metatrader Systems
matiasdotromeoatgmail.com
iLow/iHigh are only available in MT4.
Sorry.
Matias Romeo
Custom Metatrader Systems
matiasdotromeoatgmail.com
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
Likewise, is it possible to do so with current spread data (referencing the current bid/ask for other symbols)?
I should point out that I need this info for both realtime and for historical testing (so MarketInfo() may not work with historical chart data...I think. You tell me.)
Thanks