OPEN-SOURCE SCRIPT

Multi-Mode MACD Signals v2

146
Multi-Mode MACD Signals v2

Signal Types Explained ⚙️
You can now choose your preferred signal from a dropdown menu in the indicator's settings:

Pullback (Default): The original, high-probability strategy. It identifies "buy the dip" and "sell the rally" opportunities within an established trend.

Buy: Triggers on a bullish MACD/Signal line cross above the zero line.

Sell: Triggers on a bearish MACD/Signal line cross below the zero line.

Standard Crossover: The most common MACD signal. It's a pure momentum signal that triggers whenever the MACD line crosses the signal line, regardless of the trend.

Buy: MACD line crosses above the Signal line.

Sell: MACD line crosses below the Signal line.

Zero Line Cross: A trend-change signal. It identifies when the overall momentum shifts from bullish to bearish or vice-versa.

Buy: MACD line crosses above the Zero line.

Sell: MACD line crosses below the Zero line.

How Signals Are Displayed (Real-time vs. Confirmed)
This indicator addresses your request to have signals "display as it occurs" automatically. Here is how it works:

Real-time Alert (As it Occurs): On a live, developing candle, a "BUY" or "SELL" label may appear the instant the MACD conditions are met. This gives you the earliest possible warning.

Signal Repainting: Because the price is still moving within the live candle, the signal may appear and later disappear if the conditions are no longer met by the time the candle closes. This is known as "repainting".

Confirmed Signal: Once the candle closes, the signal is locked in and will never change. This is the confirmed, non-repainting signal.

To create alerts based on these signals, right-click a label on the chart, select "Add alert on Multi-Mode MACD Signals," and choose "Once Per Bar Close" for a confirmed signal or "Once Per Bar" for an earlier, real-time alert.

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.