|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI 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< TrailTicks > | ticks = std::nullopt |
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.
| double pineforge::native_order::native_order_v6::Trail::offset = 0.0 |
Definition at line 267 of file native_order.hpp.
| std::optional<double> pineforge::native_order::native_order_v6::Trail::arm_price |
Definition at line 268 of file native_order.hpp.
| std::optional<TrailTicks> pineforge::native_order::native_order_v6::Trail::ticks = std::nullopt |
Definition at line 269 of file native_order.hpp.