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
The first is an adaptive moving average that speeds up in clean trends and shows a trending or ranging read. The second draws volatility bands whose width follows the ATR percentile. The third marks swing structure breaks, order blocks and fair value gaps as zones. The fourth is a buy and sell pressure oscillator with an absorption flag. An info panel summarises state. It produces no buy or sell arrows.
Efficiency-based adaptive moving average with regime read
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
ATR length
int
14
atrLen
Enable Adaptive Trend & Regime
bool
true
m1On
Efficiency length
int
20
erLen
Fastest smoothing
int
2
fastLen
Slowest smoothing
int
30
slowLen
Trending regime threshold (0-1)
float
0.35
regimeTh
Trend up
color
#26a69a
m1Up
Trend down
color
#ef5350
m1Dn
Enable Expected-Move Bands
bool
true
m2On
Volatility percentile lookback
int
100
volLB
Base width (x ATR)
float
1.5
baseMult
Extra width in high volatility (x ATR)
float
1.5
widen
Show all 28 settings
Setting
Type
Default
Variable
Bands
color
#42a5f5
m2Col
Enable Liquidity & Structure
bool
true
m3On
Swing length
int
15
swLen
Show BOS / CHoCH
bool
true
showBos
Show Order Blocks
bool
true
showOB
Show Fair-Value Gaps
bool
true
showFVG
Order Block lookback
int
12
obLook
Max zones per type
int
8
maxZones
Bullish zone
color
#26a69a
bullCol
Bearish zone
color
#ef5350
bearCol
Enable Order-Flow Oscillator
bool
true
m4On
Pressure smoothing
int
14
flowLen
Absorption volume threshold (x average)
float
1.8
absTh
Buy pressure
color
#26a69a
m4Up
Sell pressure
color
#ef5350
m4Dn
Show info panel
bool
true
showPanel
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 plots a Supertrend-based trend-following setup in a separate pane and skips conditions it treats as a sideways market. A volatility range is built from an ATR value, with RMA, SMA, EMA, or WMA smoothing, or from a fixed point distance. Optional
This indicator combines Chaikin Money Flow (CMF), a SuperTrend baseline, and an Average True Range (ATR) calculation inside a separate sub-pane. It calculates a standard 20-period CMF plotted as a line and colored histogram columns around a zero baseline, trac
Capital41 Fusion Oscillator v3 measures multi-condition market confluence in a separate pane with a smoothed composite score ranging from 0 to 100. It evaluates four criteria: EMA trend direction, RSI oversold or overbought turns, Williams %R thresholds, and A
The Fakeout Filter indicator calculates a four-layer signal quality score ranging from 0 to 4 to evaluate trade setups. It assesses four conditions: volume expansion above a moving average multiple, alignment with a higher timeframe EMA trend, price move excee
Meridian - Futures Context is an intraday analysis indicator designed for US index futures. It measures volume participation using relative volume, calculates rolling realized volatility, and evaluates trend context through VWAP slope and EMA structures. Displ
The Directional Flow Oscillator combines momentum, cumulative volume delta, price range position, trend ratio, and relative volatility into a single bounded composite indicator. It fetches lower-timeframe volume data to calculate cumulative volume delta and no