Indicator Introduction

MA (Moving Average)

  1. Introduction

    The moving average line uses the principle of moving averages in statistics. It adds up the stock prices over a certain period and averages them to get an average value, which is then connected to form the moving average line. MA5, MA10, MA20, MA60, MA120, and MA250 correspond to the 5-day, 10-day, 20-day, 60-day, 120-day, and 250-day moving averages of stock prices, respectively.

  2. Calculation Formula Moving Average = Sum of stock prices over the sample days / Number of sample days

  3. Application Granville’s Eight Rules (Timing for Buying and Selling Stocks):
  • Granville's Eight Rules: Use the relationship between the moving average price and the current price to judge the stock price.
  • When the moving average line gradually flattens from a decline and the stock price breaks through the average line from below, it is a buy signal.
  • When the average line continues to rise, even if it approaches or breaks the average line, and the stock price rises above the average line again, it is a buying opportunity.
  • When the stock price is above the average line and suddenly drops but does not break the average line, and then rises again, it is a good time to buy more.
  • When the stock price is below the average line and suddenly plummets, far away from the average line, indicating a large deviation, the stock price is likely to rebound towards the average line, which is also a buy signal.
  • When the moving average line rises and then levels off or declines, and the stock price cuts in from above, it is a sell signal.
  • When the stock price rises above the average line but immediately falls below it, and the average line continues to decline, it is a sell signal.
  • When the stock price is below the average line, and the stock price rises but does not reach the average line before falling again, it is a sell signal.
  • When the stock price rises sharply, far exceeding the average line, indicating a large positive deviation, it is likely to fall back towards the average line, which is a selling opportunity.

    Features
    • Stability: The moving average does not fluctuate as wildly as daily lines and usually rises and falls slowly.
    • Security: The MA generally rises only after a clear uptrend and falls only after a clear downtrend. However, the more stable it is, the slower it reacts.
    • Trend Indication: It reflects the stock price trend and has a trend nature.
    • Support and Resistance: When the stock price breaks through the MA from below, the MA acts as a short-term support line, and it is a buying opportunity when the stock price falls back to the MA. Conversely, if it breaks downward, the MA acts as a resistance.

MACD (Moving Average Convergence Divergence)

  1. Introduction
    MACD uses two exponential moving averages (fast and slow) to calculate the difference (DIF). It then uses the average of the difference (DEM) to identify signals of convergence (merging) and divergence (separating), thereby determining the timing for buying and selling stocks.



  2. Calculation Formula
    1. Average Index (DI) = (Highest Price + Lowest Price + 2 * Closing Price) / 4
    2. Exponential Moving Average (EMA) = Previous EMA + 2 / (1 + Number of Moving Average Days) * (Current Average Index - Previous EMA)
    3. Difference (DIF) = 12-day EMA - 26-day EMA
    4. MACD = Previous MACD + 2 / (1 + Number of Moving Average Days) * (DIF - Previous MACD)

  3. Application
    1. When both MACD and DIF are positive, it can be considered a bull market.
    2. When both MACD and DIF are negative, it can be considered a bear market.
    3. When DIF breaks above MACD, it is a buy signal.
    4. When DIF breaks below MACD, it is a sell signal.
    5. When DIF turns from negative to positive and crosses MACD, it is a buy signal.
    6. When DIF turns from positive to negative and breaks MACD, it is a sell signal.
    7. If both MACD and DIF are positive, and DIF breaks above MACD, it is a buyer's market, favoring long positions.
    8. If both MACD and DIF are negative, and DIF breaks below MACD, it is a seller's market, favoring short positions.
    9. When DIF diverges from the market index, if the stock price continues to hit new lows, but DIF does not, it is a positive divergence and a buy signal. Conversely, if the stock price continues to hit new highs but DIF does not, it is a negative divergence and a sell signal.

  4. Features
    1. MACD can better capture significant rising waves; after a big drop, finding a buying point should prioritize MACD. It is a good analysis tool for determining the main trend in the stock market.
    2. MACD has a unique analysis ability for medium to long-term investment and is quite accurate in confirming large amplitude trends. The cyclical nature of MACD helps wave theory researchers confirm the amplitude of trends.
    3. MACD can reduce 52% of false breakouts in moving averages, reducing ineffective trades and improving profitability.
    4. After a significant rise, MACD and DIF often "tangle," making buy signals less reliable and unsuitable for use.

