Repair condition having traded instrument is getting triggered after the set exit. Any solution?
Repair condition having traded instrument is getting triggered after the set exit. Any solution?
Traded Instrument keeps returning the old leg’s values after the set exits, so a repair condition built on it can stay true. Add a check that the position is still open.
Add this with AND to the repair condition:
Open Positions Detail('All', 'All', <underlying>, 'count') > Number(0)
Open Positions Detail counts only instruments that are open right now; a squared-off instrument drops out. So the repair can’t fire once the set is flat.
Repair: LTP(<leg>) >= Traded Instrument(Entry, price, ...) + Number(30) AND the open-positions check above. After the set exits, the count is 0 and the repair stays quiet.
Avoid Positions Detail for this: it counts closed trades too.
Test in Live Offline and check the Notification Log. Keyword reference: 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.