Strategy goes in loop on open — Tradetron Community
← Community

Strategy goes in loop on open

Error execution 1,858 views

Tradingpie

The strategy seems to go in loop with taking multiple entries on same strike price but it gets normal 5-6 minutes after open. Cannot seem to figure out the issue. Anyone kind enough to help me out please . Adjustments based on Net Delta

Manish

what is entry condition?

Amit Bhowmick

Same thing happened with me. Strategy went for a loop.

I used entry time keywords. It worked for 2 and 3 trades after that Strategy stuck in between automatically. And shows live entered status.

If have any solution please tell me

Manish

if you use time only, then it is true everytime. along with that use position check and if any other condition.

Amit Bhowmick

I used the position detail along with.

Actually I made 2 sets for long position it takes as my given condition but problem come when it goes for loop. For stopping loop on same candle I used entry time keywords with position details keywords.

It worked good but now the problem is comming with status it shows live entered for whole the time.

After tajing 2-3 trades it stopped suddenly. Then I have to active manually.

How to run properly without stuckking the strategy.

If I use universal exit then because of two sets it goes for loop.

If I use set 1 exit or set 2 exit. It stuck.

Where is the problem please tell me so that my condition may not stop in trading.

Tradetron Team Tradetron team

A loop at open means the entry condition is true on every check, so the strategy keeps taking new entries. A condition that only checks time (e.g. Time >= 920) is true all day. A Net Delta adjustment that stays above its limit does the same thing.

Fix

  1. Open the Notification Log and see which condition was true at each entry.
  2. Gate the entry with a runtime counter so it fires once:
    • Initialize s1entry = Number(1)
    • Entry: your logic AND Get Runtime(s1entry) == Number(1)
    • Entry runtime: s1entry = Number(2)
  3. Or check that nothing is open before entering: Open Positions Detail('All', 'All', <underlying>, 'count') == Number(0).
  4. For Net Delta adjustments in Repair Continuous, make the condition reset after each fire (e.g. compare with LastRepairedPrice), or it repeats.

A strategy that crosses 400 trades in a day gets Blocked; ask support to unblock it after fixing. Test in Live Offline.

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