Returns the number of seconds of the opening hour of the candlestick
Returns the number of seconds of the opening hour of the candlestick
Opening time of the current bar in the format HHMMSS in the user’s time zone.
Syntax:
1 |
OpenTime |
Year of the open of the current bar.
Syntax:
1 |
OpenYear |
Return the number of seconds of the current hour of the candlestick (same as “hour” and “minute” but for the seconds)
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:
1 |
Time[N] |
Date of the bar N-periods before the current bar (in YYYYMMDD format).
Syntax:
1 |
Today[N] |
Example:
1 2 3 4 |
//what was the date 10 days ago ? previousDate = Today[10] RETURN previousDate |
Give the year of the bar N periods before the current one.
Syntax:
1 |
Year[N] |
Give date of the day preceeding the bar N Periods before the current bar, in YYYYMMDD format.
Syntax:
1 |
Yesterday[N] |