Back to builder reference

Spec

SwingSpec

Swing point detection parameters.

A swing low = bar where low < low[i-strength:i] AND low < low[i+1:i+strength+1]. Swing is only confirmed after 'strength' bars pass (introduces latency).

Required fields

strengthreqintegerBars on each side to confirm swing

Optional fields

min_prominence_atrnumberMinimum prominence in ATR units (0 = no filter)
selectionenum: most_recent, most_extremeWhich swing to return: most_recent or most_extreme in lookback

Used by

Conditions that embed this spec in one of their fields.

Quawd

A subscription SaaS platform for designing, backtesting, and paper-trading algorithmic trading strategies on equities and crypto — described in plain English to an AI agent, no code required.

© 2026 Quawd. All rights reserved.

Quawd is a software tool, not a broker-dealer or investment adviser, and does not provide investment advice. Trading involves substantial risk of loss. Backtested and hypothetical results have inherent limitations and are not indicative of future performance.