INVITE-ONLY SCRIPT

MACD Signals - TradeMaster (Trend & Momentum Filter)

24
[TW] 中文簡介

設計理念: 此指標是為了將經典的 MACD 策略「可視化」並「優化」而設計。傳統 MACD 在盤整震盪期容易出現頻繁的黃金交叉(假訊號),導致虧損。本腳本透過整合 OBV (能量潮) 與 TTM Squeeze (擠壓動能) 作為趨勢濾網,只有在動能與量能皆配合的情況下,才會標示為「✅ 有效金叉」。

核心功能與邏輯:

主圖純淨模式 (Clean Overlay):不顯示雜亂的 MACD 線圖,直接在 K 棒上下方標示買賣訊號,保持圖表乾淨。

MAM 濾網機制 (Smart Filtering):

OBV 趨勢:確認資金流向是否支持價格上漲。

動能擠壓 (Squeeze):結合 Bollinger Bands 與 Keltner Channels,避開無方向的盤整區間。

訊號分類:

✅ 有效金叉 (Valid Buy):MACD 金叉 + 通過 MAM 濾網偵測(高勝率 setup)。

❌ 無效金叉 (Fake Buy):MACD 金叉,但動能不足或處於盤整(建議觀望)。

🔻 死叉出場 (Sell):MACD 死叉,提示波段獲利了結或停損。

如何使用:

當出現 綠色標籤 (✅有效) 時,代表趨勢與動能共振,為潛在進場點。

當出現 灰色標籤 (❌無效) 時,代表僅是指標交叉但缺乏動能,建議忽略或謹慎操作。

當出現 紅色標籤 (🔻出場) 時,代表動能轉弱,建議離場。

[EN] English Description

Concept: This script is designed to visualize and optimize the classic MACD strategy directly on your main chart. Traditional MACD often generates false signals during consolidation periods. This indicator integrates OBV (On-Balance Volume) and Squeeze Momentum as a trend filter. It only marks a signal as a "✅ Valid Buy" when both momentum and volume confirm the trend.

Key Features & Logic:

Clean Main Chart Overlay: Instead of occupying a bottom pane with lines, this script plots actionable signals directly on the candlesticks, keeping your workspace clean.

MAM Filter Mechanism:

OBV Trend: Confirms if volume flow supports the price action.

Momentum Squeeze: Combines Bollinger Bands and Keltner Channels to filter out choppy, sideways markets.

Signal Classification:

✅ Valid Buy: MACD Golden Cross + Confirmed by MAM Filter (High probability setup).

❌ Fake Buy: MACD Golden Cross without momentum confirmation (Weak signal, usually ignored).

🔻 Sell Signal: MACD Death Cross, suggesting an exit.

How to Use:

Green Label (✅ Valid): Trend and momentum are in resonance. Potential entry.

Gray Label (❌ Fake): Crossover occurred but failed the filter test. Caution advised.

Red Label (🔻 Exit): Momentum is weakening. Suggested exit point.

免責聲明 (Disclaimer)

[TW] 免責聲明

本腳本僅供教育與技術分析研究使用,不構成任何形式的金融投資建議。

過去的績效不代表未來的表現。

所有的交易訊號僅供參考,使用者應結合自身的風險管理策略(如停損設置)。

作者不對使用此腳本造成的任何盈虧負責。

[EN] Disclaimer

This script is for educational and technical analysis purposes only and does not constitute financial advice.

Past performance is not indicative of future results.

All signals are for reference only. Users should always apply their own risk management strategies (e.g., Stop Loss).

The author is not responsible for any trading losses incurred from using this script.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.