Amphibiantrading

ATR Candles

Amphibiantrading Aktualisiert   
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
Versionshinweise:
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.
Versionshinweise:
Removed the boxes from the last update to just be simple lines plotted at the open and closing price the latest expansion candle.
Versionshinweise:
Code clean up from last update.
Versionshinweise:
Update to give user choice between ATR or ADR.

Trusted Pine programmer. Send me a message for script development.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?