Can anyone hlp me with finding pnl of an exited leg.
Difficulties…
traded instrument with pnl wont fetch it coz pnl key work with eqn LTP-entry. for an exited leg ltp condition will be false.
Any input is much appreciated .
Can anyone hlp me with finding pnl of an exited leg.
Difficulties…
traded instrument with pnl wont fetch it coz pnl key work with eqn LTP-entry. for an exited leg ltp condition will be false.
Any input is much appreciated .
Once a leg is exited, LTP no longer tells you its P&L. Store it at exit time:
leg1pnl, and set it with Traded Instrument field pnl for that leg. This is calculated as (LTP − entry price) × quantity at that moment.Runtime variables write after the condition’s leg is taken. A Universal Exit clears them.
Guide: Runtime Variables in Tradetron — Capture Once, Use Anywhere | Tradetron Helpdesk · Keywords: Keyword Documentation — Tradetron
Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.
Request received. Pick a time now, or close this and we'll call you to set one up.
The calendar didn't load here. Open the booking page ↗
Booked. The calendar invite is on its way to your email.
Tradetron's AI assistant — pricing, brokers, strategies, anything.
AI can make mistakes. Consider checking important information.
How good was it?
We store the question and the answer with your report so the team can audit it.