OPEN-SOURCE SCRIPT

MACD Split (Top/Bottom)

59
๐Ÿ“˜ Script Explanation โ€“ MACD Split (Top/Bottom)

Purpose
Splits MACD into two separate panels for better visibility:

Top panel โ†’ MACD line (orange) & Signal line (black)

Bottom panel โ†’ Histogram (colored line) & Histogram EMA (black)

Color Rules for Histogram

Above 0 & Rising โ†’ Light Green

Above 0 & Falling โ†’ Dark Green

Below 0 & Falling โ†’ Dark Red

Below 0 & Rising โ†’ Light Red

Histogram EMA โ†’ Black

Zero Line
A gray dashed baseline is drawn at 0 for reference.

How to Use

Add the indicator twice.

Set the first oneโ€™s Mode = Top.

Set the second oneโ€™s Mode = Bottom.

Save as a template โ†’ next time, both panels load together.

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.