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! 🚀
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。