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

#include <pine_ta_length.hpp>

Public Member Functions

template<class Length>
 PineKc (Length length, double mult, bool use_true_range=true)
 
ta::KCResult compute (double src, double high, double low, double close)
 
ta::KCResult recompute (double src, double high, double low, double close)
 
void observe_owned_storage (OwnedStorage &out) const noexcept
 

Detailed Description

Definition at line 219 of file pine_ta_length.hpp.

Constructor & Destructor Documentation

◆ PineKc()

template<class Length>
pineforge::source::PineKc::PineKc ( Length length,
double mult,
bool use_true_range = true )
inline

Definition at line 233 of file pine_ta_length.hpp.

References pineforge::source::ta_length_number().

Member Function Documentation

◆ compute()

ta::KCResult pineforge::source::PineKc::compute ( double src,
double high,
double low,
double close )
inline

Definition at line 235 of file pine_ta_length.hpp.

◆ recompute()

ta::KCResult pineforge::source::PineKc::recompute ( double src,
double high,
double low,
double close )
inline

Definition at line 238 of file pine_ta_length.hpp.

◆ observe_owned_storage()

void pineforge::source::PineKc::observe_owned_storage ( OwnedStorage & out) const
inlinenoexcept

Definition at line 241 of file pine_ta_length.hpp.

References pineforge::observe_owned_storage().


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