Greetings, I want to iterate through all bars of the timeframe which may not be
current on the chart e.g. the current time frame is daily, and I'd like to iterate
though hourly e.g. iTime(NULL, PERIOD_H1, i). How can I get the number of bars on the hourly chart? Using
while(true) with break when some condition met is subject to infinite looping (which
constantly happens while I am debugging causing MT crash). Thank you in advance.
- Price Data - For Advanced Users - Trading Operations
- Instant notifications and alerts in MetaTrader 5
- How to Purchase an App - Market App Store
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