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

#include <pine_ta_series_ma.hpp>

Public Types

using Fixed = ta::WMA
 
using Arguments = NoArguments
 

Static Public Member Functions

static void build (std::optional< Fixed > &out, int length, const Arguments &, WindowCacheCapacity cache)
 
static void feed (Fixed &fixed, double sample)
 
static double missing ()
 

Static Public Attributes

static constexpr bool kRecordsNa = false
 

Detailed Description

Definition at line 274 of file pine_ta_series_ma.hpp.

Member Typedef Documentation

◆ Fixed

◆ Arguments

Member Function Documentation

◆ build()

static void pineforge::source::series_ma_detail::WmaWindow::build ( std::optional< Fixed > & out,
int length,
const Arguments & ,
WindowCacheCapacity cache )
inlinestatic

Definition at line 278 of file pine_ta_series_ma.hpp.

◆ feed()

static void pineforge::source::series_ma_detail::WmaWindow::feed ( Fixed & fixed,
double sample )
inlinestatic

Definition at line 282 of file pine_ta_series_ma.hpp.

References pineforge::ta::WMA::compute().

◆ missing()

static double pineforge::source::series_ma_detail::WmaWindow::missing ( )
inlinestatic

Definition at line 283 of file pine_ta_series_ma.hpp.

References pineforge::na< double >().

Field Documentation

◆ kRecordsNa

bool pineforge::source::series_ma_detail::WmaWindow::kRecordsNa = false
staticconstexpr

Definition at line 277 of file pine_ta_series_ma.hpp.


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