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

#include <ta.hpp>

Public Member Functions

 WMA (int length, WindowCacheCapacity cache=window_cache_capacity())
 
double compute (double src)
 
double recompute (double src)
 
WindowCacheStats cache_stats () const
 
void observe_owned_storage (OwnedStorage &out) const noexcept
 

Detailed Description

Definition at line 450 of file ta.hpp.

Constructor & Destructor Documentation

◆ WMA()

pineforge::ta::WMA::WMA ( int length,
WindowCacheCapacity cache = window_cache_capacity() )
explicit

Member Function Documentation

◆ compute()

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

◆ recompute()

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

◆ cache_stats()

WindowCacheStats pineforge::ta::WMA::cache_stats ( ) const
inline

Definition at line 463 of file ta.hpp.

◆ observe_owned_storage()

void pineforge::ta::WMA::observe_owned_storage ( OwnedStorage & out) const
inlinenoexcept

Definition at line 465 of file ta.hpp.

References pineforge::observe_owned_members().


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