Using strategy builder, How do I go about running strategy between start and end time provided as input ? I tried using Time variable Runstart/Runend comparing with start and end input but seems not working. An example would be appreciated. Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to trade a strategy between start and end time provided as input paramters
Collapse
X
-
How to trade a strategy between start and end time provided as input paramters
Hello:
Using strategy builder, How do I go about running strategy between start and end time provided as input ? I tried using Time variable Runstart/Runend comparing with start and end input but seems not working. An example would be appreciated. ThanksTags: None
-
Hello mtamaku,
Thank you for your post.
You'd need to compare the current bar time to your start and end times. Here's a link to our help guide that goes over setting up time conditions:
https://ninjatrader.com/support/help...ateTimeFilters
I've also attached a simple example Strategy Builder strategy that illustrates this - it will only enter trades between the user input start and end time.
Please let us know if we may be of further assistance to you.Attached Files
- Likes 1
Comment
-
Hello mtamaku,
Thank you for your reply.
You'd set it up somewhat similarly but you'd want to use If Any instead of if all in the time condition. I'm attaching a simple sample strategy that will take orders from 6pm to the following 5pm and when it hits 5 pm will exit any open position and not take any more trades until 6 pm.
Please let us know if we may be of further assistance to you.Attached Files
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
52 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
71 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
38 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
99 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
60 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment