screamer.js
    Preparing search index...

    Function Hold

    • Time-latch operator. Latches a nonzero finite input and holds it for n bars; returns the release value once the hold expires.

      Parameters

      • n: number

        Number of bars to hold the latched value, including the trigger bar. Must be >= 1.

      • release: number = 0.0

        Value returned when no hold is active and the input is zero. May be finite or NaN.

      Returns ScreamerOp

      https://screamer.readthedocs.io/en/latest/ for the Python reference and full details.