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 trend flip produces a Long or Short signal, and the script can draw a stop at a multiple of ATR with three targets set as multiples of the risk distance. Extra layers include pivot-based liquidity zones, order blocks, a gradient fill, a trade tracker with win and loss markers, a dashboard and an optional webhook JSON format.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Efficiency Ratio Length
int
13
erLengthInput
Fast Smoothing
int
2
fastAlphaInput
Slow Smoothing
int
30
slowAlphaInput
Source
source
close
sourceInput
Band Multiplier
float
1.8
bandMultInput
Volatility Length
int
50
atrLengthInput
Show SL/TP Levels
bool
true
showSltpInput
SL (× ATR)
float
3
slMultInput
TP1 (× risk)
float
1.0
tp1MultInput
TP2 (× risk)
float
2.0
tp2MultInput
TP3 (× risk)
float
3.0
tp3MultInput
Show Liquidity Zones
bool
true
showLiqInput
Show all 30 settings
Setting
Type
Default
Variable
Pivot Lookback
int
4
liqPivotInput
Max Zones
int
15
liqMaxZonesInput
Show Order Blocks
bool
true
showOBInput
Max Order Blocks
int
10
obMaxInput
Show Signals
bool
true
showSignalsInput
Signal Label Size
string
Small
signalSizeStr
Show Gradient Fill
bool
true
showFillInput
Show Trade Tracker
bool
true
showTrackerInput
Show Win/Loss Markers
bool
true
showWinLossInput
Show Watermark
bool
true
showWatermarkInput
Theme
string
Auto
themeInput
Show Dashboard
bool
true
showDashInput
Position
string
Top Right
dashPosStr
Dashboard Font Size
string
Small
dashFontStr
Bull
color
#00E676
bullColorInput
Bear
color
#FF5252
bearColorInput
Neutral
color
#FFEB3B
neutralColorInput
Webhook JSON
bool
false
webhookInput
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 detects market accumulation phases and bottom formations over time rather than generating single-point buy signals. It evaluates five scoring components: trend loss, range formation, volatility compression, liquidity behavior, and early bullish
This technical indicator combines multiple popular analysis tools into a single price chart overlay to optimize chart space. It calculates and plots the complete Ichimoku Cloud, 50 and 200 Simple Moving Averages, and standard Bollinger Bands. Furthermore, it t
Imagegpt Test 1 is a comprehensive chart overlay indicator that plots buy, sell, and reversal signals along with supply and demand zones. It calculates key levels using volume pivots and features integrated Bollinger Bands alongside entry, exit, stop-loss, and
Market Dominance + Liquidity Sweep + OB is an overlay indicator that identifies Smart Money Concepts market structure elements directly on the price chart. It detects market dominance shifts, order blocks, order block touches, and liquidity sweeps based on con
A combined overlay with two modules for the price chart. The ATR Trend module draws a trend line from an ATR-based band, with ten choices of smoothing type, an optional fast trend, a smoothed range channel and buy and sell markers when the trend flips. The sec
A SuperTrend-style indicator built on ATR and RMA bands that prints buy and sell signals when the direction flips, optionally filtered by a 9 and 21 EMA cross. It draws two ATR-based take profit levels, background colour and a stats table that scores past sign