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

#include <ta.hpp>

Public Member Functions

 EMA (int length)
 
 EMA (int length, EmaSeeding seeding)
 
double compute (double src)
 
void save ()
 
void restore ()
 
double recompute (double src)
 
void observe_owned_storage (OwnedStorage &) const noexcept
 

Detailed Description

Definition at line 272 of file ta.hpp.

Constructor & Destructor Documentation

◆ EMA() [1/2]

pineforge::ta::EMA::EMA ( int length)
explicit

◆ EMA() [2/2]

pineforge::ta::EMA::EMA ( int length,
EmaSeeding seeding )

Member Function Documentation

◆ compute()

double pineforge::ta::EMA::compute ( double src)

◆ save()

void pineforge::ta::EMA::save ( )

◆ restore()

void pineforge::ta::EMA::restore ( )

◆ recompute()

double pineforge::ta::EMA::recompute ( double src)

◆ observe_owned_storage()

void pineforge::ta::EMA::observe_owned_storage ( OwnedStorage & ) const
inlinenoexcept

Definition at line 305 of file ta.hpp.


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