WebsiteLive demosGuidesSource
  • Preparing search index...
  • The search index is not available
OpenAlgo Charts API - v2.6.9
  • OpenAlgo Charts API
  • index
  • sourceValues

Function sourceValues

  • sourceValues(bars: readonly Bar[], source: IndicatorSource): number[]
  • Read a price source or an explicitly resolved scalar study output.

    Parameters

    • bars: readonly Bar[]
    • source: IndicatorSource

    Returns number[]

    • Defined in src/model/indicator-registry.ts:1160
  • sourceValues(
        bars: readonly Bar[],
        source: IndicatorStudySource | IndicatorSource,
        context?: Pick<IndicatorCalcContext, "resolveSource">,
    ): (number | null)[]
  • Read a price source or an explicitly resolved scalar study output.

    Parameters

    • bars: readonly Bar[]
    • source: IndicatorStudySource | IndicatorSource
    • Optionalcontext: Pick<IndicatorCalcContext, "resolveSource">

    Returns (number | null)[]

    • Defined in src/model/indicator-registry.ts:1161

Settings

Member Visibility
WebsiteLive demosGuidesSource
OpenAlgo Charts API - v2.6.9
  • Loading...

Generated using TypeDoc

Build your next market experience.Explore live demosAPI definitions generated from the current source with every website deployment.