vnhilton

ADR + IDR [vnhilton]

vnhilton Mis à jour   
Average Day Range (ADR) is an indicator that calculates the average range of high to low of the candles for a set period of time. This is more useful for intraday trading, where, on an average day, you'd expect price to trade in a range similar to the ADR. This indicator also includes an Intraday Day Range (IDR), which can be used to track progress of the intraday range. By default, IDR is in multiplier form i.e. if it's 2, then the day has traded at a range twice as large as the ADR (you have the option to change IDR to price form if you wish). Therefore, IDR can also be used to measure intraday volatility (as well as taking profit & perhaps fading false breakouts when IDR is at 1x, 1.5x, 2x, etc.) by seeing if today is above/below/at average. This means that this indicator is intended for intraday use, but can be used up to the daily timeframe.

(ADR & IDR values can be seen in the top left)

The indicator also plots intraday high & low levels so when price trades near these levels then the indicator can become of use (if price trades far away from these levels, then you don't need to pay any attention to the indicator).

We can see in the chart snapshot image above for BTCUSDT, its 10 period ADR is 1149.37, & IDR is 0.52 (just over 50% of the ADR) as of 21:40 BST, meaning that BTCUSDT price range today is lower than average.

You may notice that the intraday high & low isn't touching the intraday high & low lines respectively on instruments that isn't cryptocurrencies nor forex pairs. To solve this problem, you would have to get extra market data from TradingView, or to integrate your broker with TradingView to pass along your broker's data feed (provided your broker also has real-time data - if not you may need to get extra market data via the broker.
Notes de version:
- Added 25%,50%,75% lines in-between intraday high & low. To set custom percentages, modify the percentage value in the code (Note the percentage distance starts from the intraday low up).
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?