OPEN-SOURCE SCRIPT
MACD Crossover Signal

How to Use
This indicator displays BUY and SELL signals on the price chart based on MACD crossovers.
BUY Signal
A green BUY label appears when:
* The MACD line crosses above the signal line.
* Bullish momentum may be increasing.
Possible uses:
* Entering during an uptrend
* Buying near support levels
* Confirming entries with other indicators
SELL Signal
A red SELL label appears when:
* The MACD line crosses below the signal line.
* Bearish momentum may be increasing.
Possible uses:
* Taking profits
* Managing risk and stop-losses
* Confirming potential trend reversals
Recommended Usage
This indicator works best when combined with other tools, such as:
* Volume Profile (support and resistance)
* Moving Averages (trend direction)
* Volume analysis
* RSI
* c-c/MA and VolumeMA
A typical workflow might be:
1. Identify key price levels using Volume Profile.
2. Confirm trend strength with c-c/MA and VolumeMA.
3. Use MACD crossovers to time entries and exits.
Notes
MACD is a trend-following indicator.
Therefore:
* It may generate false signals in ranging markets.
* It tends to perform better during strong trends.
* Signals can lag during sharp market moves.
In cryptocurrency markets, MACD is often most effective when used as a timing tool within a broader market analysis framework.
This indicator displays BUY and SELL signals on the price chart based on MACD crossovers.
BUY Signal
A green BUY label appears when:
* The MACD line crosses above the signal line.
* Bullish momentum may be increasing.
Possible uses:
* Entering during an uptrend
* Buying near support levels
* Confirming entries with other indicators
SELL Signal
A red SELL label appears when:
* The MACD line crosses below the signal line.
* Bearish momentum may be increasing.
Possible uses:
* Taking profits
* Managing risk and stop-losses
* Confirming potential trend reversals
Recommended Usage
This indicator works best when combined with other tools, such as:
* Volume Profile (support and resistance)
* Moving Averages (trend direction)
* Volume analysis
* RSI
* c-c/MA and VolumeMA
A typical workflow might be:
1. Identify key price levels using Volume Profile.
2. Confirm trend strength with c-c/MA and VolumeMA.
3. Use MACD crossovers to time entries and exits.
Notes
MACD is a trend-following indicator.
Therefore:
* It may generate false signals in ranging markets.
* It tends to perform better during strong trends.
* Signals can lag during sharp market moves.
In cryptocurrency markets, MACD is often most effective when used as a timing tool within a broader market analysis framework.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.