Download MetaTrader 5

What is the difference among PERIOD_CURRENT,Periond(),_Period

To add comments, please log in or register
OldZ
53
OldZ 2010.05.13 07:42 

 1

PERIOD_CURRENT

All predefined timeframes of charts have unique identifiers. The PERIOD_CURRENT identifier means the current period of a chart, at which a mql5-program is running.

2

ENUM_TIMEFRAMES  Period();       Returns the current chart timeframe

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

 

 What is the difference ?

Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Chart Timeframes
  • www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Chart Timeframes - Documentation on MQL5
To add comments, please log in or register