@capitalfreedom
e.g. PERIOD_M5 is 5-minute period.
Following link have all the details. As your input will handle it all provided you have selected the favorable timeframe, actually you won't need to worry about that.
https://www.mql5.com/en/docs/constants/chartconstants/enum_timeframes