Rollup or roll down based on previous sold strike price — Tradetron Community
← Community

Rollup or roll down based on previous sold strike price

Strategy 982 views

Naveen

Hello team,

Can anyone help me how to place the logics in tradetron wrt previously sold strike price of my option and not wrt ATM
I need to roll up or roll down when my stoploss or target is achieved.

Tradetron Team Tradetron team

Store the strike you sold, then build the new strike from it instead of from ATM.

  1. In the Entry’s Runtime section, save the sold strike in a variable, e.g. soldstrike (from the traded instrument).
  2. In a Repair Once (one for SL, one for target): exit the current leg and open a new one.
  3. In the new leg’s Strike Fx, use Get Runtime(soldstrike) + Number(100) (roll up) or - Number(100) (roll down), wrapped in Get Strike so it lands on a valid strike.
  4. If you roll more than once, update the variable in each repair’s runtime. Use Repair Continuous only with a condition that resets after each fire, or it loops and the strategy gets Blocked.

Runtime variables guide: Runtime Variables in Tradetron — Capture Once, Use Anywhere | Tradetron Helpdesk . 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.