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

#include <pine_ta_series_ma.hpp>

Data Structures

struct  Arguments
 

Public Types

using Fixed = ta::ALMA
 

Static Public Member Functions

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

Static Public Attributes

static constexpr bool kRecordsNa = true
 

Detailed Description

Definition at line 298 of file pine_ta_series_ma.hpp.

Member Typedef Documentation

◆ Fixed

Member Function Documentation

◆ build()

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

◆ feed()

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

Definition at line 314 of file pine_ta_series_ma.hpp.

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

◆ missing()

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

Definition at line 315 of file pine_ta_series_ma.hpp.

References pineforge::na< double >().

Field Documentation

◆ kRecordsNa

bool pineforge::source::series_ma_detail::AlmaWindow::kRecordsNa = true
staticconstexpr

Definition at line 309 of file pine_ta_series_ma.hpp.


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