Chartbreaker
    Preparing search index...

    Function calculateVWAP

    • config.sessionLength set to 0 will treat the entire indexRange as the session. In this case, the returned startIndex will be identical to indexRange.start.

      Parameters

      • getValue: (index: number) => number
      • volumeData: number[] | Float64Array<ArrayBufferLike>
      • identifiers: number[]
      • indexRange: { end: number; start: number }
      • config: {
            bandType: "stddev" | "perc";
            bandValue?: number;
            candleInfo: DataTMetaData;
            sessionLength: ESpans | null;
        }

      Returns CalculateVWAPResult