Amphibiantrading

ATR Candles

Amphibiantrading Mis à jour   
Average true range (ATR) is a market volatility indicator used to show the average range prices swing over a specified period.

The ATR Candles indicator has two primary functions. First, it measures a short-term ATR against a longer-term ATR to show if volatility is contracting or expanding.
Secondly, this indicator goes a step further by highlighting individual candles that exceed or fall below user selected ATR thresholds.

Moments of volatility contraction often lead to expansion and vice versa. By using the ATR Candles traders can identify potential imminent breakouts/breakdowns or healthy pullbacks vs a volatile correction.

Indicator Features
  • Selectable ATR lengths
  • Selectable threshold limits (1 contraction / 2 expansion)
  • Calculate current candles range from open / previous close / daily range
  • Custom colors
  • Show or hide every element
Notes de version:
Added option to see ATR Range Boxes.

If there is a candle that meets the requirements for an Expansion Candle there is now the option to draw a box around the range selected from your ATR source. Box will continue to extend until price breaks the top or bottom of the range.

You can also chose the maximum number of boxes to see on the chart, to only see the last box set this number to 1.

Modified TradingView's Gap indicator for the methods to create and manage the boxes.
Notes de version:
Removed the boxes from the last update to just be simple lines plotted at the open and closing price the latest expansion candle.
Notes de version:
Code clean up from last update.
Notes de version:
Update to give user choice between ATR or ADR.

Trusted Pine programmer. Send me a message for script development.
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 ?