Accumulative Swing Index - FXB.ta.ASI

The FXB.ta.ASI class calculates accumulative swing index - simply the running total of the swing index. It is a bar-based calculation, and requires candle data as an input. Parameters are the same as for the swing index:

Parameter

Description

limit

Movement limit value, defaulting to 0.5

Note: because it is a running total, the value changes depending on the starting point/length of candle history. It is therefore mostly useful as a relative measure, not as an absolute value.