PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::source::SeriesVwma Class Reference

#include <pine_ta_series_ma.hpp>

Public Member Functions

 SeriesVwma ()
 
 SeriesVwma (WindowCacheCapacity cache)
 
double compute (double source, double volume, double current_length)
 
double recompute (double source, double volume, double current_length)
 
void observe_owned_storage (OwnedStorage &out) const noexcept
 

Detailed Description

Definition at line 409 of file pine_ta_series_ma.hpp.

Constructor & Destructor Documentation

◆ SeriesVwma() [1/2]

pineforge::source::SeriesVwma::SeriesVwma ( )
inline

Definition at line 411 of file pine_ta_series_ma.hpp.

References SeriesVwma(), and pineforge::window_cache_capacity().

Referenced by SeriesVwma().

◆ SeriesVwma() [2/2]

pineforge::source::SeriesVwma::SeriesVwma ( WindowCacheCapacity cache)
inlineexplicit

Definition at line 412 of file pine_ta_series_ma.hpp.

Member Function Documentation

◆ compute()

double pineforge::source::SeriesVwma::compute ( double source,
double volume,
double current_length )
inline

Definition at line 413 of file pine_ta_series_ma.hpp.

◆ recompute()

double pineforge::source::SeriesVwma::recompute ( double source,
double volume,
double current_length )
inline

Definition at line 416 of file pine_ta_series_ma.hpp.

◆ observe_owned_storage()

void pineforge::source::SeriesVwma::observe_owned_storage ( OwnedStorage & out) const
inlinenoexcept

Definition at line 419 of file pine_ta_series_ma.hpp.


The documentation for this class was generated from the following file: