hermes_trisme

HT: Intraday Levels

hermes_trisme Aggiornato   
Indicator draws several most important intraday levels: last day RTH high/low, ETH high/low, Half Back, Day Close and current day RTH Day Open. These levels often act as support/resistance for intraday price movements. Also, they can help to assess day character and control of power.
Indicator can be used for ETH + RTH sessions.

Important notes:
• User must specify RTH session time, appropriate for his time zone and exchange
• Half-back is calculated as a middle line between RTH High and Low.
• Day Close is always equal to close of the last bar of the previous day
• RTH Day Open will be redrawn for the current day as soon as it is known (after RTH session opens and at least one bar gets confirmed).

Known issues:
• Day open will not be shown if there is no bar, clearly corresponding to RTH open time (e.g. if 4h timeframe is selected)
• For some ETH sessions it is not possible to determine session’s last bar (this is pine script limitation) until next day trading starts. This means that daily levels will be also update with only then.

Parameters:
Date – user can select date, for which levels will be plotted. Works only if “Use” check box is on. Otherwise, levels will be plotted for the last day. (“time” value doesn’t matter; unfortunately, there is no way to hide the input box)
RTH Open/Close time – it is important to specify time, appropriate for your time zone.
Time zone – your chart time zone (as UTC offset)
Visuals – controls visibility and colors

Script is published as an open source. It uses two libraries: Levels Lib and Functions Lib. First one demonstrates how to work with pine-script object model and arrays. You can also reuse it in your custom scripts where there is need to construct any support/resistance levels. The second library contains some useful functions for working with time and dates.

Disclaimer
This indicator should not be used as a standalone tool to make trading decisions but only in conjunction with other technical analysis methods.
Note di rilascio:
UPD 1.1: minor fixes

Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?