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 need a minimum confluence score drawn from trend, RSI, volume and other checks, and are graded A plus, A, B or C, with C hidden by default. It plots an ATR or structure-based stop, three targets as risk-reward multiples and an optional trailing stop. A higher-timeframe trend filter, a high-volatility mode and presets from scalping to swing are included.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Source
source
close
sourceInput
HTF Trend Filter
timeframe
htfInput
Preset
string
Auto
presetInput
EMA Fast Length
int
9
emaFastLenInput
EMA Slow Length
int
21
emaSlowLenInput
EMA Trend Length
int
55
emaTrendLenInput
Min Confluence Score
int
5
minScoreInput
RSI Length
int
13
rsiLenInput
Signal Grade Filter
string
All
gradeFilterInput
Hide C-Grade Signals
bool
true
hideCGradeInput
High Volatility Filter
string
Skip Signals
volFilterModeInput
High-Vol SL Widening
float
1.5
volWidenFactorInput
Show all 39 settings
Setting
Type
Default
Variable
High Volatility Threshold
float
1.3
highVolThreshInput
ATR Length
int
14
atrLenInput
SL ATR Multiplier
float
1.5
slMultInput
TP1 Risk:Reward
float
1.0
tp1MultInput
TP2 Risk:Reward
float
2.0
tp2MultInput
TP3 Risk:Reward
float
3.0
tp3MultInput
Enable Trailing Stop
bool
true
useTrailInput
Full Exit at TP3
bool
true
fullExitTP3Input
Structure-Based SL
bool
true
useStructureSLInput
Swing Lookback
int
10
swingLookbackInput
Theme
string
Auto
themeInput
Show Buy/Sell Signals
bool
true
showSignalsInput
Signal Label Size
string
Small
signalSizeInput
Show TP/SL Lines
bool
true
showTPSLInput
Show EMA Ribbon
bool
true
showRibbonInput
Show Trailing Stop
bool
true
showTrailInput
Show Background Color
bool
false
showBgInput
Show Watermark
bool
true
showWatermarkInput
Show Signal Grade
bool
true
showGradeInput
Label Offset (bars)
int
20
labelOffsetInput
Show Dashboard
bool
true
showDashInput
Show Backtest Stats
bool
true
showBtDashInput
Dashboard Position
string
Top Right
dashPosStr
Webhook JSON Format
bool
false
webhookInput
Bull
color
#00E676
bullColorInput
Bear
color
#FF5252
bearColorInput
Neutral
color
#FFEB3B
neutralColorInput
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 Laguerre Filter calculates a smoothed, dynamically adjusted trendline plotted directly on the main price chart. It dynamically adjusts its damping factor (alpha) based on recent price range variations and median percentile calculations over a spec
This script plots three moving averages on the price chart: a fast EMA or SMA with 10 periods, a slow EMA or SMA with 20 periods, and a trend EMA or SMA with 100 periods. It signals trend changes by drawing a white cross when the fast moving average crosses ab
This indicator plots four customizable moving averages directly on the main price chart using default lengths of 3, 8, 21, and 50 periods. It fills the space between adjacent averages in green or maroon depending on trend alignment. Additionally, it computes B
This indicator plots three exponential moving averages and ATR volatility envelopes on the price chart. It compares the fast and slow EMAs to shade a trend ribbon and marks confirmed upward and downward crossovers with triangle labels. Settings change the thre
Donald SPX - Options Trading is an overlay indicator designed for intraday SPX analysis. It plots a 200-period Weighted Moving Average (WMA) on the price chart while evaluating multi-timeframe market structure across Daily, 15-minute, 5-minute, and 2-minute ba
This indicator computes moving average and RSI bias signals across the current timeframe and four higher timeframes. It sums biases from the MA and RSI to derive an overall bullish or bearish signal. The results appear in a configurable table that displays eac