class right

This paragraph will be to the right.

Pine Script™ logo test Pine Script™ logo

Pine Script™ logo
Pine Script™ logo

Note that:

  • The time and time_close variables returns a timestamp in UNIX time, which is independent of the timezone selected by the user on his chart. In this case, the chart’s time zone setting is the exchange time zone, so whatever symbol is on the chart, its exchange time zone will be used for the display of the date and time values on the chart’s cursor. The NASDAQ’s time zone is UTC-4, but this only affects the chart’s display of date/time values; it has no impact on the values plotted by the script.
  • The last time value for the plot shown in the scale is the number of milliseconds elapsed from 00:00:00 UTC, 1 January, 1970, until the bar’s opening time. It corresponds to 17:30 on the 27th of September 2021. However, because the chart is using the UTC-4 time zone (the NASDAQ’s time zone), it is displaying the 13:30 time, four hours earlier than UTC time.
  • The difference between the two values on the last bar is the number of milliseconds in one hour (1000 * 60 * 60 = 3,600,000) because we are on a 1H chart.

Note

  • The time and time_close variables returns a timestamp in UNIX time, which is independent of the timezone selected by the user on his chart. In this case, the chart’s time zone setting is the exchange time zone, so whatever symbol is on the chart, its exchange time zone will be used for the display of the date and time values on the chart’s cursor. The NASDAQ’s time zone is UTC-4, but this only affects the chart’s display of date/time values; it has no impact on the values plotted by the script.
  • The last time value for the plot shown in the scale is the number of milliseconds elapsed from 00:00:00 UTC, 1 January, 1970, until the bar’s opening time. It corresponds to 17:30 on the 27th of September 2021. However, because the chart is using the UTC-4 time zone (the NASDAQ’s time zone), it is displaying the 13:30 time, four hours earlier than UTC time.
  • The difference between the two values on the last bar is the number of milliseconds in one hour (1000 * 60 * 60 = 3,600,000) because we are on a 1H chart.

Pine Script™ small logo with macro

|TVLogoHeader|

Tests

Alerts page with page reference below header: Alerts faq

Conditions page with page reference above header: Conditions faq

Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext Texttext

Header 1.1

Header 1.1.1

Header 1.1.1.1

file directive /etc/passwd

kbd directive ctrl + s

Animated GIF

_images/Test-GIF-01.gif

Macro tests

Inline macro here:

Before inline macro: |tvlogofooter| After inline macro

Macro here:

|tvlogofooter|

Options v: v5
Languages
en
Versions
v3
v4
v5