I am trying to restrict my strategy to make only one trade in one minute. As of now, according to my strategy it would make an entry and exit in the same minute it would again take an entry if the entry condition is satisfies.
I have made this changes, but I am unsure if it would work or not. Please correct if I am wrong.
Yes im also facing this sam problem. But from tradtron side no help. actually they have to provide solution and need a restriction per candle one entry like trading view charts
Raghu
I am using the Minute keyword in entry condition to restrict multiple entries in the same minute. This works for me because I am checking conditions on the previous 5-min candle as soon as it completes.
Store the entry time in a runtime variable and only allow a new entry after the minute has changed.
Initialize Variables:last_entry = Number(0).
Entry condition: add with AND: Time('NSE') > Get Runtime Number(last_entry)
Entry runtime variable: set last_entry = Time('NSE').
Time returns HHMM, e.g. 1032. After an entry at 10:32, the condition stays false until 10:33.
To allow only one entry per candle (say 5 minutes), compare minutes instead: Time Difference (T2-T1)(Get Runtime Number(last_entry), Time('NSE')) >= Number(5).
Don’t use != with Time Difference: if the variable isn’t set yet, the result is not a number and != is always true.
Test in Live Offline and check the Notification Log.
Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.