john_everist

Volume by Session

john_everist Aggiornato   
This indicator shows volume separated by session. The aim is clarify which session a volume bar occurred in and how it compares to the average of that session - NOT ALL SESSIONS.

The logic is that there is little value comparing for example the volume of the London session against volume of the London-NY session - the London-NY will always have higher volume. But how does today's london compare to yesterdays london or the london average.

The indicator has moving averages that only consider the average of previous episodes of the same session - so the average on the london session is the average of the past 5 london sessions (NY and asia and London-NY are not included in the calculation of the MA).

The indicator goes as high as 1H timeframe and the average line does not function below 5 mins - thats a limitation on available data to calculate it.

There's also a 'dark screen' function. Thats because I like a black background so the colours need to be inverted.

Hope its useful. Good luck.

John

Note di rilascio:
I had to reduce the look back period by 50 bars because the script just stopped running
Note di rilascio:
- added the option to not show price higher/lower candle closes.
- added the option to show a simple moving average for all bars
- added the option to show/hide the session average or simple average

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?