Factors Directory

Quantitative Trading Factors

Bull-Bear Index (BBI)

Trend TypeTechnical Factors

factor.formula

BBI = (MA(CLOSE, M1) + MA(CLOSE, M2) + MA(CLOSE, M3) + MA(CLOSE, M4)) / 4

in:

  • :

    The N-day simple moving average represents the arithmetic mean of the closing prices of the past N trading days.

  • :

    The short-term moving average period is usually set to 3 trading days.

  • :

    The medium- and short-term moving average period is usually set to 6 trading days.

  • :

    The medium-term moving average period is usually set to 12 trading days.

  • :

    The medium- and long-term moving average period is usually set to 20 trading days.

factor.explanation

The Bullish and Bearish Willingness Index (BBI) aims to comprehensively assess the strength of both the bulls and bears in the market by averaging simple moving averages of different periods. The design idea is that the short-term moving average is more sensitive to price fluctuations and can reflect market sentiment more quickly, while the long-term moving average is smoother and reflects the medium- and long-term trends of the market. By combining moving averages of different periods, the BBI can effectively filter out short-term noise while capturing changes in medium- and long-term trends. When the BBI moves upward, it indicates that the overall bullish power of the market is stronger, and vice versa, the bearish power is stronger. Investors can combine price trends and the relative position of the BBI to assist in judging market trends and discover potential buying and selling opportunities. In addition, the parameters of the BBI (M1, M2, M3, M4) can be adjusted according to different markets and investment preferences, but usually keep a combination of short, medium and long periods. Please note that any technical indicator should be used in conjunction with other analysis tools and cannot be used alone as the basis for investment decisions.

Related Factors