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
 

Detailed Description

Definition at line 392 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 405 of file ta.hpp.


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