Need help exit positions next day — Tradetron Community
← Community

Need help exit positions next day

Uncategorized 1,770 views

Allan Gomes

I have a strategy that needs to buy positions today and sell the next day. I just have a problem setting up the exit condition the next day. How can this be implemented?

Alex Sami

You have to place a NRML order in Position Builder. Use the Universal Exit for the exit condition. image
On the first day use a time which is beyond trading hours. For eg Time > 1600. On next day change the time to exit during market hours.

Tradetron Team Tradetron team

Use an overnight (NRML) position and a Universal Exit that only becomes true on the next trading day. Then you don’t have to change the time by hand each day.

  1. Position Builder: product NRML (needed to carry the position overnight).
  2. Universal Exit: Days Difference (D2-D1)(EntryDate, Today('NSE')) >= Number(1) AND Time('NSE') >= Number(916) (your exit time).
    • Days Difference returns Date 2 minus Date 1 in days, so it is 0 on entry day and 1 or more after.
  3. Run it in Live Offline across two days before going live.

Related BTST thread: How to create BTST strategy? 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.