BB-strategy overlays on the price chart and plots MACD lines directly across the bars. Entries trigger according to band interactions combined with momentum conditions when enabled. Positions are managed through percentage-based trailing loss tracking and optional maximum take-profit levels across multiple order slots using internal arrays. Because calc_on_every_tick is enabled, calculations evaluate and can shift intra-bar.
Bollinger Bands entry system with customizable periods
Optional RSI filter with custom threshold levels
Optional MACD histogram filter with variation logic
Multi-order management with percentage trailing exits
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
BB source
source
close
bbSource
Bollinger Bands SMA length
int
20
smaLength
Bollinger Bands StdDev length
int
2
stdLength
Trail Long Loss (%) (min: 0.0)
float
4.0
longTrailPerc
Trail Short Loss (%) (min: 0.0)
float
4.0
shortTrailPerc
Maximum orders (min: 1, max: 3)
int
2
maxOrders
Position size (min: 1, max: 100)
int
2
posSize
Use RSI
bool
false
rsiChosen
RSI source
source
close
rsiSource
RSI period
int
14
rsiPeriod
RSI value for buy
int
30
rsiBuy
RSI value for sell
int
70
rsiSell
Show all 22 settings
Setting
Type
Default
Variable
Use MACD
bool
false
macdChosen
Use MACD variation (Use MACD must be selected)
bool
false
macdVariation
MACD source
source
close
macdSource
MACD fast length
int
12
fastLen
MACD slow length
int
26
slowLen
MACD signal length
int
9
signLen
Use maximum TP long
bool
true
longMaxTpChosen
Maximum take profit long (%) (min: 0.5, max: 30.0)
float
3.0
longMaxTp
Use maximum TP short
bool
true
shortMaxTpChosen
Maximum take profit short (%) (min: 0.5, max: 30.0)
float
3.0
shortMaxTp
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.
Alert BB + RSI [Alorse] is a multi-symbol mean-reversion strategy designed for cryptocurrency trading. It evaluates Bollinger Bands and the Relative Strength Index (RSI) across up to 20 user-defined ticker symbols simultaneously. The strategy enters long posit
This strategy combines Bollinger Bands with a short RSI to fade moves that leave the bands and then return. A long requires the prior bar below the lower band and oversold, then a close back inside the band while RSI is between 30 and 50. Shorts mirror that at
Greeffer RSI Strategy is a trading strategy that generates buy and sell entries based on Bollinger Bands and RSI levels. It places stop orders at upper and lower Bollinger Bands on band crossovers, and adds positions when RSI reaches extreme levels. Users can
This strategy overlays the price chart to trade DAX futures during European market hours. It calculates exponential and simple moving averages, RSI, MACD, Bollinger Bands, ATR, and realized volatility to simulate VIX levels. Trades execute when session time fi
Calculates a combination of the Relative Strength Index, MACD histogram, and Bollinger Bands contraction to identify long trade entries. The strategy signals a long position on a bullish bar when the MACD histogram turns upward while negative, RSI remains belo
This strategy calculates a smoothed Relative Strength Index and plots self-adjusting linear regression bands with overbought and oversold boundaries in a separate pane. It enters long positions through dollar-cost averaging orders scaled across market phases a