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 priceLow: Low priceClose: Closing price
- Parameter Settings:
fastk_period: Fast K period, default 5fastd_period: Signal line period, default 3fastd_matype: Signal line moving average type, default 0
- Output:
fastk: Fast K linefastd: 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
- Overbought/Oversold Analysis
- Trend Confirmation
- Trading Signal Generation
- Divergence Analysis
Usage Recommendations
- %K > 80 indicates overbought conditions
- %K < 20 indicates oversold conditions
- Watch for %K and %D crossovers
- Pay attention to divergence patterns