OPEN-SOURCE SCRIPT
Mis à jour Market Leadership Network [NeuralMarkets]

Markets rarely move as one.
Some stocks quietly take control long before the index reacts.
Sometimes NVDA leads AI. Sometimes Financials quietly take over. Sometimes the entire market rotates beneath the surface while the index barely moves.
Most indicators measure price.
This indicator measures leadership.
Think of the market as a network.
Every asset influences something.
Some lead.
Some follow.
Some simply react.
Market Leadership Network transforms a group of symbols into a directed influence network and continuously asks one question:
Who is driving the market right now?
Rather than comparing relative strength, the model studies lead–lag relationships between assets and identifies where influence appears to originate.
What you'll see
Current Driver
The asset currently exhibiting the strongest outbound influence across the selected universe.
Not necessarily the strongest performer......the strongest leader.
Leadership Board
Every symbol is ranked from Leader to Follower using network influence instead of simple performance.
Leadership changes can occur even when prices remain relatively unchanged.
Leadership History
Markets don't always rotate every day.
Some leaders dominate for weeks.
Others briefly emerge before fading.
Leadership History shows how persistent each leader has been across the selected lookback window.
Influence Map
Once a leader emerges...
Which assets begin following?
The influence panel visualizes the strongest directional relationships currently detected within the network.
Why this is different
Traditional indicators ask:
"Is this stock strong?"
Market Leadership Network asks:
"Is this stock leading everyone else?"
Those are very different questions.
Built on Graph Theory
Internally, the indicator models the selected symbols as a weighted directed graph.
Lead–lag relationships become network connections.
Graph analytics are then used to estimate:
• Leadership
• Followers
• Influence concentration
• Rotation dynamics
• Leadership persistence
No prediction model.
No black-box AI.
Just quantitative network analysis applied to financial markets.
Ideal For
• Sector rotation research
• Technology leadership
• Heavyweight stock analysis
• Cross-asset studies
• Market structure research
• Quantitative experimentation
A note on interpretation
Leadership is relative, not absolute.
The rankings depend entirely on the selected group of assets.
The indicator is designed to explore market structure—not to generate automatic buy or sell signals.
Think of it as a microscope for understanding who is moving the market, rather than another indicator telling you where price should go next.
.................................................................................................................
Built with NeuralMarkets Network Toolkit
The indicator is powered entirely by the open-source NeuralMarkets Network Toolkit, a graph analytics library for Pine Script that provides reusable network algorithms, centrality measures, clustering metrics and financial graph primitives.
Some stocks quietly take control long before the index reacts.
Sometimes NVDA leads AI. Sometimes Financials quietly take over. Sometimes the entire market rotates beneath the surface while the index barely moves.
Most indicators measure price.
This indicator measures leadership.
Think of the market as a network.
Every asset influences something.
Some lead.
Some follow.
Some simply react.
Market Leadership Network transforms a group of symbols into a directed influence network and continuously asks one question:
Who is driving the market right now?
Rather than comparing relative strength, the model studies lead–lag relationships between assets and identifies where influence appears to originate.
What you'll see
Current Driver
The asset currently exhibiting the strongest outbound influence across the selected universe.
Not necessarily the strongest performer......the strongest leader.
Leadership Board
Every symbol is ranked from Leader to Follower using network influence instead of simple performance.
Leadership changes can occur even when prices remain relatively unchanged.
Leadership History
Markets don't always rotate every day.
Some leaders dominate for weeks.
Others briefly emerge before fading.
Leadership History shows how persistent each leader has been across the selected lookback window.
Influence Map
Once a leader emerges...
Which assets begin following?
The influence panel visualizes the strongest directional relationships currently detected within the network.
Why this is different
Traditional indicators ask:
"Is this stock strong?"
Market Leadership Network asks:
"Is this stock leading everyone else?"
Those are very different questions.
Built on Graph Theory
Internally, the indicator models the selected symbols as a weighted directed graph.
Lead–lag relationships become network connections.
Graph analytics are then used to estimate:
• Leadership
• Followers
• Influence concentration
• Rotation dynamics
• Leadership persistence
No prediction model.
No black-box AI.
Just quantitative network analysis applied to financial markets.
Ideal For
• Sector rotation research
• Technology leadership
• Heavyweight stock analysis
• Cross-asset studies
• Market structure research
• Quantitative experimentation
A note on interpretation
Leadership is relative, not absolute.
The rankings depend entirely on the selected group of assets.
The indicator is designed to explore market structure—not to generate automatic buy or sell signals.
Think of it as a microscope for understanding who is moving the market, rather than another indicator telling you where price should go next.
.................................................................................................................
Built with NeuralMarkets Network Toolkit
The indicator is powered entirely by the open-source NeuralMarkets Network Toolkit, a graph analytics library for Pine Script that provides reusable network algorithms, centrality measures, clustering metrics and financial graph primitives.
Notes de version
Minor aesthetic updatesScript open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Machine-learning market structure & forecast levels. Publishing levels before the markets move. Educational only.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Machine-learning market structure & forecast levels. Publishing levels before the markets move. Educational only.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.