Strike Selection based on counter position — Tradetron Community
← Community

Strike Selection based on counter position

Strategy 1,191 views

Dhruva

Background
Set 1 Entry into short straddle
Let’s say I sell ATM (19000) Ce and Pe both at Rs 100

When price of one becomes double of other let’s say Ce is 140 and Pe 70, I want to exit(buy) Ce and sell another Ce with premium of Rs 70, and repeat this process.

Exiting is easy buy I am unable to find a way to fetch the strike of CE, which is equal to the PE that is currently sold

Tradetron Team Tradetron team

Use Find Strike in the new CE leg’s Strike Fx, with the premium of the PE you are holding as the target value.

New CE leg (inside the Repair)

Find Strike(NIFTY 50, Select Expiry('week', 0), 'ltp', LTP(Traded Instrument Name(<PE leg>)), 'CE', 'any')

  • Expiry must be a Select Expiry value (use the same expiry type as your straddle; ‘week’ only exists for NIFTY and SENSEX, otherwise ‘month’).
  • Field ltp = premium. Value = the PE’s current LTP, so it finds the CE strike with the closest premium.
  • In the same Repair block, exit the old CE.

Repair condition

LTP(<CE leg>) >= Math Operation(LTP(<PE leg>), Number(2), '*') (CE is at least double the PE).

Example

CE at 140, PE at 70 → exit CE, sell the CE strike whose premium is nearest 70.

To repeat, use Repair Continuous and bound it (e.g. a runtime counter) so it doesn’t loop. Find Strike looks 50 strikes above and below ATM. Test in Live Offline. Keyword reference: Keyword Documentation — Tradetron

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