Exit Based on Traded Value — Tradetron Community
← Community

Exit Based on Traded Value

Strategy 2,539 views

Rajkumar

If I put this condition in Universal Exit, will the strategy exit when PnL is more than 10% of traded value of the two legs. The two legs have different entry sets.

Ujjwal

It should I believe. Try it over paper trading

Rajkumar

If a strategy is set to Reactivate on exit after 2 minutes, will it reactivate if the strategy exits based on Universal Exit condition?

Tradetron Team Tradetron team

No, that condition will not measure your own trade value. The Traded Value keyword returns the instrument’s total turnover on the exchange, not the value of your positions. So “PnL > 10% of Traded Value” compares your PnL against a very large exchange number and will almost never fire.

What to use instead

Build the value of your two legs from the Traded Instrument keyword (it reads the price and quantity of the leg you actually traded), then compare PNL with 10% of it in Universal Exit:

  1. Leg value = Traded Instrument(Entry, price, <underlying>, set, condition, leg) × the leg’s quantity.
  2. Add the two leg values with Math Operation (+). It does not matter that the legs sit in different entry sets: just point each Traded Instrument at its own set / condition / leg number.
  3. Universal Exit: PNL >= Math Operation(<sum of leg values>, Number(0.10), '*').

Test it in Live Offline and check the Notification Log before you go live.

Reactivation after a Universal Exit

A Universal Exit closes the whole run (run counter) and clears all runtime variables. Whether your deployment then re-activates after 2 minutes depends on your deployment settings. Watch one cycle in Live Offline to confirm, or check with support (chat on tradetron.tech).

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