SL/TP & Risk — exit guide
SL Calc and TP Calc output a "distance", not a price — Signal converts it to a price based on direction: long puts SL below price and TP above it, short does the reverse.RR override: if in-tp is connected directly into Signal, the rr param on Signal gets overridden (the connected TP value is used instead). rr only applies when in-tp is not connected.Trailing stop (recommended): enable the trailing toggle on SignalNode and connect ATR into in-atr. The engine moves SL with price every bar and SL never moves backward. Once profit reaches trailing_be×ATR, SL moves to breakeven, then trails at trailing_step×ATR from price. This separates exit policy from how the SL distance is calculated, so an indicator-based SL (e.g. EMA50−ATR via Math) can be used together with trailing.
SL Calc modes
atr_mult— SL distance = ATR × multiplier — widens automatically as the market gets more volatile (recommended default: 1.5×ATR)fixed— SL distance = the value connected directly into in-value — create a constant with Math(add, const_b=distance) with no input connectedpct— SL distance = close × multiplier / 100 — a proportion of pricetrailing— Legacy mode: trailing tied to SLCalc — using trailing on SignalNode instead is recommended, since it separates exit policy from how the SL distance is calculated (lets you use SL=EMA50−ATR together with trailing)
TP Calc modes
rr— TP distance = SL distance × rr — controls RR directly (recommended), requires in-sl connected from SLCalcatr_mult— TP distance = ATR × multiplier — independent of SLfixed— TP distance = the value connected directly into in-valuepct— TP distance = close × multiplier / 100