Dear Team
In the nifty 50 stocks, based on day opening i want to trade only 5 stocks to trade.
Which keyword i want to use to control number of stocks.
Thank you
Dear Team
In the nifty 50 stocks, based on day opening i want to trade only 5 stocks to trade.
Which keyword i want to use to control number of stocks.
Thank you
Add as below in Condition Builder
Open Position <= number(5)
Thank you very much for your quick reply
You equally welcome and Best wishes for your strategy,
Good Luck
Its not limiting number of stocks in my strategy.
Use Open Positions in the Entry condition with AND, e.g. Open Positions < Number(5). It counts simultaneous open positions in a list strategy.
Known limit: if many stocks signal at the same condition check, they can all enter together and exceed the cap. The only fix then is a smaller list or a stricter entry condition.
If you want 5 entries in total for the day (not 5 open at once), use a runtime counter instead:
Use a runtime variable as a counter (there is no checkbox for this).
s1entry, and set it to Number(1). Start at 1, not 0: a bare Get Runtime that reads 0 is treated as false and silently stops the condition.Get Runtime(s1entry) <= Number(N) (N = the number of entries you allow; use == Number(1) for one entry only).s1entry = Get Runtime(s1entry) + Number(1).Note: a Universal Exit clears all runtime variables, and Initialize Variables are written again when a new run counter starts.
Keyword reference: Keyword Documentation — Tradetron
Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.
Request received. Pick a time now, or close this and we'll call you to set one up.
The calendar didn't load here. Open the booking page ↗
Booked. The calendar invite is on its way to your email.
Tradetron's AI assistant — pricing, brokers, strategies, anything.
AI can make mistakes. Consider checking important information.
How good was it?
We store the question and the answer with your report so the team can audit it.