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 Close in Strategy
Collapse
X
-
Session Close in Strategy
Session close will sometimes occur at different times of the day when there is a holiday coming up. How can the strategy automatically know that a session close has occurred? I'm exiting positions at the close of session and I want to reset all variables. I'm using the Ninjatrader 8 strategy builder.Tags: None
-
Hello ronaldgreene828,
Thanks for your post.
In NinjaTrader8 if you are using the trading hours assigned to the instrument then the strategy will correctly work with the trading hours in terms of the session close.
In the strategy builder, you could access in the conditions builder Misc>First bar of session = true as a trigger to reset your variables.
Paul H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by junkone, 04-21-2024, 07:17 AM
|
9 responses
67 views
0 likes
|
Last Post
by jeronymite
Today, 11:51 PM
|
||
Started by trilliantrader, 04-18-2024, 08:16 AM
|
4 responses
18 views
0 likes
|
Last Post Today, 10:33 PM | ||
Started by mgco4you, Today, 09:46 PM
|
1 response
10 views
0 likes
|
Last Post Today, 09:56 PM | ||
Started by wzgy0920, Today, 09:53 PM
|
0 responses
10 views
0 likes
|
Last Post
by wzgy0920
Today, 09:53 PM
|
||
Started by Rapine Heihei, Today, 08:19 PM
|
1 response
10 views
0 likes
|
Last Post Today, 08:30 PM |
Comment