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
A signal appears when price tests a level that has held before, closes back away from it with a rejection candle, and agrees with an optional 200-period EMA trend filter. Each signal draws entry, ATR-based stop and three R-multiple target lines, and a table tallies how past signals played out on the loaded chart. It places no orders.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Pivot strength (bars each side)
int
10
pivotLen
Merge tolerance (x ATR)
float
0.6
mergeMult
Strongest levels to keep per side
int
6
maxLevels
Break buffer (x ATR)
float
0.30
breakMult
Min level strength to trade (touches)
int
2
minStr
Only trade in the direction of the trend
bool
true
useTrend
Trend EMA length
int
200
trendLen
Reaction close strength (0-1 of bar range)
float
0.5
rejFrac
Min bars between signals
int
5
cooldown
ATR length
int
14
atrLen
Stop buffer beyond level (x ATR)
float
1.0
slMult
Target 1 (R multiple)
float
1.0
rr1
Show all 19 settings
Setting
Type
Default
Variable
Target 2 (R multiple)
float
2.0
rr2
Target 3 (R multiple)
float
3.0
rr3
Show levels
bool
true
showLevels
Show entry / stop / target lines
bool
true
showPlan
Show outcome tracker
bool
true
showStats
Support / long
color
#26a69a
supCol
Resistance / short
color
#ef5350
resCol
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 indicator overlays an intraday SPX and ES chart with a midnight session range, regular-trading-hours opening levels, and a VWAP projection box. It draws the midnight high, mid, and low, flags edge rejections within an absolute tolerance, and plots optiona
Apex Trend & Liquidity Master calculates a trend cloud using customizable moving averages expanded by a volatility multiplier directly on the main price chart. It identifies dynamic support and resistance liquidity zones from swing high and low pivots, extendi
Market Monitor - 1m is an overlay indicator designed for multi-chart monitoring and directional bias assessment. It plots a fast, mid, and slow EMA ribbon with a fill cloud, session VWAP with standard deviation bands, and previous day key levels. It evaluates
The Adaptive Trend Finder calculates logarithmic linear regression channels overlaid on the price chart. Operating on the most recent historical bar, it fits a log-transformed regression line and standard deviation bands. It evaluates linear correlation using
5 EMAs calculates and plots five Exponential Moving Averages derived from five configurable timeframes directly onto the main price chart. It also plots the high and low lines fetched from an additional custom timeframe, accompanied by a small on-screen table
Adaptive Supertrend is an overlay indicator that dynamically adjusts its Supertrend band width using a composite conviction score. Conviction is derived from ATR percentile ranking, trend force from EMA distance, and chop detection, narrowing the bands during