OPEN-SOURCE SCRIPT

DTR vs ATR w RVol

Actualizado
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.
Notas de prensa
Added an option to choose Smoothing for ATR
Notas de prensa
Updated some notes
Notas de prensa
Updating function to work better
Notas de prensa
cleaning up stuff
Notas de prensa
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.
Notas de prensa
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.
Notas de prensa
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.
Notas de prensa
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

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?


También en:

Exención de responsabilidad