SwingIndex(Limit Move Value)
SI(Limit Move Value)
The Swing Index (Wilder) is a popular indicator that shows comparative price strength within a single security by comparing the current open, high, low, and close prices with previous prices.
The Swing Index is a component of the Accumulation Swing Index.
Limit Move Value: 1
set BUY = SI(1) > 0
Evaluates to buy when the Swing Index is in positive territory.