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

#include <ta.hpp>

Data Structures

struct  Result
 

Public Member Functions

 ExtremeRing (int length, WindowCacheCapacity cache=window_cache_capacity())
 
Result update (double src, bool advance, bool want_max)
 
WindowCacheStats cache_stats () const
 
void observe_owned_storage (OwnedStorage &out) const noexcept
 

Detailed Description

Definition at line 139 of file ta.hpp.

Constructor & Destructor Documentation

◆ ExtremeRing()

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

Member Function Documentation

◆ update()

Result pineforge::ta::ExtremeRing::update ( double src,
bool advance,
bool want_max )

◆ cache_stats()

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

Definition at line 156 of file ta.hpp.

◆ observe_owned_storage()

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

Definition at line 176 of file ta.hpp.

References pineforge::observe_owned_members().


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