OPEN-SOURCE SCRIPT

Fibonacci Bollinger Bands (FBB)

The Fibonacci Moving Average (FMA) is an indicator for financial markets that is calculated using the Fibonacci sequence and the metallic mean. The metallic mean is a type of average that is calculated by adding the source and the square root of the sum of the square of the source and 4, and then dividing the result by 2. The FMA is then calculated by using the metallic mean of the source as the weight for each period in the given length, and summing these weighted values. The standard deviation of the metallic mean of the source is also calculated using the FMA over the given length.

Users can input the source data and the length for the FMA calculation, as well as a series of boolean values to determine which levels of the FMA to plot on the chart. The levels include the standard deviation of the metallic mean of the source, as well as various multiples of the Fibonacci ratios between 0 and 2.618. The resulting FMA and standard deviation values can be plotted on the chart to help traders identify trends and potential entry and exit points in the market.
snapshot
Bollinger Bands (BB)Moving Averages

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer