OPEN-SOURCE SCRIPT
Canonical Momenta Indicator [T1][T69]

๐ Overview
The Canonical Momenta Indicator [T1][T69] models trend pressure using a Lagrangian-based momentum engine combined with reflexivity theory to detect bursts in price movement influenced by herd behavior and volume acceleration.
๐ง Features
โ๏ธ How to Use
Suggested signals:
๐ Reflexive Up: Strong bullish momentum spike confirmed by volume and positive lagrangian pressure
๐ป Reflexive Down: Strong bearish dump confirmed by volume and negative lagrangian burst
๐ง Configuration
MA Lookback Length - Smoothing for baseline price & energy calculation
Reflexivity Momentum Threshold - Price momentum trigger for burst detection
Reflexivity Lookback - Period over which bursts are counted
Reflexivity Window - Minimum burst sum to trigger signal label
Volume Spike Threshold - % above average volume to qualify as burst
๐ Behavior Description
The indicator computes a Lagrangian energy:
Then, reflexive bursts are triggered when:
Each bar gets a burst score:
โ ๏ธ Risk Profile Based on Lookback Settings
Risk Level | Description | Recommended Lookback
๐ฅ High | Extremely sensitive to bursts, prone to false signals | 7โ10
๐จ Moderate | Balanced reflexivity with trend confirmation | 11โ20
๐ฉ Low | Filters out most noise, slower to react | 21+
๐งช Advanced Tips
โ ๏ธ Limitations
๐ Disclaimer
This tool is provided for educational and informational purposes. Always do your own backtesting and use proper risk management.
The Canonical Momenta Indicator [T1][T69] models trend pressure using a Lagrangian-based momentum engine combined with reflexivity theory to detect bursts in price movement influenced by herd behavior and volume acceleration.
๐ง Features
- Lagrangian-based kinetic model combining velocity and acceleration
- Reflexivity burst detection with directional scoring
- Adaptive momentum-weighted output (adaptiveCMI)
- Buy ๐ / Sell ๐ป labels when reflexivity confirms direction
- Fully parameterized for customization
โ๏ธ How to Use
- This indicator helps traders:
- Detect reflexive bursts in market activity driven by sharp price movement + volume spikes
- Capture herd-driven directional moves early.
- Gauge market pressure using a kinetic-potential energy model.
Suggested signals:
๐ Reflexive Up: Strong bullish momentum spike confirmed by volume and positive lagrangian pressure
๐ป Reflexive Down: Strong bearish dump confirmed by volume and negative lagrangian burst
๐ง Configuration
MA Lookback Length - Smoothing for baseline price & energy calculation
Reflexivity Momentum Threshold - Price momentum trigger for burst detection
Reflexivity Lookback - Period over which bursts are counted
Reflexivity Window - Minimum burst sum to trigger signal label
Volume Spike Threshold - % above average volume to qualify as burst
๐ Behavior Description
The indicator computes a Lagrangian energy:
- Kinetic Energy = (velocityยฒ + 0.5 * accelerationยฒ)
- Potential Energy = deviation from moving average (distanceยฒ)
- Lagrangian = Potential โ Kinetic (higher = overextension)
Then, reflexive bursts are triggered when:
- Price is rising or falling over short window (burstMvmnt)
- Volume is above average by a user-defined multiple
Each bar gets a burst score:
- +1 for up-burst
- โ1 for down-burst
- 0 otherwise
โ ๏ธ Risk Profile Based on Lookback Settings
Risk Level | Description | Recommended Lookback
๐ฅ High | Extremely sensitive to bursts, prone to false signals | 7โ10
๐จ Moderate | Balanced reflexivity with trend confirmation | 11โ20
๐ฉ Low | Filters out most noise, slower to react | 21+
๐งช Advanced Tips
- Combine with moving average slope for trend filtering
- Use divergence between adaptiveCMI and price to detect exhaustion
- Works well in crypto, commodities, and volatile assets
โ ๏ธ Limitations
- Sensitive to high volatility noise if volMult is too low
- Designed for higher timeframes (1H, 4H, Daily) for reliability
- Doesnโt confirm direction in sideways markets โ pair with other filters
๐ Disclaimer
This tool is provided for educational and informational purposes. Always do your own backtesting and use proper risk management.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.