OPEN-SOURCE SCRIPT

Anchored Bollinger Band Range [SS]

1 015
This is the anchored Bollinger band indicator.

What it does?

The anchored BB indicator:
  • Takes a user defined range and calculates the Standard Deviation of the entire selected range for the high and low values.
  • Computes a moving average of the high and low during the selected period (which later becomes the breakout range average)
  • Anchors to the last high and last low of the period range to add up to 4 standard deviations to the upside and downside, giving you 4 high and low targets.


How can you use it?

The anchored BB indicator has many applicable uses, including

  • Identifying daily ranges based on premarket trading activity (see below):
    istantanea
  • Finding breakout ranges for intraday pattern setups (see below):

    Identified pattern of interest:
    istantanea

    Applying Anchored BB:
    istantanea
  • Identifying daily or pattern biases based on the position to the opening breakout range average (blue line). See the examples with explanations:

    ex#1:
    istantanea

    ex#2:
    istantanea


The Opening Breakout Average

As you saw in the examples above, the blue line represents the opening breakout range average.
This is the average high of the period of interest and the average low of the period of interest.
Price action above this line would be considered Bullish, and Bearish if below.

This also acts as a retracement zone in non-trending markets. For example:
istantanea


Best Use Cases

  • Identify breakout ranges for patterns on larger timeframes. For example

    istantanea
    This pattern on SPY, if we overlay the Anchored BB:
    istantanea

    You want to see it actually breakout from this range and hold to confirm a breakout. Failure to exceed the BB range, means that it is just ranging with no real breakout momentum.

  • Identify conservative ranges for a specific period in time, for example QQQ:

    istantanea


Worst Use Cases

  • Using it as a hard and fast support and resistance indicator. This is not what it is for and ranges can be exceeded with momentum. The key is looking for whether ranges are exceeded (i.e. high momentum, thus breakout play) or they are not (thus low volume, rangy).

  • Using it for longer term outlooks. This is not ideal for long term ranges, as with any Bollinger/standard deviation based approach, it is only responsive to CURRENT PA and cannot forecast FUTURE PA.




User Inputs

The indicator is really straight forward. There are 2 optional inputs and 1 required input.

  • Period Selection: Required. Selects the period for the indicator to perform the analysis on. You just select it with your mouse on the chart.

  • Visible MA: Optional. You can choose to have the breakout range moving average visible or not.

  • Fills: Optional. You can choose to have the fills plotted or not.



And that is the indicator! Very easy to use and hope you enjoy and find it helpful!

As always, safe trades everyone! 🚀

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.