Worth saying this is something I'm trying to do using the strategy Builder
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Possible to set not to trade during 2 time periods?
Collapse
X
-
Possible to set not to trade during 2 time periods?
Having trouble working out how to say do not trade between time series X. And also saying trade only during time X to X and X to X of the same day.
Worth saying this is something I'm trying to do using the strategy BuilderTags: None
-
Hello demo166130,
Thanks for your post.
Rather than mixing and matching when to trade and when not to trade, I think you will find it easier to simply specify the times to trade as an entry condition.
The strategy builder help guide shows an example of a "time filter". Please see, "How to create time filters" https://ninjatrader.com/support/help...on_builder.htm The help guide example shows creating a condition that says to trade between 9:31 and 11:30.
You can create multiple such filters for the various periods you may want to trade and put each one into a different set (along with any other entry conditions).
Paul H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mjairg, 07-20-2023, 11:57 PM
|
3 responses
213 views
1 like
|
Last Post
by PaulMohn
Today, 04:22 AM
|
||
Started by TheWhiteDragon, 01-21-2019, 12:44 PM
|
4 responses
544 views
0 likes
|
Last Post
by PaulMohn
Today, 04:09 AM
|
||
Started by GLFX005, Today, 03:23 AM
|
0 responses
3 views
0 likes
|
Last Post
by GLFX005
Today, 03:23 AM
|
||
Started by XXtrader, Yesterday, 11:30 PM
|
2 responses
12 views
0 likes
|
Last Post
by XXtrader
Today, 03:07 AM
|
||
Started by Waxavi, Today, 02:10 AM
|
0 responses
7 views
0 likes
|
Last Post
by Waxavi
Today, 02:10 AM
|
Comment