TimeFrames: Are both the Enumeration Values OR using the equivilant # of minutes both valid?

 

When specifying TimeFrame Constants are either the TimeFrame Enumeration Values such as 'PERIOD_H1' OR '60' (minutes) both valid and interchangable?

 
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