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, shorts, or both. Exits use pips, a base value, or the opposite signal, with a risk-reward ratio and separate mintick targets. Size follows a percentage of equity, and safety orders add size after a percentage price deviation. Signals can change on the live bar.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Long/Short
string
Both
long_or_shorts
Starting Balance
float
10000.0
starting_balance
Risk Per Trade
float
1.0
risk_per_trade
Take Profit/Stop Loss Type
string
Pips
tp_sl_type
Risk Reward Ratio
float
1.0
rr_ratio
Min Profit/Loss to Close Trade
float
10.0
tpsl
Take Profit/Stop Loss Target Percentage
float
1.0
tpsl_percentage
Long Take Profit (mintick)
float
1000
long_tp
Long Stop Loss (mintick)
float
2000
long_sl
Short Take Profit (mintick)
float
1000
short_tp
Short Stop Loss (mintick)
float
2000
short_sl
Safety Order Percent
float
2
safety_order_percent
Show all 25 settings
Setting
Type
Default
Variable
Safety Order Multiplier
float
1
safety_order_mul
Safety Order Max Steps
int
5
safety_order_steps
Source
source
close
src
K
int
1
StochRSI_kvalue
D
int
1
StochRSI_dvalue
RSI Length
int
100
lengthRSI
Stochastic Length
int
100
lengthStoch
Stochastic RSI Long Signal
float
20
StochRSI_long
Stochastic RSI Short Signal
float
80
StochRSI_short
MFI Length
int
30
MFI_length
MFI Long Signal
float
20
MFI_long
MFI Short Signal
float
80
MFI_short
EMA Length
int
100
EMA_length
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 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 combines multi-timeframe RSI analysis with exponential moving average filters to execute trades on price bounces. It evaluates daily and weekly RSI levels alongside pip-distance thresholds between fast, slow, and long-term EMAs. Position entries
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 combines a Simple Moving Average (SMA) and the Relative Strength Index (RSI) to generate long trading signals. It enters a long position when price closes above the SMA filter while RSI drops below the oversold threshold. The strategy exits the p