For TradingView — Pine Script v6

Algo Shadow Matrix

A self-aware Supertrend that learns the market it is trading. Bands adapt every bar to a 4-factor Trend Quality Index, ratchet asymmetrically in your favor, and flip on quality collapse — not just price break. Non-repainting on confirmed close.

4TQI Factors
6Score Layers
3TP Targets
8Alert Events
0Repaint
Algo Shadow Matrix adaptive Supertrend on a TradingView chart with TQI dashboard and signal arrows
The Big Idea

What if your Supertrend knew when it was wrong?

Every Supertrend on the market today does the same thing. It computes an ATR-multiplied band around price, locks it as a ratchet, and flips when price closes through it. That works in clean trends. It fails everywhere else — chop, whipsaw, low-volume sessions, fading regimes. Most traders end up disabling the Supertrend on Fridays, on the open, during news, on overnight gaps. The indicator that was supposed to give you signal discipline turns into a switch you toggle on hope.

Algo Shadow Matrix solves this by giving the Supertrend a sense of self. Every bar, the indicator scores the market it is sitting in — across efficiency ratio, volatility regime, structural price position, and momentum persistence — and produces a continuous Trend Quality Index (TQI) between 0 and 1. High TQI compresses the bands. Low TQI widens them. The trend can even flip before price breaks the band if quality collapses fast enough. The Supertrend that comes out the other end is a different animal: it tightens when conviction is high, breathes when it is not, and changes its mind when the market changes character.

Standard SupertrendFixed ATR multiplier. Same band width in every regime. Flips only when price breaks the opposite band. Whipsaws in chop. Lags in fast reversals.
Algo Shadow MatrixContinuous TQI modulation of band width. Active side tightens, passive widens. Character-flip catches reversals before the price break. EMA-smoothed multipliers stop ratchet stickiness.

Three engines, one decision

A novel band engine is just the start. To trade it you need confluence to filter false signals, a risk system you can deploy mechanically, and a performance feedback loop that tells you when the market is favorable. All three are built in.

1

4-Factor TQI Engine

Efficiency, volume regime, structure, momentum persistence — weighted and clamped to a continuous 0-to-1 quality index that modulates band width non-linearly each bar.

2

6-Layer Confluence

Every signal is scored against momentum, ER, volume, RSI depth, structure proximity, and ST-break depth. 1-to-5 stars on the chart label show how many layers passed.

3

Regime-Edge Memory

3x3 ER/volume grid stores the EWMA-tracked realized R-multiple of every closed trade. The dashboard shows whether the current regime cell has been historically profitable.

Twelve features, zero bloat

Every feature in Algo Shadow Matrix was added because it materially changes the decision the trader has to make. Nothing is decorative.

Adaptive Supertrend bands

Width modulated bar-by-bar by the TQI engine, EMA-smoothed to prevent ratchet stickiness.

4-factor TQI

Efficiency, volume regime, structure, momentum. Configurable weights. Continuous 0-1 output.

Asymmetric ratchet

Active side (with trend) tightens. Passive side (against trend) widens. Locks profit.

Character-flip detection

Trend flips when TQI collapses from high to low — not only when price breaks the band.

Efficiency-weighted ATR

Clean directional volatility counts full. Noisy volatility is halved before sizing bands.

6-layer confluence

Momentum, ER, volume, RSI depth, structure, ST-break. 1-5 stars per signal label.

3 SL modes

ATR + Pivot (default), Pure ATR, or Recent Swing. Per-trade risk anchored automatically.

3 R-multiple TPs

TP1, TP2, TP3 at configurable R-multiples. Auto-sorted ascending. Drawn 40 bars forward.

Regime-edge grid

3x3 ER/vol cells track EWMA realized R. Dashboard shows current cell's historical edge.

Cockpit dashboard

Market context, TQI engine, active signal, performance — 4 sections, ~17 rows of live state.

8 alert events

BUY, SELL, trend shifts, TP1/2/3 hit, SL hit. Popup, push and email channels.

Non-repaint guarantee

All signal evaluation on confirmed bar close. Ratchet state seeded from immutable prev-bar.

Why every default Supertrend fails

The Supertrend's failure modes are well known. They all stem from the same root cause: a fixed band cannot describe a variable market. Algo Shadow Matrix fixes that root cause.

