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

#include <pine_ta_length.hpp>

Public Member Functions

 SeriesSma ()
 
 SeriesSma (WindowCacheCapacity cache)
 
 SeriesSma (const SeriesSma &)=default
 
SeriesSma & operator= (const SeriesSma &)=default
 
double compute (double source, double current_length)
 
double recompute (double source, double current_length)
 
void observe_owned_storage (OwnedStorage &out) const noexcept
 

Detailed Description

Definition at line 523 of file pine_ta_length.hpp.

Constructor & Destructor Documentation

◆ SeriesSma() [1/3]

pineforge::source::SeriesSma::SeriesSma ( )
inline

Definition at line 525 of file pine_ta_length.hpp.

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

Referenced by operator=(), SeriesSma(), and SeriesSma().

◆ SeriesSma() [2/3]

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

Definition at line 526 of file pine_ta_length.hpp.

◆ SeriesSma() [3/3]

pineforge::source::SeriesSma::SeriesSma ( const SeriesSma & )
default

References SeriesSma().

Member Function Documentation

◆ operator=()

SeriesSma & pineforge::source::SeriesSma::operator= ( const SeriesSma & )
default

References SeriesSma().

◆ compute()

double pineforge::source::SeriesSma::compute ( double source,
double current_length )

Definition at line 578 of file pine_ta_length.cpp.

◆ recompute()

double pineforge::source::SeriesSma::recompute ( double source,
double current_length )

Definition at line 582 of file pine_ta_length.cpp.

◆ observe_owned_storage()

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

Definition at line 532 of file pine_ta_length.hpp.


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