A strategy that scores signals from ten sources: RSI, MACD, Bollinger Bands, head and shoulders, wedges, multiple tops and bottoms, candlestick reversals, pivot support and resistance, volume spikes and an EMA ribbon filter.
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
A trade needs a minimum pattern score, optionally with volume confirmation. Each source can be switched off, position size is a percent of equity with an ATR length and risk percentage input, and an auto-adjust option changes parameters from recent results. It draws on the price chart.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Enable Auto-Optimization
bool
true
enableAutoOptimize
Auto-Opt Lookback Bars
int
20
autoOptWindow
Enable Batch Adjustment Panel
bool
true
enableBatching
Use RSI Signals
bool
true
useRSI
Use MACD Signals
bool
true
useMACD
Use Bollinger Bands
bool
true
useBB
Use Head & Shoulders
bool
true
useHS
Use Wedges
bool
true
useWedges
Use Multi-Tops/Bottoms
bool
true
useMultiTops
Use Candlestick Patterns
bool
true
useCandles
Use Support/Resistance
bool
true
usePivots
Use Volume Signals
bool
true
useVolume
Show all 34 settings
Setting
Type
Default
Variable
Use EMA Ribbon Filter
bool
true
useEMAFilter
RSI Length
int
14
rsiLen
RSI Overbought
float
70
rsiOB
RSI Oversold
float
30
rsiOS
MACD Fast
int
12
macdFast
MACD Slow
int
26
macdSlow
MACD Signal
int
9
macdSig
BB Length
int
20
bbLen
BB Std Dev
float
2.0
bbMult
HS Left Bars
int
10
hsLeftBars
HS Right Bars
int
10
hsRightBars
HS Shoulder Tolerance %
float
0.15
hsTolerance
Wedge Min Points
int
3
wedgeMinPts
Min Pattern Score
int
2
minConfScore
Confirm with Volume
bool
true
useVolumeConf
Volume Spike Multiplier
float
1.3
volMult
Risk per Trade %
float
2.0
accountRiskPct
ATR Length
int
14
atrLen
ATR Stop Multiplier
float
1.5
atrMult
Show Pattern Labels
bool
true
showLabels
Show Dashboard
bool
true
showDash
Show Signal Markers
bool
true
showSignals
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.
KC15 is a price-chart strategy that configures two moving averages, a Bollinger Band Width Percentile filter, and PMARP entry and exit thresholds for long and short trades. Users can switch each average between SMA and EMA, set lengths and colors, and toggle l
This strategy calculates double-smoothed Heikin Ashi candles and plots them directly on the price chart alongside a smoothed Relative Strength Index. It evaluates market conditions against external volatility data from an inverse symbol, generating long and sh
Box Scalper v4 is a strategy that plots buy and sell signals on the price chart using ADX trend filters, QQE momentum oscillator, and BOX channels. It signals entries based on crossovers and zone conditions, with trailing stop loss and take profit targets. Par
Liquidity Sweep Scalper v2 is a scalping strategy that detects liquidity sweeps using Supertrend trend filters, Bollinger Bands for volatility, Williams Fractals for pivots, and MACD momentum. It enters on rejection candle breaks after sweeps and exits via sto
This strategy combines RSI extreme condition filters with engulfing candlestick patterns to identify reversal entries. It opens positions on confirmed bars when an overbought or oversold RSI aligns with a bullish or bearish engulfing pattern. Stop losses are c
XAUUSD Strategy V4.17 is a Pine Script strategy that plots buy and sell signals on the gold price chart using Stochastic oscillator, RSI, EMA trend filters, Fibonacci zones, and ATR-based risk management. It supports confirm-only, confirm+scalp, or scalp-only