depth property

double depth
final

How far price must reverse, in percent, to end a swing.

Zero — the default — sizes it from the candles, so the swings suit the market being looked at rather than a number that fits one timeframe.

Implementation

final double depth;