Documentation / Date and time

Returns the number of seconds of the opening hour of the candlestick

(more…)

Opening time of the current bar in the format HHMMSS in the user’s time zone.

Syntax:

 

Returns the unix timestamp of the opening of the candlestick.

(more…)

Year of the open of the current bar.

Syntax:

 

Return the number of seconds of the current hour of the candlestick (same as “hour” and “minute” but for the seconds)

(more…)

Represents the time of each bar loaded in the chart (24h format). Value may be divided by 10.000 to get the human reading : 131.500 / 10.000 = 13:15 (example of a N bar selected on the 15 minutes timeframe).

Syntax:

 

Returns the unix timestamp of the candlestick closing.

(more…)

Date of the bar N-periods before the current bar (in YYYYMMDD format).

Syntax:

 

Example:

 

Give the year of the bar N periods before the current one.

Syntax:

 

Give date of the day preceeding the bar N Periods before the current bar, in YYYYMMDD format.

Syntax:

 


Top