Multiple Repair once condition dependancy — Tradetron Community
← Community

Multiple Repair once condition dependancy

Keyword help 1,418 views

Pratik Solanki

Hi,

  1. suppose I have created two repair condition for example repair 1 and repair 2. now I want to check in repair 3 condition that Repair1 condition should be executed and repair 2 condition should not be executed. .
    I have added condition like repair 13 in my code should not be executed. and repair 1 should be executed. some how this is not working.

Any help suggestion , how to code this scenario ?

Tradetron Team Tradetron team

Use runtime flags instead of checking “was repair X executed”:

  1. Initialize r1 = Number(1) and r2 = Number(1).
  2. In Repair Once 1 → runtime, write r1 = Number(2).
  3. In Repair Once 2 → runtime, write r2 = Number(2).
  4. In Repair Once 3, add Get Runtime(r1) == Number(2) AND Get Runtime(r2) == Number(1).

Remember: if a repair squares off all positions, the set stops checking repairs and returns to Entry. A follow-on trade then needs a new set.

Keywords: Keyword Documentation — Tradetron

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