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/
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.