OSC (Oscillator)

Indicator Description

OSC (Oscillator) is a momentum indicator that reflects the overbought and oversold state and trend changes in the market by calculating the difference between price and moving average.

Function Information

  • Function Name: OSC
  • Input Parameters: Open
  • Parameter Settings: timeperiod1 (default: 13), timeperiod2 (default: 5)
  • Output: osc, aosc

Calculation Principle

OSC reflects the overbought and oversold state of the market by calculating the difference between price and moving average. When OSC is positive, it means the price is above the moving average; when OSC is negative, it means the price is below the moving average.

Application Scenarios

  1. Overbought and oversold judgment
  2. Trend strength analysis
  3. Price mean reversion prediction
  4. Trading signal generation

Usage Suggestions

  1. OSC turning from negative to positive can be seen as a buy signal
  2. OSC turning from positive to negative can be seen as a sell signal
  3. Use in combination with moving averages
  4. Pay attention to overbought and oversold thresholds
Last Updated: