I have a strategy fpr scalping with
Set 1 for Call
Set 2 for Put
Bothave 1 repair once each.
Now I want to reenter into set if it is exited only after few minutes *(say 25 minutes) .
Eg
Exit happen for the set 11.00 and then reentry should be only after 25 mins after exit how to achieve that please help.
Lion Algos
You can try as below
Use runtime variable during set exit to capture time.
Use this runtime+25 min in entry condition
Also reset this runtime to null during entry position. So that next time it takes right value while set exit
Note: Addition of Time is bit complex as anything number more than 59 equals 1 hour. You should check time addition codes in tradetron videos
Ajay Yadav
But when i use runtime+25 in entry condition it will affect my initial entry itself na ??
As for first initial entry there is no exit time available.
Lion Algos
Many ways to handle. Try this - use 2 OR conditions at entry - your existing entry condition + below one’s
Net Quantity (reapir once) = 0 ( for initial)
OR
Net Quantity (reapir once) ! = 0 (for subsequent)
Ajay Yadav
I think traded instrument (exit ) should be taken instead net quantity ( repair once) to be taken as i have to check after exit ? Pl
can u plz this with more details bcoz im facing same issu with my heikin ashi candel strategy
Tradetron TeamTradetron team
Short answer: store the exit time when the set exits. Then allow re-entry only when Time Difference says 25 minutes have passed. Seed the variable so the first entry isn’t blocked.
Steps
Initialize:exit_flag = Number ( 1 ) (no exit yet).
Set Exit runtime:exit_t = Time ( NSE ) and exit_flag = Number ( 2 ).
Entry condition: your entry AND ( Get Runtime ( exit_flag ) == Number ( 1 ) (first entry)
OR Time Difference (T2-T1) ( Get Runtime Number ( exit_t ), Time ( NSE ) ) >= Number ( 25 ) ).
Time Difference returns minutes and handles the hour change, so you don’t need HHMM arithmetic (11:50 + 25 works correctly).
If you only need a gap after a Universal Exit, the simpler route is Reactivate on exit after = 25 minutes in Advanced Settings. Test in Live Offline.
Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.
Vel RS
In the above , Time difference (T2-T1), there is no option to select 'Time' for the second argument. can you clarify.