Function find_swing_points

Source
pub fn find_swing_points(
    df: &DataFrame,
    _atr_period: usize,
    _trend_period: usize,
) -> Result<Series, PolarsError>
Expand description

Find potential swing points using ATR and trend

ยงArguments

  • df - DataFrame with OHLC data
  • atr_period - Period for ATR calculation
  • trend_period - Period for trend identification