OPEN-SOURCE SCRIPT
Zaktualizowano

MACD Liquidity Tracker System

1 385
MACD Liquidity Tracker System
🔹 Enhanced MACD with candle coloring, entry markers, and customizable signal logic.

🧠 Features:
This tool combines a color-coded MACD histogram with signal-based candle colors and small shape markers (🔼🔽) for clear market momentum and entry visualization.

📊 Visuals:

MACD Histogram (Sub-panel):
4 dynamic colors to show momentum direction:
🔹 Bright Blue = MACD > 0 & rising (strong bullish)
🔹 Dark Blue = MACD > 0 & falling (weakening bullish)
🔹 Bright Magenta = MACD < 0 & falling (strong bearish)
🔹 Dark Magenta = MACD < 0 & rising (weakening bearish)

Price Candles (Main Chart):
🔹 Bright Blue = Active Long signal
🔹 Bright Magenta = Active Short signal


Entry Markers:
🔼 Blue triangle (below candle) = Start of Long
🔽 Magenta triangle (above candle) = Start of Short

⚙️ System Types (select in settings):

Normal:
🔹 Long = MACD > 0
🔹 Short = MACD < 0

Fast: (Based on histogram color)
🔹 Long = Bright Blue OR Dark Magenta
🔹 Short = Dark Blue OR Bright Magenta

Safe:
🔹 Long = Only Bright Blue
🔹 Short = All other colors

🔔 Alerts:

Alerts trigger only on the first bar of a new Long/Short signal.

Easy to set up using TradingView’s alert system.

📌 How to Use:

Add the indicator to your chart

Open settings and select a System Type

Adjust MACD parameters if needed

Use histogram color + candle color for momentum and signal confirmation

Set alerts for clean entries if desired

💡 Ideal for traders seeking visual clarity and flexible MACD-based strategies.
Informacje o Wersji
Advanced Coding
Informacje o Wersji
Advanced Coding 2.0
Informacje o Wersji
System Type Use Cases

Normal: Best for swing trading or capturing longer-term trends in stable markets.
Fast: Optimized for scalping or high-volatility markets like crypto or forex, leveraging early momentum shifts.
Safe: Ideal for risk-averse traders or choppy markets, prioritizing strong bullish signals.
Trading Tips

Combine with support/resistance levels to confirm signals.
Test system types on a demo account to match your market (e.g., "Fast" for crypto, "Safe" for stocks).
Ideal For

Styles: Scalping, day trading, or swing trading.
Markets: Effective in volatile markets (forex, crypto, indices) and stable markets (stocks) with appropriate system settings.
Strategies: Momentum trading, trend-following, or reversal setups, depending on the chosen system type.
Informacje o Wersji
Added Trend-Based Alerts: New alerts for price above/below a 50-period MA, supporting multiple MA types (SMA, EMA, WMA, HMA, RMA, LSMA, DEMA, TEMA, VIDYA).

MA Visualization: Plots the selected MA on the main chart for easy trend reference.

Preserved Core Logic: No changes to MACD calculations, signal logic (Fast, Normal, Safe), or existing alerts, ensuring compatibility with previous setups.

Use Case: Use trend alerts to filter MACD signals (e.g., only take Long signals when price is above the MA) or as standalone trend indicators.

System Type Use Cases (Unchanged):
Normal: Best for swing trading or capturing longer-term trends in stable markets.

Fast: Optimized for scalping or high-volatility markets like crypto or forex, leveraging early momentum shifts.

Safe: Ideal for risk-averse traders or choppy markets, prioritizing strong bullish signals.

Trading Tips:
Combine trend alerts with MACD signals for stronger confirmation (e.g., Long signals + price above MA for bullish trend trades).

Use alternative MA types (e.g., HMA or VIDYA) for faster trend detection in volatile markets.

Test system types and MA settings on a demo account to match your market (e.g., "Fast" with VIDYA for crypto scalping).

Pair with support/resistance levels for robust trade setups.

Ideal For:
Styles: Scalping, day trading, swing trading, or trend-following.

Markets: Effective in volatile markets (forex, crypto, indices) and stable markets (stocks) with appropriate system and MA settings.

Strategies: Momentum trading, trend-following, or reversal setups, now enhanced with trend-based filtering.

Verification Notes
Code Integrity: The update adds trend-based alerts without altering the original MACD logic, signals, or visuals, ensuring backward compatibility.

MA Support: All MA types (SMA, EMA, WMA, HMA, RMA, LSMA, DEMA, TEMA, VIDYA) are implemented as per the user’s provided logic, applied to price.

Alert Independence: Trend alerts (Above/Below MA) work independently of candle colors or MACD signals, addressing the user’s request for flexibility with black arrows.

Testing: Conceptually validated for correctness across MA types and system modes. Traders should test in TradingView with their preferred market/timeframe.

Informacje o Wersji
Two new alerts have been added to the MACD Liquidity Tracker System script:

Long Entry Signal Trigger: This alert triggers when a long entry signal (upward triangle with "Long" label) appears on the chart, based on the longEntryCondition.

Short Entry Signal Trigger: This alert triggers when a short entry signal (downward triangle with "Short" label) appears on the chart, based on the shortEntryCondition.
Informacje o Wersji
Now, when "Show Signal Text" is enabled, new triangles appear with "Long" or "Short" text inside them. When disabled, only triangles show without text.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.