Nifty option but for monitoring ce and pe — Tradetron Community
← Community

Nifty option but for monitoring ce and pe

Strategy 1,465 views

TradetronTrader

I want to monitor atm strike price of nifty atm ce and pe at 9.20 and when 20% of that is achieved then I am entering buy position and immediately I am going to place sl order for that position cost to cost how should I do this strategy in tradetron?

Soumyajyoti Biswas

//Not an investment advice

See this post, this is very similar. As stated this probably is a good case for custom coding

Tradetron Team Tradetron team

Store the 9:20 premium, then compare against it.

  1. Read the 9:20 premium directly with Indicator Value (Time), e.g. Indicator Value (Time)(CLOSE(Symbol(<ATM CE>, 1m)), '09:20'). This avoids timing problems with Initialize Variables, which are written when condition checking starts, not at a clock time you pick.
  2. Do the same for the ATM PE.
  3. Set 1 entry: Time('NSE') >= Number(920) AND CE LTP >= the 9:20 CE value × Number(1.2) → buy CE. Set 2 the same for PE.
  4. SL at cost: a Repair Once that exits when LTP <= entry price (read from Positions Detail value ÷ quantity).

Note: “ATM” can point to a different strike later in the day, so fix the strike you watch (for example with Get Strike) if that matters. 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.