OPEN-SOURCE SCRIPT
Telah dikemas kini Crypto Non-Causality & AMD Confluence Strategy [Alpha Council]

The Crypto-NCS (Non-Causality Suite) v6 is an advanced quantitative strategy designed to map market extremes, structural momentum, and liquidity sweeps. Originally conceptualized for traditional foreign exchange, extensive backtesting and community application have shown that this specific architecture is highly weaponized for Cryptocurrency perpetuals on the 15-minute and 30-minute timeframes. This script is entirely open-source to provide an educational framework for combining Digital Signal Processing (DSP) with behavioral market structure.
Why This Excels on 15m/30m Crypto Charts
Cryptocurrency microstructure is fundamentally different from traditional equities or FX. It is driven by algorithmic stop-hunting, fragmented liquidity, and rapid volatility clustering. Traditional indicators often fail here due to lag. This suite solves this by integrating mathematical models specifically suited for crypto's volatile nature:
Algorithmic Liquidity Sweeps (AMD): Crypto algorithms actively hunt liquidity above recent highs and below recent lows. On the 15m and 30m charts, these "Accumulation, Manipulation, Distribution" (AMD) cycles are highly visible. This strategy specifically waits for price to sweep these session extremes and then reject back inside, catching the exact moment retail liquidations are absorbed by market makers.
Laguerre Time-Warping (Noise Reduction): Crypto is notoriously noisy on lower timeframes (scam wicks). Standard EMAs and RSIs trigger false signals. We utilize a 4-pole Laguerre Filter, which operates on a non-linear "time-warped" domain. This provides a "fast attack, slow decay" profile that ignores random 15m noise but instantly snaps to true momentum shifts.
Stationarity Gating (Hurst Exponent): Crypto frequently oscillates between dead ranges and violent trends. The strategy approximates the Hurst Exponent (H) via Fractal Dimension math. It mathematically disables execution when the market is trending (H > 0.5) to prevent catching falling knives, only executing mean-reversion trades when the market is mathematically stationary (H < 0.5).
Core Features & Mechanics
MAMA & FAMA Phase Space: Utilizes the MESA Adaptive Moving Average to track the dominant cycle phase (expansion vs. contraction).
Causal Cross-Mapping (DXY): Even in crypto, Bitcoin and altcoins are heavily tied to global dollar liquidity. The suite queries the DXY (US Dollar Index) to ensure macroeconomic capital flows support the localized crypto reversal.
Dynamic Compounding Engine: Features a customizable Martingale allocation system that tracks live account equity. It dynamically compounds the base margin as the account grows, and temporarily holds elevated allocation tiers during drawdowns to recover efficiently before resetting.
Long-Only Mode: Due to the inherent upward macroeconomic drift of major cryptocurrencies (like BTC and ETH), a dedicated "Long-Only" toggle is included. This visually preserves the bearish market-structure mapping on the chart but strictly limits the execution engine to buying dips, preventing infinite risk exposure from shorting crypto bull markets.
Dynamic Profit taking: Exits are not static. The system utilizes a rapid momentum-death trigger (price falling out of a fast EMA) to let 15m/30m crypto runners extend as far as possible before closing the trade.
How to Use
Apply this strategy to a 15m or 30m Cryptocurrency chart (e.g., BTCUSDT, SOLUSDT).
Open the settings to configure your risk. Adjust the Base Margin and Leverage to match your account size.
If trading in a macro bull-market regime, it is highly recommended to check the Long-Only Mode box to isolate your exposure to downside liquidity sweeps (buying the dip).
Monitor the HUD in the top right. It provides real-time telemetry on the Hurst Stationarity, Laguerre Kinetics, and the active compounding state of the execution engine.
Why This Excels on 15m/30m Crypto Charts
Cryptocurrency microstructure is fundamentally different from traditional equities or FX. It is driven by algorithmic stop-hunting, fragmented liquidity, and rapid volatility clustering. Traditional indicators often fail here due to lag. This suite solves this by integrating mathematical models specifically suited for crypto's volatile nature:
Algorithmic Liquidity Sweeps (AMD): Crypto algorithms actively hunt liquidity above recent highs and below recent lows. On the 15m and 30m charts, these "Accumulation, Manipulation, Distribution" (AMD) cycles are highly visible. This strategy specifically waits for price to sweep these session extremes and then reject back inside, catching the exact moment retail liquidations are absorbed by market makers.
Laguerre Time-Warping (Noise Reduction): Crypto is notoriously noisy on lower timeframes (scam wicks). Standard EMAs and RSIs trigger false signals. We utilize a 4-pole Laguerre Filter, which operates on a non-linear "time-warped" domain. This provides a "fast attack, slow decay" profile that ignores random 15m noise but instantly snaps to true momentum shifts.
Stationarity Gating (Hurst Exponent): Crypto frequently oscillates between dead ranges and violent trends. The strategy approximates the Hurst Exponent (H) via Fractal Dimension math. It mathematically disables execution when the market is trending (H > 0.5) to prevent catching falling knives, only executing mean-reversion trades when the market is mathematically stationary (H < 0.5).
Core Features & Mechanics
MAMA & FAMA Phase Space: Utilizes the MESA Adaptive Moving Average to track the dominant cycle phase (expansion vs. contraction).
Causal Cross-Mapping (DXY): Even in crypto, Bitcoin and altcoins are heavily tied to global dollar liquidity. The suite queries the DXY (US Dollar Index) to ensure macroeconomic capital flows support the localized crypto reversal.
Dynamic Compounding Engine: Features a customizable Martingale allocation system that tracks live account equity. It dynamically compounds the base margin as the account grows, and temporarily holds elevated allocation tiers during drawdowns to recover efficiently before resetting.
Long-Only Mode: Due to the inherent upward macroeconomic drift of major cryptocurrencies (like BTC and ETH), a dedicated "Long-Only" toggle is included. This visually preserves the bearish market-structure mapping on the chart but strictly limits the execution engine to buying dips, preventing infinite risk exposure from shorting crypto bull markets.
Dynamic Profit taking: Exits are not static. The system utilizes a rapid momentum-death trigger (price falling out of a fast EMA) to let 15m/30m crypto runners extend as far as possible before closing the trade.
How to Use
Apply this strategy to a 15m or 30m Cryptocurrency chart (e.g., BTCUSDT, SOLUSDT).
Open the settings to configure your risk. Adjust the Base Margin and Leverage to match your account size.
If trading in a macro bull-market regime, it is highly recommended to check the Long-Only Mode box to isolate your exposure to downside liquidity sweeps (buying the dip).
Monitor the HUD in the top right. It provides real-time telemetry on the Hurst Stationarity, Laguerre Kinetics, and the active compounding state of the execution engine.
Nota Keluaran
Added opitonal hmm regime detectorSkrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.