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
Inputs cover an 8, 21 and 50 EMA ribbon, a higher-timeframe EMA trend check using previous-bar values, RSI, MACD, Stochastic RSI, ADX, a volume spike test and optional London and New York session filters. A minimum score must be met to enter. Stop loss and take profit are ATR multiples, and size is a percent of equity with commission and slippage set. It is a personal learning script.
Score-based entries from EMA, RSI, MACD, Stoch RSI, ADX and volume
Higher-timeframe trend confirmation using closed bars
London and New York session filter
ATR-based stop loss and take profit
Percent-of-equity sizing with commission and slippage
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
EMA 1
int
8
e1
EMA 2
int
21
e2
EMA 3 (Trend)
int
50
e3
HTF Confirmation
timeframe
15
htf1
Length
int
14
rsiLen
Overbought
int
70
rsiOB
Oversold
int
30
rsiOS
Bull Min
int
55
rsiBull
Bear Max
int
45
rsiBear
Fast
int
8
mFast
Slow
int
17
mSlow
Signal
int
9
mSig
Show all 26 settings
Setting
Type
Default
Variable
RSI Len
int
14
stRsiLen
Stoch Len
int
14
stLen
K Smooth
int
3
stKs
D Smooth
int
3
stDs
ATR Length
int
14
atrLen
SL Mult
float
1.2
slMult
TP Mult
float
2.5
tpMult
Volume Spike Mult
float
1.5
volMult
ADX Length
int
14
adxLen
ADX Min Trend
int
22
adxMin
Session Filter
bool
true
sessionFlt
Min Score (0-8)
int
5
minScore
London
session
0300-1100
londonOpen
New York
session
0800-1600
nyOpen
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 strategy generates trading signals on the 5-minute price chart using Williams Fractals for trend reversals, combined with EMA fast and slow trend filters and optional RSI confirmation. Long entries trigger on bullish fractals aligned with rising EMA and R
This strategy trades EUR/USD on the price chart using a fast and slow exponential moving average crossover filtered by RSI. It enters long when the fast EMA crosses above the slow EMA while RSI is above 50 and below the overbought level, and enters short on th
LuxAlgo Hybrid Gold Scalper is a price-chart strategy aimed at gold. It stacks a fast, slow, trend and 200-period bias EMA to mark trend direction, then filters strength with RSI, ADX and an intraday VWAP. Swing highs and lows are marked from pivot length. Set
This trend-following scalping strategy combines a moving average trend filter with the Absolute Strength Histogram indicator. It opens long positions when price is above a selectable baseline moving average and the histogram signals bullish momentum, and short
This long-only strategy calculates three exponential moving averages with lengths of 50, 100, and 150 periods, plotting them directly on the price chart. It also calculates a 14-period RSI and MACD. The strategy opens long positions when the moving averages al
This strategy draws on the price chart and combines a momentum zigzag, a custom QQE built from RSI, ADX directional strength, an SSL filter, and a coefficient-of-variation weighted average. Box period, deviation, and threshold inputs set the box filter, while