PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::engine_script_run_v18::NativeTrailState Struct Reference

Read-only projection of a live generic Trail request. More...

#include <native_host.hpp>

Data Fields

bool activated = false
 
double best_price = 0.0
 
double current_level = 0.0
 
std::uint64_t activation_ordinal = 0
 

Detailed Description

Read-only projection of a live generic Trail request.

Before its arm is reached, activated is false and the numeric/ordinal fields are zero. Once armed, best_price and current_level are the exact raw matcher values and activation_ordinal identifies the TrailArm event that began tracking.

Definition at line 611 of file native_host.hpp.

Field Documentation

◆ activated

bool pineforge::engine_script_run_v18::NativeTrailState::activated = false

Definition at line 612 of file native_host.hpp.

◆ best_price

double pineforge::engine_script_run_v18::NativeTrailState::best_price = 0.0

Definition at line 613 of file native_host.hpp.

◆ current_level

double pineforge::engine_script_run_v18::NativeTrailState::current_level = 0.0

Definition at line 614 of file native_host.hpp.

◆ activation_ordinal

std::uint64_t pineforge::engine_script_run_v18::NativeTrailState::activation_ordinal = 0

Definition at line 615 of file native_host.hpp.


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