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

#include <pine_ta_length.hpp>

Public Member Functions

template<class Length, class = std::enable_if_t<std::is_arithmetic<Length>::value>>
 PineEma (Length length)
 
double compute (double src)
 
double recompute (double src)
 
void observe_owned_storage (OwnedStorage &out) const noexcept
 

Detailed Description

Definition at line 144 of file pine_ta_length.hpp.

Constructor & Destructor Documentation

◆ PineEma()

template<class Length, class = std::enable_if_t<std::is_arithmetic<Length>::value>>
pineforge::source::PineEma::PineEma ( Length length)
inlineexplicit

Definition at line 157 of file pine_ta_length.hpp.

References pineforge::source::ta_length_number().

Member Function Documentation

◆ compute()

double pineforge::source::PineEma::compute ( double src)
inline

Definition at line 158 of file pine_ta_length.hpp.

◆ recompute()

double pineforge::source::PineEma::recompute ( double src)
inline

Definition at line 159 of file pine_ta_length.hpp.

◆ observe_owned_storage()

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

Definition at line 160 of file pine_ta_length.hpp.

References pineforge::observe_owned_storage().


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