1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
SSE Index RSI Bounce Strategy - Enhanced evaluates daily and weekly RSI levels alongside pip-distance thresholds between fast, slow, and long-term EMAs. Position entries are conditioned on EMA alignment and price proximity requirements, while partial exits trigger when the daily RSI reaches overbought territory. Users can adjust RSI boundaries, position sizing percentages, EMA periods, and pip thresholds. It overlays directly on the price chart. Notable risk factors include high pyramiding limits and an absence of built-in stop-loss controls.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
RSI Length
int
17
rsi_length
RSI Oversold Level
int
27
rsi_oversold
RSI Overbought Level
int
86
rsi_overbought
EMA Length
int
177
ema_length
Weekly Signal Position Size (%)
float
14.0
weekly_position_size
Daily Signal Position Size (%)
float
11.0
daily_position_size
Partial Exit Percentage on Daily RSI Overbought (%)
float
41.0
partial_exit_percent
EMA Distance Threshold (Pips)
float
16.0
ema_distance_threshold
EMA Distance Position Size (%)
float
53
ema_distance_position_size
Fast EMA Length
int
21
fast_ema_length
Slow EMA Length
int
55
slow_ema_length
EMA Alignment Threshold (Pips)
float
15000.0
ema_alignment_threshold
Show all 16 settings
Setting
Type
Default
Variable
EMA Alignment Direction
string
both
ema_alignment_direction
Price Proximity Threshold (Pips)
float
535.0
price_proximity_threshold
EMA Exit Period
int
34
ema_exit_period
Require Volume Confirmation for EMA Exit
bool
true
enable_volume_confirmation
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.
This mean-reversion strategy combines multi-timeframe exponential moving averages, Bollinger Bands, and the Relative Strength Index. It generates long and optional short trade signals when price interacts with the Bollinger Bands alongside RSI threshold confir
This strategy draws on the price chart and combines Stochastic RSI, the Money Flow Index, and an exponential moving average to open long or short trades. Longs use the lower oscillator thresholds and shorts use the upper ones, with direction limited to longs,
This strategy implements Larry Connors' 2-period RSI mean-reversion algorithm overlaid on the price chart. It filters trades using a long-term Simple Moving Average (SMA), entering long positions when the price trades above the SMA and the short-term RSI drops
This strategy plots on the price chart and trades fair value gaps filtered by RSI and two EMAs. It opens a long when a bullish gap, a rising candle, RSI below the oversold level, and price under both EMAs align, and a short on the opposite conditions. Each tra
Burgle Bounce is a price-chart strategy that treats a move toward one of up to four simple or exponential moving averages as a test when price comes within a user-set percentage of ATR, then exits toward a target average under a separate error margin. Longs an
This strategy plots a simple moving average basis and upper and lower Bollinger bands on the price chart, with a fill between the bands. It also calculates RSI. It opens one long trade when RSI is above 25, price is at or below the lower band, and no position