Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "roc"

Index

Functions

Functions

roc

  • roc(period: number): Transducer<number, number>
  • roc(period: number, src: Iterable<number>): IterableIterator<number>
  • Rate of change.

    https://en.wikipedia.org/wiki/Momentum_(technical_analysis)

    Note: the number of results will be period less than the number of processed inputs and no outputs will be produced if there were less than period input values.

    Parameters

    • period: number

      -

    Returns Transducer<number, number>

  • Parameters

    • period: number
    • src: Iterable<number>

    Returns IterableIterator<number>

Generated using TypeDoc