What does condition number mean in Leg Exit keword? — Tradetron Community
← Community

What does condition number mean in Leg Exit keword?

Strategy 1,159 views

Gnanavel

I am having difficulty in understanding the condition number in Leg Exit keyword?

If my entry condition is:

Does it mean:
Condition Number 1 will be LTP(Traded Instrument) > 190
Condition Number 2 will be Position Detail == 0

Tradetron Team Tradetron team

Condition number means which block of that type, not which line inside your condition.

  • For Entry, it is always 1 (there is one entry block per set).
  • For Repair Once, 1 = the first Repair Once block in the set, 2 = the second, and so on.

So Leg Exit(..., 'Entry', <underlying>, 1, 1, 1, ...) means set 1, the Entry block, leg 1. The lines inside your condition (LTP > 190, Position Detail == 0) do not have numbers.

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

Tradetron अब हिन्दी में भी उपलब्ध है हिन्दी में देखें Continue in English