OPEN-SOURCE SCRIPT

DTR vs ATR w RVol

Обновлено
DTR vs ART along with Relative Volume in Percentage. So if you see RVol as 200% with input length of 10 days, today's volume is 2x compared to past 10 days. It helps if today's volume is already reached 20% or 30% within 30mins of market open, etc.
Информация о релизе
Added an option to choose Smoothing for ATR
Информация о релизе
Updated some notes
Информация о релизе
Updating function to work better
Информация о релизе
cleaning up stuff
Информация о релизе
There was a mis-calculation on the script where if you change chart resolution, the RVol changes. But the intention of this script is, both DTR vs ATR value and RVol should be same for the day whether you're on 1Hr chart or 3min chart or Daily chart. The idea is, we want to see what is today's DTR vs ATR and what is today's Relative Volume.
Информация о релизе
Update Notes:
Couple of features added:
1. When chart resolution is Daily or Intraday (D, 4H, 1H, 5min, etc), both True Range and Relative Volume shows value based on DAILY.
2. When resolution is changed to Weekly or Monthly, then both True Range and Relative Volume shows corresponding value. i.e. Weekly shows weekly true range vs past 'N' weekly ATR. Weekly Relative Volume shows relative volume of this week compared to past 'N' weeks. Likewise for Monthly. You would see change in label name. Like, Weekly chart shows WTR (Weekly True Range) and W_RVol (Weekly Relative Volume). Likewise, Daily & Intraday shows DTR & D_RVol. Monthly shows MTR (Monthly True Range) and M_RVol (Monthly Relative Volume).
3. Added a plot (by default hidden) for this specific reason: When you move the cursor to focus specific candle, then Indicator Value displays relative volume of that specific candle. This applies to Intraday as well. So if you're in 1HR chart and move the cursor to a specific candle, Indicator Value shows relative volume for that specific candlestick bar.

Hope you find this useful.
Информация о релизе
Introducing Table with this release. Here are the features:
1. You can choose location of the panel/table from settings
2. You can choose to hide table Header

If you still like to use older version (label), I think you can still change to previous version of this script.

Hope this helps with multiple charts layout as well.
Информация о релизе
Per request from my followers, I have updated this script so that you can choose location of the table and text size. In addition to that, you can enable/disable table title.

Here is the supported text size: "auto", "tiny", "small", "normal", "large", "huge"
ATRAverage True Range (ATR)DTRMTRrelativevolumervolVolume IndicatorWTR

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

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


Мои профили:

Отказ от ответственности