Do not hit Universal exit if repair once condition is satisfied — Tradetron Community
← Community

Do not hit Universal exit if repair once condition is satisfied

Uncategorized 831 views

TradetronTrader

How to “do not hit Universal exit if repair once condition is satisfied”

KANIGIRI SRINIVASA RAO

use NET QUANTITY keyword
NETQUANTITY !=0
then give condition to exit in universal exit

Tradetron Team Tradetron team

Use a runtime variable as a flag and check it in the Universal Exit.

  1. Initialize rep_done = Number(1).
  2. In the Repair Once block’s Runtime section, write rep_done = Number(2).
  3. In the Universal Exit, add Get Runtime(rep_done) == Number(1) with AND to your exit logic. After the repair fires, that part is false, so the Universal Exit does not trigger.

Keep your end-of-day time exit as a separate OR group so the strategy still closes at the end of the day. Net Quantity (reply #2) gives the open quantity of one instrument across the whole strategy, so it only works if the repair trades a different instrument.

:sparkles: Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.