OPEN-SOURCE SCRIPT
UniMacro: Scalp Mod + AutoTrailing

⚡ Don't guess the direction. Follow the "Market Driver".
The UniMacro Scalp is a specialized correlation-based indicator designed for scalping indices, specifically optimized for DAX (DE40/GER40) and its reaction to the US Market.
European markets often lag behind or mirror the strong moves of their US counterparts. This script mathematically identifies which US index (S&P 500, Dow Jones, or Nasdaq) is currently "driving" the price action and generates signals only when the correlation is statistically significant.
How It Works
The "Driver" Logic: The script monitors SPX500, US30, and NAS100 in real-time. It automatically detects which index has the highest correlation with your current chart (e.g., DAX).
Signal Filter: Trades are only taken if:
The Correlation Coefficient is > 0.80 (Strong Link).
The "Driver" index is trending (Above/Below SMA 50).
Scalping Risk Management: The indicator comes with built-in ATR-based SL/TP settings tuned for quick scalps (tight stops, quick profits).
Auto-Trailing: Includes an automatic Trailing Stop that activates instantly to lock in profits during volatility spikes.
The Dashboard
A compact table in the top-right corner displays:
Real-time correlation with US Indices.
Highlights the current "Driver" (Green = Strong Correlation).
Best Setup for DAX
Asset: DAX (GER40 / DE40), UK100, or CAC40.
Timeframe: 1m or 5m (Scalping Mode).
Settings: Default settings are tuned for high volatility. Adjust the Correlation Period to 10-15 for even faster reactions on the 1-minute chart.
Risk Warning: This is a scalping tool based on historical correlations. Correlations can break during news events. Use with proper risk management.
👇 Boost this script if you trade the Open! 🚀
The UniMacro Scalp is a specialized correlation-based indicator designed for scalping indices, specifically optimized for DAX (DE40/GER40) and its reaction to the US Market.
European markets often lag behind or mirror the strong moves of their US counterparts. This script mathematically identifies which US index (S&P 500, Dow Jones, or Nasdaq) is currently "driving" the price action and generates signals only when the correlation is statistically significant.
How It Works
The "Driver" Logic: The script monitors SPX500, US30, and NAS100 in real-time. It automatically detects which index has the highest correlation with your current chart (e.g., DAX).
Signal Filter: Trades are only taken if:
The Correlation Coefficient is > 0.80 (Strong Link).
The "Driver" index is trending (Above/Below SMA 50).
Scalping Risk Management: The indicator comes with built-in ATR-based SL/TP settings tuned for quick scalps (tight stops, quick profits).
Auto-Trailing: Includes an automatic Trailing Stop that activates instantly to lock in profits during volatility spikes.
The Dashboard
A compact table in the top-right corner displays:
Real-time correlation with US Indices.
Highlights the current "Driver" (Green = Strong Correlation).
Best Setup for DAX
Asset: DAX (GER40 / DE40), UK100, or CAC40.
Timeframe: 1m or 5m (Scalping Mode).
Settings: Default settings are tuned for high volatility. Adjust the Correlation Period to 10-15 for even faster reactions on the 1-minute chart.
Risk Warning: This is a scalping tool based on historical correlations. Correlations can break during news events. Use with proper risk management.
👇 Boost this script if you trade the Open! 🚀
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.
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.