by mphinance· code credited to mph1nance + Sam the Quant Ghost
A price-chart overlay that grades a setup from several axes: a Hull trend band with an optional EMA ribbon, Chaikin money flow strength, an ATR-based compression and expansion measure, trend age in bars, and a Williams %R exhaustion gauge.
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
Ghost Flow adds a Bounce 2.0 pullback trigger with ADX, stochastic and distance-from-EMA limits, an optional higher timeframe grade confirmation, and a realized volatility percentile lens. Confluence zones can be shaded. It does not place orders.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Source
source
close
hull_src
Hull Length
int
55
hull_len
Show Hull Band
bool
true
show_hull
Show EMA Ribbon (8/21/34/55/89)
bool
true
show_ema
CMF Length
int
20
cmf_len
Strong-Flow Threshold
float
0.10
cmf_strong
ATR Length
int
14
atr_len
Compression Baseline
int
50
sqz_base
Coil Threshold
float
0.75
sqz_coil
Expansion Ceiling
float
1.50
sqz_top
Fresh-Trend Min (bars)
int
5
mat_min
Fresh-Trend Max (bars)
int
30
mat_max
Show all 37 settings
Setting
Type
Default
Variable
Aging Cutoff (bars)
int
50
mat_late
Fast %R Length
int
21
exh_fast
Slow %R Length
int
112
exh_slow
Fast Smoothing
int
7
exh_fsm
Slow Smoothing
int
3
exh_ssm
OB/OS Threshold
int
20
exh_thr
Shade Confluence Zones
bool
true
show_zones
Enable Bounce 2.0
bool
true
b2_enable
Min ADX
float
25.0
b2_adx
Max Stoch %K (pullback zone)
float
40.0
b2_stoch
Min % from EMA21
float
-3.0
b2_lo
Max % from EMA21
float
5.0
b2_hi
Confirm on Higher Timeframe
bool
true
htf_enable
Confirmation Timeframe
timeframe
W
htf_tf
Min HTF Grade to Confirm
float
4.0
htf_min
Enable Vol-Premium Lens
bool
true
vol_enable
RV Window
int
20
rv_len
Percentile Lookback
int
252
rv_rank
Show Stop / Target on Signals
bool
true
risk_show
ATR Stop Multiple
float
2.0
risk_mult
Reward : Risk Target
float
2.0
risk_rr
Risk $ per Trade (for sizing)
float
100.0
acct_risk
Show Dashboard
bool
true
dash_on
Position
string
Top Right
dash_pos
Text Size
string
Small
dash_sz
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.
Displays a statistical summary table pinned to the top right of the price chart. It calculates key metrics including ATR percentage relative to price, high-low range percentage over a configurable bar count, relative volume compared to its simple moving averag
This overlay indicator is a companion dashboard for Bursa Malaysia stocks. It builds a table that shows Minervini trend-template conditions, VCP squeeze tightness, volume surge and contraction, price and average-volume liquidity filters, and an MCDX banker or
MTF Confluence Trend plots trend signals when conditions align across timeframes. It detects Supertrend direction flips on the chart timeframe and confirms them against a higher timeframe Supertrend. Optional filters require an ADX strength threshold and a vol
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 Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha
This indicator calculates Kaufman's Adaptive Moving Average (KAMA) on a chosen price source and determines trend direction based on the slope across a configurable lookback window. Signals can be filtered by short-term volatility expansion using ATR comparison