The problem with the default Supertrend

  • Fixed ATR multiplier — same width in every regime
  • Whipsaws constantly in chop and low-volume sessions
  • Flips only on price break — too slow on fast reversals
  • No confluence — every flip treated the same
  • No automatic SL or TP — risk computed by hand
  • No memory of past performance per regime
  • No dashboard — no live state visibility
  • Can repaint on tick if implemented naively

How Algo Shadow Matrix solves it

  • TQI-modulated band width, refreshed every bar
  • EMA-smoothed multipliers stop sticky compression
  • Character-flip catches reversals before the band breaks
  • 6-layer confluence with star ratings on every signal
  • Pivot-anchored ATR SL + three R-multiple TPs auto-drawn
  • 3x3 regime-edge grid with EWMA-tracked expectancy
  • Cockpit dashboard with W/L, avg R, drawdown, streak
  • Non-repaint signal engine — confirmed closed bars only

Works on every market

FX majors and crosses, precious metals, commodities, cryptocurrencies, US stocks. Every TradingView timeframe. Click any thumbnail to enlarge.

A cockpit that tells you everything, instantly

Four sections, ~17 rows, live updates on every tick. Read the state of every engine without scanning the chart.

Algo Shadow Matrix cockpit dashboard close-up showing MARKET CONTEXT, TQI ENGINE, ACTIVE SIGNAL, PERFORMANCE

Four sections. Zero guesswork.

The cockpit dashboard is a pixel-anchored widget you can dock to any of six corners with X/Y pixel-level nudge controls and a configurable column width.

  • Market Context — trend regime, preset, ATR + ATR%, ER regime, volatility regime
  • TQI Engine — TQI score, quality strength, ER, RSI, volume Z, per-factor breakdown
  • Active Signal — direction with stars, bars-ago, entry with live P&L %, SL %, TP1/TP2/TP3 with hit checkmarks
  • Performance — running W/L %, average R, window DD, all-time DD, win/loss streak, regime-edge cell

Who is this built for?

Algo Shadow Matrix fits four common trader profiles. If you see yourself here, you will get value from day one.

S
Swing Traders

H1 and H4 with the Default preset. Sit through normal volatility, exit when TQI collapses. Auto SL + 3 TPs remove sizing hesitation.

D
Day Traders

M5–M30 with the Scalping preset. TQI throttles signal frequency dynamically — fewer trades in chop, more in trend.

A
Algo / Bot Operators

Webhook-ready JSON on every signal. Pipe into Telegram, Discord, 3Commas, or any HTTP-receiving bot. Non-repaint guarantees signal stability.

P
Portfolio Reviewers

Daily and Weekly with the Swing preset. Score every potential entry against confluence and regime-edge before committing capital.

Algo Shadow Matrix vs the default Supertrend

Standard Supertrend is one fixed band, one fixed multiplier, one flip rule. We replaced every fixed with adaptive.

FeatureDefault SupertrendAlgo Shadow Matrix
Adaptive band width by qualityNoYes — 4-factor TQI
Asymmetric ratchetNoYes
Character-flip on quality collapseNoYes
Efficiency-weighted ATRNoYes
Automatic SL + 3 TPsNoYes (3 SL modes)
Confluence scoring with starsNoYes (6 layers)
Regime-edge memory gridNoYes (3x3 EWMA)
Live cockpit dashboardNoYes (4 sections)
Non-repaint signal engineOften NoYes
Webhook JSON alertsNoYes — 8 events

Every signal, every channel

Eight alert events delivered across popup, push notification, and email — each with structured JSON for webhook integration.

Algo Shadow Matrix alert configuration on TradingView with webhook JSON payload preview

What early users are saying

Early-access feedback from real traders running Algo Shadow Matrix on live and demo accounts.

* * * * *

"This is the first Supertrend I have actually left on for more than two days. The TQI compression in chop is unreal — half the whipsaws of my old stack just disappeared."

M. Henderson — swing trader, EUR/USD H1
* * * * *

"I run this alongside my EA on H4 gold. The character-flip caught two regime changes 8 to 12 bars before my old Supertrend even noticed. Dashboard regime-edge is brilliant."

A. Petrov — algo trader, XAU/USD H4
* * * * *

