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

offset is a price distance: the stop rides offset behind the running best. More...

#include <native_order.hpp>

Data Fields

double offset = 0.0
 
std::optional< double > arm_price
 
std::optional< TrailTicksticks = std::nullopt
 

Detailed Description

offset is a price distance: the stop rides offset behind the running best.

Zero is legal and means "ride the best": the exit is the first adverse move past it. Negative and nonfinite offsets are rejected.

Definition at line 266 of file native_order.hpp.

Field Documentation

◆ offset

double pineforge::native_order::native_order_v6::Trail::offset = 0.0

Definition at line 267 of file native_order.hpp.

◆ arm_price

std::optional<double> pineforge::native_order::native_order_v6::Trail::arm_price

Definition at line 268 of file native_order.hpp.

◆ ticks

std::optional<TrailTicks> pineforge::native_order::native_order_v6::Trail::ticks = std::nullopt

Definition at line 269 of file native_order.hpp.


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