OPEN-SOURCE SCRIPT
B + A + D v0.4

This script combines a momentum histogram (B-Xtrender) with trend strength and direction filters (ADX + DI).
The histogram is built from EMA differentials processed through RSI, showing short- and long-term momentum shifts around the zero line. ADX with DI+ / DI− is used to confirm whether the market is trending and in which direction.
Bullish signals appear when the histogram turns positive and DI+ dominates DI− with sufficient trend strength.
Bearish signals appear when the histogram turns negative and DI− dominates DI+ with sufficient trend strength.
Important note for users:
The strongest and most reliable signals are those that appear immediately after the histogram crosses the zero line (from negative to positive or from positive to negative). Signals that appear later, while the histogram is already extended in the trend, tend to be weaker and should be treated as continuation signals rather than high-probability reversals.
Credits:
Special thanks to the authors of the original concepts and scripts:
pl.tradingview.com/v/VTPMMOrx/
pl.tradingview.com/v/YHZimEz8/
The histogram is built from EMA differentials processed through RSI, showing short- and long-term momentum shifts around the zero line. ADX with DI+ / DI− is used to confirm whether the market is trending and in which direction.
Bullish signals appear when the histogram turns positive and DI+ dominates DI− with sufficient trend strength.
Bearish signals appear when the histogram turns negative and DI− dominates DI+ with sufficient trend strength.
Important note for users:
The strongest and most reliable signals are those that appear immediately after the histogram crosses the zero line (from negative to positive or from positive to negative). Signals that appear later, while the histogram is already extended in the trend, tend to be weaker and should be treated as continuation signals rather than high-probability reversals.
Credits:
Special thanks to the authors of the original concepts and scripts:
pl.tradingview.com/v/VTPMMOrx/
pl.tradingview.com/v/YHZimEz8/
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.