KDJ (Stochastic Oscillator)

  1. Introduction
    The stochastic oscillator, initially used for futures market analysis, is now widely used for short to medium-term trend analysis in the stock market. It calculates the unrefined stochastic value (RSV) of the last calculation period based on the highest price, lowest price, and closing price over a specific period (often 9 days or weeks). Using the smoothed moving average method, it calculates the K, D, and J values and draws a curve to analyze the stock trend.

     

  2. Calculation Formula
    1. The KDJ indicator calculates the overbought and oversold conditions over a specific period (n days or weeks).
    2. First, calculate the RSV value, then the K, D, and J values.
    3. Generally, n is taken as 9 days.
    4. RSV (n days) = (Cn - Ln) / (Hn - Ln) * 100
    5. Cn: Closing price on the nth day
    6. Ln: Lowest price in n days
    7. Hn: Highest price in n days
    8. Next, calculate the K and D values: K = 2/3 * Previous Day's K + 1/3 * Current RSV D = 2/3 * Previous Day's D + 1/3 * Current K J = 3 * Current K - 2 * Current D

  3. Application
    1. The K line is the fast confirmation line - values above 90 are overbought, values below 10 are oversold.
    2. The D line is the slow main line - values above 80 are overbought, values below 20 are oversold.
    3. The J line is the direction-sensitive line. When the J value is above 90, especially for more than 5 days, the stock price will at least form a short-term top. Conversely, when the J value is below 10, especially for several days, the stock price will at least form a short-term bottom.
    4. When the K value gradually exceeds the D value, shown by the K line crossing above the D line on the chart, it is called a golden cross, indicating a buy signal.
    5.
    In practice, when the K and D lines cross below 20, the short-term buy signal is more accurate. If the K value is below 50 and crosses the D value twice from below, forming a "W bottom" shape with the right bottom higher than the left, the stock price is likely to have a considerable rise.
    6. When the K value gradually falls below the D value, shown by the K line crossing below the D line on the chart, it is called a death cross, indicating a sell signal.
    7. In practice, when the K and D lines cross above 80, the short-term sell signal is more accurate. If the K value is above 50 and crosses the D value twice from above, forming an "M top" shape with the right top lower than the left, the stock price is likely to have a considerable drop.
    8. Analyzing the divergence between KDJ and stock prices to determine tops and bottoms is also a practical method:
    9. When the stock price hits new highs, but the KD value does not, it is a negative divergence and a sell signal.
    10. When the stock price hits new lows, but the KD value does not, it is a positive divergence and a buy signal.
    11.
    When the stock price does not hit new highs, but the KD value does, it is a negative divergence and a sell signal.
    12.
    When the stock price does not hit new lows, but the KD value does, it is a positive divergence and a buy signal. 13. Note that the KDJ divergence method should only compare with the KD value of the previous high or low point, not skipping points.

  4. Features
    1. The KD line combines momentum concepts, relative strength index (RSI), and moving averages, making it suitable for medium and short-term operations.
    2.
    The D value is derived from the K value, making it smoother.
    3.
    Short-term overbought or oversold signals are more accurate than RSI, providing clear buy and sell points.
    4.
    It can analyze stock or market trends from its fluctuations, making it a highly referential technical indicator.
    5.
    The indicator is less applicable to stocks with low trading volumes but more accurate for popular stocks.

BOLL (Bollinger Bands)

  1. Introduction
    Bollinger Bands calculate the "standard deviation" of stock prices and then determine the "confidence interval" of stock prices. The indicator draws three lines on the chart, with the upper and lower lines acting as resistance and support lines, and a middle line representing the average stock price. The stock price fluctuates within the upper and lower bands, and the width of this band varies with the stock price volatility. Bollinger Bands usually use a 20-day parameter.



  2. Calculation Formula
    1. Middle Band = N-day Moving Average
    2. Upper Band = Middle Band + 2 * Standard Deviation
    3. Lower Band = Middle Band - 2 * Standard Deviation

  3. Application
    1. When the stock price crosses the upper resistance line, it is a sell signal.
    2. When the stock price crosses the lower support line, it is a buy signal.
    3. When the stock price crosses the middle line from below, it is a signal to add positions and is considered a potential bullish signal.
    4. When the stock price crosses the middle line from above, it is a sell signal and is considered a potential bearish signal.

  4. Features
    1. When the stock price breaks through the upper band with volume and the TRIX indicator has already issued a low "golden cross," it indicates that the stock price is about to enter a medium to long-term upward channel, a buy signal from the BOLL indicator. Investors should buy stocks promptly.
    2. After the Bollinger Bands have been moving narrowly at the bottom for a long time, if the stock price breaks through the upper band with volume and the narrow Bollinger Band channel suddenly opens upward, it indicates that the stock price is about to leave the original horizontal channel and enter a new upward channel, a buy signal from the BOLL indicator.
    3. When the stock price breaks through the middle band downward, and the TRIX indicator has issued a high "death cross," it indicates that the stock price is about to enter a medium to long-term downward channel, a sell signal from the BOLL indicator. Investors should sell their holdings promptly.
    4. After the Bollinger Bands have been moving narrowly at the top for a long time, if the stock price breaks through the lower band downward and the narrow Bollinger Band channel suddenly opens downward, it indicates that the stock price is about to leave the original horizontal channel and enter a new downward channel, a sell signal from the BOLL indicator.
滚动至顶部