by mphinance· code credited to mph1nance + Sam the Quant Ghost
A dashboard-style overlay meant to be added next to another indicator, showing a structured information panel of trend, volatility and momentum readings on the price chart.
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 x Gemini draws on Hull trend, TRAMA, Keltner bands, swing structure, Williams %R exhaustion, squeeze, historical volatility with a rank, and an ATR-based trailing level. Inputs set panel position and text size, and each component length. The panel is arranged so a person or assistant can read it, and it carries no order logic.
Information panel with selectable position and size
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Auto-adapt to timeframe
bool
true
auto_adapt
Position
string
Top Right
dash_pos
Text Size
string
Small
dash_size
Source
source
close
hull_src
Variation
string
Hma
hull_mode
Length
int
55
hull_len_man
Length
int
34
trama_len_man
Source
source
close
trama_src
EMA Length
int
21
kc_len_man
ATR Length
int
14
kc_atr_man
ATR Mult
float
2.0
kc_mult
Swing Length
int
5
brk_swing_man
Show all 22 settings
Setting
Type
Default
Variable
Fast %R
int
21
exh_fast_man
Slow %R
int
112
exh_slow_man
Threshold
int
20
exh_threshold
Fast Smooth
int
7
exh_fast_smooth
Slow Smooth
int
3
exh_slow_smooth
ATR Length
int
14
sqz_atr_len
HV Length
int
21
iv_hv_len
Rank Lookback
int
252
iv_rank_len
ATR Length
int
14
trail_atr
ATR Mult
float
2.5
trail_mult
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 classifies the market into gamma regime types (negative gamma trend, positive gamma mean-reversion, or transition) by calculating a composite score based on daily ATR ratios, session VWAP crossover frequencies, and opening range displacement. It
This indicator uses a Hidden Markov Model (HMM) framework combined with an adaptive dual moving average engine and Directional Movement Index (DMI) features to identify market regimes (bullish, bearish, or ranging/chop). It calculates regime probabilities on e
This indicator calculates standardized trend strength and historical volatility to estimate position sizes. It computes the differences between three user-defined EMAs standardized by price using MACD logic, while historical volatility is derived from the stan
This overlay indicator plots a SuperTrend-style band on the price chart using ATR length, a selectable source, and a base factor. Optional settings enable an adaptive factor driven by rate of change, a volatility filter, K-means clustering, and an LSTM layer w
Adaptive Fair Value Cloud calculates a volatility-adaptive fair value channel around a selectable centerline, such as KAMA, EMA, linear regression, or VWMA. It blends ATR and mean deviation with volatility percentiles and trend sensors, including ADX, Efficien
This overlay indicator builds many SuperTrend trailing stops across a user-set ATR length, factor range, and step. Each factor is scored with an exponential performance memory. K-means clustering groups those results, and the user chooses the best, average, or