STOCHF (Stochastic Fast)

Indicator Description

STOCHF (Stochastic Fast) is a variant of the STOCH indicator that measures the strength of price momentum by comparing the current price to the highest and lowest prices over a specified period, but uses a faster calculation method.

Function Information

  • Function Name: STOCHF
  • Input Parameters:
    • High: High price
    • Low: Low price
    • Close: Closing price
  • Parameter Settings:
    • fastk_period: Fast K period, default 5
    • fastd_period: Signal line period, default 3
    • fastd_matype: Signal line moving average type, default 0
  • Output:
    • fastk: Fast K line
    • fastd: Fast D line

Calculation Principle

STOCHF is calculated using the following formula:

%K = 100 * (Close - Lowest Low) / (Highest High - Lowest Low)
%D = SMA(%K, fastd_period)

Where:

  • Close is the current closing price
  • Lowest Low is the lowest price in the period
  • Highest High is the highest price in the period
  • SMA is Simple Moving Average

Usage Scenarios

  1. Overbought/Oversold Analysis
  2. Trend Confirmation
  3. Trading Signal Generation
  4. Divergence Analysis

Usage Recommendations

  1. %K > 80 indicates overbought conditions
  2. %K < 20 indicates oversold conditions
  3. Watch for %K and %D crossovers
  4. Pay attention to divergence patterns
Last Updated: