PeriodSeconds Function
Overview
Returns the number of seconds in a specified chart period.Signature
int PeriodSeconds(ENUM_TIMEFRAMES period = PERIOD_CURRENT);
Parameters
period (ENUM_TIMEFRAMES, optional): The chart period. Defaults to PERIOD_CURRENT, which uses the period of the chart the program is running on.Return Value
int: The number of seconds in the specified period.Related Functions
_PeriodMessageBoxPlaySoundConstants
ENUM_TIMEFRAMES (Chart Periods)Platform Support
Previous
arrow_back
Messagebox