Node reference

Drawdown

Current drop from the equity peak.

Rev. 2026.06

Drawdownstate
No inputsOutputs
Drawdown
Drawdown
main · number

What it does

How far equity has fallen from its highest point so far, from the run's performance.

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.

When to use

Risk gates — stop opening new trades when drawdown is deep.

Gotchas

  • This is the CURRENT drawdown; use Max Drawdown for the worst seen.
  • Compare it against a threshold.