Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Minimum # of trades per day
Collapse
X
-
Hello mrre1,
Thank you for your note.
There is no means to optimize based on waiting for a set number of trades in a backtest first. Although, that may not be what you are asking.
Are you looking to limit the number of trades taken in the optimization? Can you provide further details on how you wish to optimize based on a required number of trades?
-
Thanks for the reply.
I am wondering if there is a way to require a minimum number of trades as a precondition to the series that is being optimized. For example, I have a strategy that is generating .2 trades per day in backtest. I want it to generate at least .8 trades per day.
Comment
-
Hello mrre1,
Thank you for your response.
There would be no means to know ahead of the test how many trades would be taken per day.
Depending on the condition you are using to enter trades you could set a limit to the number of trades per day as a max. Let's say your strategy takes 10 trades per day but you only want 8, you could set a counter that reset on Bars.FirstBarOfSession.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment