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, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?