Swing index - FXB.ta.SwingIndex

The FXB.ta.SwingIndex class calculates the Swing index. It is a bar-based calculation, and requires candle data as an input. Parameters are as follows:

Parameter

Description

limit

Movement limit value, defaulting to 0.5