This strategy calculates a simple moving average basis flanked by three upper and three lower volatility bands scaled using Fibonacci ratios of the Average True Range.
Bollinger Bands Fibonacci Ratios enters long when the bar intersects a chosen target band and enters short when price touches the opposing target band. Users can configure the moving average period, ATR ratios, target bands, and reverse the trigger direction. Plotted on the main price chart, the strategy relies solely on opposing entry signals to flip positions, operating without stop loss or take profit orders.
Fibonacci-scaled ATR volatility bands
Configurable ratio multipliers
Selectable long and short execution bands
Signal reversal options for mean reversion or trend following
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Length
int
20
length
Source
source
close
src
Offset
int
0
offset
Fibonacci Ratio 1
float
1.618
fibo1
Fibonacci Ratio 2
float
2.618
fibo2
Fibonacci Ratio 3
float
4.236
fibo3
Use Reverse Buy?
bool
false
fiboBuyReverse
Fibonacci Buy
string
Fibo 1
fiboBuy
Use Reverse Sell?
bool
false
fiboSellReverse
Fibonacci Sell
string
Fibo 1
fiboSell
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
Calculates standard Bollinger Bands and identifies band expansion breakouts where upper and lower bands move in opposite directions. It enters long positions when price breaks above the upper band with a high candle body percentage, and enters short positions
The Mean Reversion Strategy Template calculates a baseline mean using SMA, EMA, or VWAP alongside upper and lower deviation bands based on standard deviation, ATR, or percentage offsets. It generates long and short entries when price touches, bounces from, or
This price-chart strategy plots a simple moving average and upper and lower bands built from the standard deviation of close, scaled by separate offset inputs. It enters a fixed quantity long when close crosses above the upper band and a fixed quantity short w
This strategy generates buy and sell signals based on Bollinger Band crossovers combined with a simple moving average trend filter. It enters a long position when price crosses above the lower band while trading above the SMA filter line, and enters a short po
This strategy trades long breakouts of a fast and a slow moving average on the price chart. It opens a long position when price crosses above either average, using a percentage of equity as size. It reduces the position by a set share when the high reaches the
This strategy plots exponential-moving-average Bollinger bands on the price chart and calculates RSI. It opens a long position when close crosses above the upper band while RSI is at or above a threshold, the date filter allows trading, and no position is open