|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
One risk threshold (L9). More...
#include <native_run_spec.hpp>
Data Fields | |
| double | value = 0.0 |
| bool | percent = false |
One risk threshold (L9).
value is account currency when percent is false, and a percentage of the limit's own basis equity — the running peak for a drawdown, the day's opening equity for an intraday loss — when it is true. Percent is out of 100: 2.5 means two and a half percent.
Definition at line 258 of file native_run_spec.hpp.
| double pineforge::native_run_spec_v3::NativeLossLimit::value = 0.0 |
Definition at line 259 of file native_run_spec.hpp.
| bool pineforge::native_run_spec_v3::NativeLossLimit::percent = false |
Definition at line 260 of file native_run_spec.hpp.