Node reference

Closed Trade PnL

PnL of the indexed CLOSED trade. 0 if out of range / none. Side-filterable.

Rev. 2026.06

Closed Trade PnLstate
No inputsOutputs
Closed Trade PnL
PnL
main · number
Configure
index
default -1
side
— Which book to read — net, long, or short
default net

What happens

Read from the engine's live execution context each candle — it reflects the current run (position, equity, time, trade history), not a computed indicator.