Indicator Description
KC (Keltner Channel) is a volatility indicator that reflects the market's volatility range and trend changes by calculating the middle line of price and the upper and lower bands based on ATR.
Function Information
- Function Name: KC
- Input Parameters: High, Low, Close
- Parameter Settings: timeperiod1 (default: 21), timeperiod2 (default: 13)
- Output: up, low
Calculation Principle
KC is calculated using the following formula:
MID = MA(Close, timeperiod1)
UPPER = MID + ATR(timeperiod2) * 2
LOWER = MID - ATR(timeperiod2) * 2Where MA is the moving average and ATR is the Average True Range.
Usage Scenarios
- Volatility range judgment
- Overbought and oversold analysis
- Trend strength confirmation
- Trading signal generation
Usage Recommendations
- Price breaking above the upper band can be seen as a sell signal
- Price breaking below the lower band can be seen as a buy signal
- Use in combination with the middle line
- Pay attention to changes in channel width