MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Window functions  Period

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
int Period( )
Returns the amount of minutes determining the used period (chart timeframe).
Sample:
  Print("Period is ", Period());