OPEN-SOURCE SCRIPT
Telah dikemas kini

MACD Liquidity Tracker System

730
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.
Nota Keluaran
Advanced Coding
Nota Keluaran
Advanced Coding 2.0
Nota Keluaran
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.
Nota Keluaran
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.

Nota Keluaran
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.
Nota Keluaran
Now, when "Show Signal Text" is enabled, new triangles appear with "Long" or "Short" text inside them. When disabled, only triangles show without text.

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.