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
Session Time
Collapse
X
-
Hello Emma1,
Thanks for your post.
Are you referring to limiting the trading hours of a strategy so that it only trades within a certain timeframe?
If so, see this reference sample that demonstrates implementing a time filter in your script: https://ninjatrader.com/support/help...to_limit_t.htm
If this does not resolve your inquiry, please provide a brief description explaining exactly what you mean by 'often sets trade session time manually' so I may accurately assist.
Let me know if I may assist further.Brandon H.NinjaTrader Customer Service
-
-
Hello Emma1,
Thanks for your note.
You could use the Inputs and Variables screen of the Strategy Builder to create user-defined time inputs called something like StartTime or EndTime. Then you could create a time filter using those inputs to limit trading hours.
See this help guide page for more information about the Inputs and Variables screen: https://ninjatrader.com/support/help...ariablesScreen
See this help guide page for information about how to create a Time Filter: https://ninjatrader.com/support/help...ateTimeFilters'
Also, see the attached example script demonstrating this.
Let me know if I may assist further.Attached FilesBrandon H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Balage0922, Today, 07:38 AM
|
0 responses
1 view
0 likes
|
Last Post
by Balage0922
Today, 07:38 AM
|
||
Started by JoMoon2024, Today, 06:56 AM
|
0 responses
6 views
0 likes
|
Last Post
by JoMoon2024
Today, 06:56 AM
|
||
Started by Haiasi, 04-25-2024, 06:53 PM
|
2 responses
19 views
0 likes
|
Last Post
by Massinisa
Today, 05:32 AM
|
||
Started by Creamers, Today, 05:32 AM
|
0 responses
6 views
0 likes
|
Last Post
by Creamers
Today, 05:32 AM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
12 responses
1,786 views
0 likes
|
Last Post
by Leafcutter
Today, 05:30 AM
|
Comment