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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
52 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
142 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
160 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
96 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
276 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment