Indicator · Pine Script v6 · On the chart

Smart Market Structure Matrix Pro

by vedkanani123

A price-chart indicator that tracks market structure at two swing scales, internal and external, with an EMA trend ribbon and optional structure-shift arrows.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code448
Settings29inputs
LicenceNone stated
Last update2 months ago23 Aug 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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

A dashboard lists modules such as trend strength, swing direction, internal and external structure, pullback quality, momentum score, market phase, trend health, volatility percentile and overall bias with confidence. Each module can be switched off. Dashboard position, size and theme are adjustable, and alert levels can be set for trend strength and confidence.

Details

Published by

vedkanani123 on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Trend, Screeners & dashboards

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Internal Swing Lengthint5iSwingLen
External Swing Lengthint15eSwingLen
EMA Lengthint50emaLen
ATR Lengthint14atrLen
Momentum Lengthint14momLen
Volatility Percentile Lookbackint100volLookbk
Trend Strength Alert Levelint70tsAlertLvl
Confidence Alert Levelint80cfAlertLvl
Show DashboardbooltrueshowDash
PositionstringMiddle RightdashPosIn
SizestringNormaldashSizeIn
ThemestringDarkthemeIn
Show all 29 settings
SettingTypeDefaultVariable
Trend StrengthbooltrueshowTS
Swing DirectionbooltrueshowSD
Internal StructurebooltrueshowIS
External StructurebooltrueshowES
Pullback QualitybooltrueshowPB
Momentum ScorebooltrueshowMO
Market PhasebooltrueshowPH
Trend HealthbooltrueshowTH
VolatilitybooltrueshowVL
Bias & ConfidencebooltrueshowBI
Trend RibbonbooltrueshowRibbon
Structure Shift ArrowsboolfalseshowArrows
Bullishcolorcolor.new(#00c853, 0)colBull
Bearishcolorcolor.new(#ff1744, 0)colBear
Warningcolorcolor.new(#ff9100, 0)colWarn
Infocolorcolor.new(#2979ff, 0)colInfo
Neutralcolorcolor.new(#9e9e9e, 0)colNeut
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.

Similar Pine Scripts

53 stars

Apex Trend & Liquidity Master calculates a trend cloud using customizable moving averages expanded by a volatility multiplier directly on the main price chart. It identifies dynamic support and resistance liquidity zones from swing high and low pivots, extendi

Indicator v6 TrendSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Apex Trend & Liquidity Master

Confluence Suite

by TamaraKGreen
46 stars

The Confluence Suite indicator draws multiple trading signals and tools directly on the price chart. It generates entry and exit signals based on selected modes and filters, with an AI signal classifier rating quality from 1-4. Additional features include smar

Indicator v5 TrendSMC / ICT / price action
Updated 7 weeks ago · None stated GitHub repository of Confluence Suite

Market State Engine classifies the current market into nine states including balance, compression, bull and bear expansion, pullback, exhaustion, and transition. It computes orthogonal axes for structural regime, energy phase, value location relative to adapti

Indicator v6 TrendSupport & resistance Repaints
Updated 2 days ago · MIT GitHub repository of Market State Engine [WavesUnchained]

Quantum Structure | jjart

by MeridianAlgo
9 stars

This indicator analyzes market structure and identifies key swing highs, swing lows, and consolidation ranges across multiple timeframes. It automatically adapts swing lengths and consolidation thresholds according to chosen profiles for scalping, intraday, or

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · MIT GitHub repository of Quantum Structure | jjart

This indicator overlays a market structure dashboard on the price chart. It reads up to seven user-selected timeframes, each with an on/off switch and a trend weight, and shows columns for EMA trend, swing highs and lows, structure, order blocks, and fair valu

Indicator v6 Screeners & dashboardsSMC / ICT / price action
Updated 3 months ago · None stated GitHub repository of Market Structure Dashboard | Flux Charts

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers