MQL4 Reference Chart Operations ChartPeriod
|
ChartPeriodReturns the timeframe period of specified chart.
Parameters chart_id=0 [in] Chart ID. 0 means the current chart. Return Value The function returns one of the ENUM_TIMEFRAMES values. If chart does not exist, it returns 0. |