vnhilton

ADR + IDR [vnhilton]

vnhilton Atualizado   
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.
Notas de Lançamento:
- 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 de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?