MQL4 Reference Predefined Variables _Period

MQL4 Help as One File:

int _Period

The _Period variable contains the value of the timeframe of the current chart.

Also you may use the Period() function.

See also

PeriodSeconds(), Chart timeframes, Date and Time, Visibility of objects