This strategy combines nine technical indicators including RSI, SuperTrend, MACD, Triple EMA, Bollinger Bands, Ichimoku, HMA, Swing Failure Pattern, and Z-Score.
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
Each indicator votes on long or short direction, with a Dynamic mode that weights votes based on market conditions such as trend or range. It enters trades when votes reach majority agreement and applies a trend bias filter to counter-trend signals. Take profit and stop loss can be fixed percentages or auto-scaled using ATR volatility. The strategy draws signals directly on the price chart with overlay mode and supports entry grace periods to reduce false stops.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Strategy Mode
string
MODE_DYNAMIC
strategyMode
Use Take Profit / Stop Loss
bool
true
useTPSL
TP/SL Mode
string
TPSL_SMART
tpslMode
Fixed TP %
float
3.0
fixedTP
Fixed SL %
float
2.0
fixedSL
Smart TP (x ATR%)
float
1.5
smartTPMult
Smart SL (x ATR%)
float
1.0
smartSLMult
Manual TP (ATR x)
float
2.5
manualTPMult
Manual SL (ATR x)
float
1.25
manualSLMult
Auto-Scale ATR by Timeframe
bool
true
useAutoScale
Trend Bias Filter
bool
true
useTrendBias
Entry Grace Period (bars)
int
3
graceBars
Show all 40 settings
Setting
Type
Default
Variable
Volume Filter
bool
false
useVolFilter
Volume Threshold (x avg)
float
1.2
volThreshold
ADX Period
int
14
adxPeriod
ADX Trend Threshold
int
25
adxTrendThr
ADX Range Threshold
int
15
adxRangeThr
RSI Length
int
2
rsiLen
RSI Oversold
int
30
rsiOS
RSI Overbought
int
70
rsiOB
Use 200 EMA Trend Filter
bool
true
useTrendFilt
SuperTrend Factor
float
3.0
stFactor
SuperTrend ATR Period
int
10
stATRPeriod
MACD Fast
int
12
macdFast
MACD Slow
int
26
macdSlow
MACD Signal
int
9
macdSig
Fast EMA
int
9
emaFast
Medium EMA
int
21
emaMed
Slow EMA
int
50
emaSlow
BB Length
int
20
bbLen
BB Multiplier
float
2.0
bbMult
Tenkan Period
int
9
ichiTenkan
Kijun Period
int
26
ichiKijun
Senkou B Period
int
52
ichiSenkou
HMA Period
int
50
hmaPeriod
SFP Swing Lookback
int
20
sfpLookback
SFP Min Wick Ratio
float
0.25
sfpWickRatio
Z-Score Period
int
20
zscorePeriod
Z-Score Entry Threshold
float
2.0
zscoreEntry
Min Confirmations (Multi)
int
3
minConfirm
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.
BVortex Strategy v1 calculates a scaled Vortex Indicator difference to detect overbought and oversold conditions relative to predefined upper and lower thresholds. It filters entries using market trend direction established by confirmed swing pivot highs and l
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
Mean Reversion Strategy is an overlay strategy that identifies pullbacks using a long-term EMA, RSI, and candlestick patterns. It generates long signals when a bullish engulfing candle forms below the EMA while RSI is oversold, and short signals when a bearish
Sick Sigma detects extreme statistical standard deviation moves (sigma events) to execute trades directly on the main price chart. The strategy supports both momentum and mean-reversion trading styles. Traders can configure calculation lookback periods, sigma
This trading strategy combines three Exponential Moving Averages (8, 14, and 50 periods by default) with Stochastic RSI and Average True Range (ATR). It enters a long position when EMA 1 is above EMA 2, EMA 2 is above EMA 3, and the Stochastic RSI %K line cros
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