MQL4参考 图表操作 Period
Returns timeframe of the current chart.
int Period();
Parameters
None.
Returned value
Period (timeframe) of the current chart (in minutes).
Example:
Print("Period ", Period());