Exit iron fly at breakeven — Tradetron Community
← Community

Exit iron fly at breakeven

Keyword help 1,553 views

Raj

Hi all,
I have deployed iron fly and want to exit the sold position once it reaches breakeven point.

Note: I have looked at find strike in the condition builder, but no sure this will work

Pls help, thanks in advance…

yuvaraj_tradetron

Find how Breakeven is calculated. Then use runtime variables and calculate Breakeven in your strategy.

Tradetron Team Tradetron team

There is no breakeven keyword, but you can compute it. For an iron fly (short ATM straddle plus long wings):

  • Net credit = premium of the two sold legs − premium of the two bought legs.
  • Upper breakeven = short strike + net credit.
  • Lower breakeven = short strike − net credit.

Steps

  1. Read each leg’s entry premium with Traded Instrument (field price, with that leg’s set / condition / leg), and the short strike with field strike.
  2. Optionally store the net credit in a runtime variable in the Entry block (written right after the legs are taken).
  3. Exit (spot): LTP(<underlying>) >= strike + credit OR LTP(<underlying>) <= strike − credit. Use Math Operation for the sums.
  4. To exit only the sold legs, put this in a Repair Once that squares off those legs; to close everything, use the Set Exit.

Example

Short 24,000 CE+PE for 300, wings cost 100 → credit 200 → breakevens 24,200 and 23,800 (numbers only for illustration).

Test in Live Offline before going live.

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