"Stars on the labels made me stop trading 2-star signals. Win rate jumped immediately. The dashboard confluence row let me see scores building during the bar — a totally new workflow."

L. Kim — discretionary, GBP/JPY H1
* * * * *

"Webhook JSON on every event. I plumbed it into our Discord bot in 20 minutes. Score field is the killer — we filter bot entries by confluence score on the receiving end."

D. Williams — bot operator, multi-asset
* * * * *

"Auto SL + 3 TPs at 1R/2R/3R removed sizing hesitation completely. I see the signal, I know risk, I know targets, I click. Massive workflow simplification."

R. Singh — swing trader, BTC D1
* * * * *

"Three minutes from purchase to first chart. Got the invite, dropped it on NVDA H1, watched a 4-star BUY fire on the next bar close. Professional from start to finish."

T. Nakamura — full-time, US equities

Get Algo Shadow Matrix today

One-time payment. Lifetime updates. 60-day money-back guarantee. Built for TradingView.

Forexobroker Original

Algo Shadow Matrix

TradingView indicator — Pine Script v6 — invite-only access

LIFETIME LICENSE  ·  ONE-TIME PAYMENT  ·  60-DAY MBG
60-day money-back guarantee. No questions asked.
Instant access. Granted as invite-only on your TradingView account.
SSL Encrypted Checkout
Stripe Verified Merchant
PayPal Buyer Protection
60-Day Refund Window
Lifetime Updates

Frequently asked questions

If your question isn't answered here, email [email protected] and we'll get back to you within 24 hours.

Does Algo Shadow Matrix repaint?
No. Every signal, every band level, every dashboard value is computed on confirmed closed-bar data. A signal at bar N cannot change after bar N+1 opens. The ratchet bands are seeded from previous-bar smoothed multipliers which are immutable once that bar closed.
What is the Trend Quality Index?
TQI is a continuous 0-to-1 quality score recomputed every bar from four factors: Efficiency Ratio (35% weight), Volatility Regime (20%), Structure (25%), Momentum Persistence (20%). High TQI tightens the Supertrend bands; low TQI widens them.
What platform does Algo Shadow Matrix run on?
TradingView. Pine Script v6. Free or paid plan. Every TradingView-supported symbol and timeframe. No installation — loads directly in your browser when added to a chart.
What is character-flip detection?
Standard Supertrend flips only when price crosses the opposite band. Character-flip allows the trend regime to flip earlier when the Trend Quality Index collapses from high (default 0.55+) to low (default 0.25-) while the current trend has aged at least 5 bars.
How does the 6-layer confluence scoring work?
Six independent layers, each capped at 17 points (total max 102): Momentum, Efficiency, Volume, RSI Depth, Structure, ST-Break. Star count on the chart label maps to total score / 17 rounded.
How are SL and TP levels calculated?
SL anchored to the most recent pivot (low for buys, high for sells) with an ATR cushion. TP1, TP2 and TP3 at configurable R-multiples (default 1.0R, 2.0R, 3.0R), auto-sorted ascending.
What is the regime-edge grid?
A 3x3 grid of historical signal outcomes binned by efficiency ratio (low/mid/high) and volatility ratio (low/normal/high). Each closed trade's realized R is fed into the appropriate cell, smoothed by EWMA.
Which markets and timeframes can I use it on?
Every symbol type and every timeframe from M1 to MN1. Preset auto-resolves to Scalping for M5 and below, Default for M15-H4, Swing for D1+. Override via Custom preset.
How do I get the indicator after purchase?
After purchase you receive an access link to a short Google Form. Submit your TradingView username. We grant private invite-only access on your TradingView account, typically within a few hours. Find it under Indicators > Invite-only scripts.
Does it work with trading bots via webhooks?
Yes. All 8 alert events support TradingView's webhook delivery with structured JSON output — indicator, signal, ticker, timeframe, confluence score, entry, SL, TPs.
Is there a refund policy?
Yes. 60-day money-back guarantee. If you are not satisfied within 60 days of purchase, email [email protected] for a full refund. No forms, no questions asked.

Ready to trade a Supertrend that knows itself?

One-time payment. Lifetime updates. 60 days to test risk-free. Built for TradingView — every market, every timeframe.

Get Instant Access