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 indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
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
Buy and sell signals are filtered by RSI levels, minimum ADX, relative volume and a smart range filter that avoids small or ranging markets using ATR-scaled EMA separation, trend efficiency and net move. Each filter can be toggled and thresholds adjusted. A range warning can be shown. The file is a text extract and may contain repeated inputs.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
EMA 9 Length
int
9
len9
EMA 21 Length
int
21
len21
EMA 50 Length
int
50
len50
SMA 200 Length
int
200
len200
Show 9/21 EMA Cloud
bool
true
showCloud9_21
Show 21/50 EMA Cloud
bool
true
showCloud21_50
Show 50/200 Cloud
bool
true
showCloud50_200
Use RSI
bool
true
useRSI
RSI Length
int
14
rsiLength
BUY RSI Level
float
55
buyRSI
SELL RSI Level
float
45
sellRSI
Use ADX
bool
true
useADX
Show all 40 settings
Setting
Type
Default
Variable
DI Length
int
14
diLength
ADX Smoothing
int
14
adxSmoothing
Minimum ADX
float
20
minimumADX
Use Volume
bool
true
useVolume
Volume SMA Length
int
20
volumeLength
Relative Volume
float
1.10
relativeVolume
Avoid Small / Ranging Markets
bool
true
useRangeFilter
ATR Length
int
14
atrLength
Minimum EMA 9/21 Separation
float
0.12
minEMA9_21_ATR
Minimum EMA 21/50 Separation
float
0.10
minEMA21_50_ATR
Range Detection Lookback
int
12
rangeLookback
Minimum Trend Efficiency
float
0.28
minEfficiency
Minimum Net Move (ATR)
float
0.60
minNetMoveATR
Require ADX Rising
bool
true
requireADXIncreasing
Show Range Warning
bool
false
showRangeWarning
EMA 9 Length
int
9
len9
EMA 21 Length
int
21
len21
EMA 50 Length
int
50
len50
SMA 200 Length
int
200
len200
Show 9/21 EMA Cloud
bool
true
showCloud9_21
Show 21/50 EMA Cloud
bool
true
showCloud21_50
Show 50/200 Cloud
bool
true
showCloud50_200
Use RSI
bool
true
useRSI
RSI Length
int
14
rsiLength
BUY RSI Level
float
55.0
buyRSI
SELL RSI Level
float
45.0
sellRSI
Use ADX
bool
true
useADX
DI Length
int
14
diLength
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.
The Adaptive RSI Moving Average (ARSIMA) is an overlay indicator that dynamically adjusts its smoothing factor based on the Relative Strength Index (RSI). When the RSI moves toward extreme overbought or oversold conditions, the smoothing factor increases to ma
TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi
Calculates market regime conditions by combining RSI, MACD, and ADX/DMI indicators. It evaluates whether the market is in a strong bullish, strong bearish, neutral, or non-trending regime. The script plots a colored line overlaying the close price to reflect t
This indicator plots an adaptive moving average or scaled RSI divergence line directly on the price chart. It calculates dual RSI series to measure momentum divergence, scales the values to the chart's price range, and constructs an adaptive average filtered b
This indicator generates trend-following trade signals on the price chart by combining moving average crossovers with multi-factor filters. It triggers entry alerts when fast and slow EMAs cross in the direction of a baseline trend EMA, confirmed by non-extrem
Double Screened Decision is a multi-timeframe trend and momentum indicator overlaid directly on the price chart. It dynamically selects a higher timeframe based on the active chart resolution to evaluate higher-timeframe MACD, Bollinger Bands, RSI, and Stochas