MQL4 Reference Chart Operations Period

MQL4 Help as One File:

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());