New! WiseTrader Toolbox for Amibroker is now available with:
  • Advanced Adaptive Indicators
  • Advanced Pattern Exploration
  • Neural Networks
  • And Much More...
GoTo WiseTrader Toolbox

Contribute

Contribute an indicator to the library by clicking here. Note you must be logged in.

Sponsors

Popular Indicators

BB Trading for Amibroker (AFL)

3 / 5 (Votes 3)

Bollinger bands are a technical analysis tool invented by John Bollinger in the 1980s. Having evolved from the concept of trading bands, Bollinger bands can be used to measure the highness or lowness of the price relative to previous trades.

Bollinger bands consist of:

  • a middle band being an N-period simple moving average (MA)
  • an upper band at K times an N-period standard deviation above the middle band (MA + Kσ)
  • a lower band at K times an N-period standard deviation below the middle band (MA − Kσ)

Typical values for N and K are 20 and 2, respectively. The default choice for the average is a simple moving average, but other types of averages can be employed as needed. Exponential moving averages are a common second choice. Usually the same period is used for both the middle band and the calculation of standard deviation.

Here is a screenshot of how the indicator looks:
Bollinger-bands

Similar Formulas

Formula

3 Comments

A similar afl “Color Bollinger Band for Amibroker”, is available in Pastie though this one gives better signals.

Thanks for heads up but pasties are not counted towards anything and are anonymous. Its for people to have a facility to share formulas with each other and on forums.

Its very useful indicator when combined with RSI, thanks for sharing.

Please login here to leave a comment.

Main Menu

Indicators

Sponsors