What this does
This plug resolves the token at a caller-supplied index and writes its computed SMA weight target into the socket's weights map at that slot. It asks the caller for an index naming the token slot and an sma_window setting the moving-average window length. It fires whenever run, composing the Get Weight Target plug to derive the weight from the token read at that index. Setting the weight by hand or from a stale window risks storing a target that no longer reflects the token's current moving average.
Actions · 3



Related plugs · 8