Bollinger Band Swing calculates trend bias by comparing the Bollinger Bands basis to a customizable moving average, such as a 200 EMA. Trade signals trigger when the bias aligns with overbought or oversold Stochastic RSI thresholds. The script also calculates ATR-based stop loss levels and shades the band background by signal or bias state. As an indicator, it provides visual reference lines and color fills without automated order execution or trade exits.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Source
source
close
src
EMA Length
int
200
maLength
Type
string
EMA
maType
Slope Lookback
int
1
maLookback
bbLength
int
21
bbLength
StdDev
float
2.0
bbMult
Fill Color
color
noColor
defaultFill
Fill Type
string
Signal
fillType
Long Bias
color
color.new(color.green, transp=80)
longFill
Short Bias
color
color.new(color.red, transp=80)
shortFill
K
int
3
smoothK
D
int
3
smoothD
Show all 17 settings
Setting
Type
Default
Variable
RSI Length
int
21
rsiLength
Stoch Length
int
14
stochLength
High
float
90
srsiHigh
Low
float
10
srsiLow
Length
int
21
atrLength
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.
ADX Strategy (original) is an overlay indicator that identifies trend-following trade signals using the Average Directional Index (ADX) combined with a Simple Moving Average filter. A long signal is generated when the ADX rises above a user-defined trend level
Double Screened Decision is a multi-timeframe trend and momentum indicator overlaid directly on the price chart. It dynamically selects a higher timeframe based on the active chart resolution to evaluate higher-timeframe MACD, Bollinger Bands, RSI, and Stochas
Index Intraday Analyst overlays CBOE cash indices such as SPX, NDX, RUT, and DJX. It plots a multi-EMA ribbon, a session-anchored TWAP with standard-deviation bands, and session levels such as prior-day high, low, and close, the opening range, and the high and
RePaNoCHa V4 is an overlay alert indicator that plots a Tillson T3 moving average on the price chart and colors it by whether the line is rising or falling. It combines that slope with a range filter, ADX, parabolic SAR, RSI, and MACD to mark long and short si
This indicator plots an exponential moving average and marks momentum-based trade sessions on the price chart. It treats RSI between 45 and 55 as chop and shades the background when momentum is present. Long and short labels appear when MACD crosses its signal
Combines the Kijun-Sen baseline, SSL channel crossovers, and Waddah Attar Explosion momentum calculations to generate directional trade signals. The indicator plots the Kijun-Sen and SSL lines directly on the price chart. When price aligns relative to the Kiju