john_everist

Volume by Session

john_everist 已更新   
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

版本注释:
I had to reduce the look back period by 50 bars because the script just stopped running
版本注释:
- 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

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?