PERIOD_H1 is defined as 60, M15=15 They are equivalent.
FourX:
When specifying TimeFrame Constants are either the TimeFrame Enumeration Values such as 'PERIOD_H1' OR '60' (minutes) both valid and interchangable?
All constants are replaced by their value at the pre-processor phase of compilation (https://docs.mql4.com/basis/preprosessor/constant). The result is identical. Constants are just used to make code more readable...
Thanks Gordon

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
When specifying TimeFrame Constants are either the TimeFrame Enumeration Values such as 'PERIOD_H1' OR '60' (minutes) both valid and interchangable?