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
GhostDog Matrix V12 calculates inner and outer standard deviation envelope bands around a simple moving average and evaluates Heikin-Ashi candle wicks to identify signal setups. The script includes filters for session time windows, noon slump avoidance, minimum normalized bandwidth to prevent chop, squeeze detection, signal cooldowns, and customizable matrix confidence thresholds displayed as labels on the price chart.
Inner and outer standard deviation envelope bands
Heikin-Ashi wick tolerance signal detection
Trading session window and noon slump filter
Bandwidth and anti-chop squeeze volatility filters
Confidence score display and signal cooldown management
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Trading Window
session
0930-1600
sessionTime
Lookback Period
int
20
stdPeriod
Inner Sigma
float
1.0
innerMult
Outer Sigma
float
2.5
outerMult
Signal Matrix Req
int
2
matrixReq
Glow Matrix Req
int
3
glowReq
Signal Mode
string
Aggressive
sensitivity
Filter Consecutive Signals
bool
true
filterRepeat
Filter Noon Slump (12:00-13:30)
bool
true
hideNoon
Signal Cooldown (bars)
int
0
cooldownBars
HA Wick Tolerance (ticks)
int
0
haTolTicks
If Long+Short Same Bar
string
None
conflictMode
Show all 26 settings
Setting
Type
Default
Variable
Repeat block window (bars)
int
6
repeatGap
Show Confidence % (as labels)
bool
true
showConfPctLabels
Confidence Label Size
string
Normal
confLabelSize
Grid normalize range (k)
float
1.5
kNorm
Filter: Min Confidence
bool
true
useMinConf
Min Confidence (0-1)
float
0.45
minConf
Filter: Volatility Expanding
bool
false
useVolExpand
BW slope length (bars)
int
10
bwLen
Min BW slope
float
0.0
bwMinSlope
Filter: Avoid Squeeze
bool
false
useSqueezeFilter
BW percentile lookback
int
100
bwLookback
Min BW percentile (0-1)
float
0.10
bwPct
Filter: Min Bandwidth (anti-chop)
bool
true
useMinBW
Min Bandwidth (normalized)
float
0.0016
minBW
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 linear regression candles and a UT Bot style ATR trailing stop on the price chart. When linear regression is enabled, open, high, low and close are replaced by regression values, and rising candles are green while falling candles are re
This overlay indicator marks Linda Raschke short-term bar setups on the price chart. It flags Turtle Soup and Turtle Soup plus one false breakouts of a prior extreme, 80-20 bars, inside bars, failed inside-bar breakouts, outside up and down bars, NR4 and NR7 c
The Body Mass Indicator highlights candles with exceptionally large body ranges relative to recent price movement. It calculates the absolute distance between open and close prices. When enabled, it identifies bars where the body range achieves a new high over
Five-in-one Strategy combines five analytical tools into a single price chart overlay: the Dual Thrust Trading Algorithm (DTTA), Semafore, HalfTrend, Nick Rypock Trailing Reverse, and Tweezer or Kangaroo Tail candlestick patterns. It generates trade signals us
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 overlay indicator highlights candles with a body smaller than 50% of their total range by coloring them white on the price chart. Simultaneously, it calculates and plots horizontal lines for open prices across multiple higher timeframes, such as daily, we