Amphibiantrading

ATR Candles

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

Trusted Pine programmer. Send me a message for script development.
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?