How Reset Counter on 3.20 PM — Tradetron Community
← Community

How Reset Counter on 3.20 PM

Uncategorized 937 views

Thiyagaraju B

I want to reset counter and reset runtime variables at 3.20 PM every day even if there is no open positions. How to do this?

universal exit condition will get activated even if there is no open positions (or) to activate universal exit we need to have open positions in any of the set entries.

Tradetron Team Tradetron team
  • Initialize Variables are set again when a new run starts. For an intraday strategy, the normal pattern is a Universal Exit at the end of the day (for example Time('NSE') >= Number(1520)). The next day, condition checks start fresh and your variables are set again.
  • A Universal Exit clears all runtime variables.
  • If the strategy stays Active overnight with no trade, no new run starts, so variables are not set again the next morning. To force this, pause/exit and reactivate after market hours.
  • To reset a variable without a Universal Exit, write it to its starting value in the Runtime section of the block that uses it.

The KB does not say whether a Universal Exit fires when there is no open position. Check the Notification Logs after 3:20 PM, or ask support (chat on tradetron.tech).

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