Node reference

Position Entry Price

Average entry price of the current position; 0 if flat.

Rev. 2026.06

Position Entry Pricestate
No inputsOutputs
Position Entry Price
Price
main · number
Configure
side
— Which book to read — net, long, or short
default net

What it does

The average fill price of the position you currently hold.

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

Distance-to-entry logic and custom stops/targets.

Gotchas

  • Reads 0 when flat — guard before dividing by it.