• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Session Close in Strategy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by stewarco, Today, 05:46 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Jermaine  
    Started by andrewtrades, Yesterday, 08:24 PM
    2 responses
    15 views
    0 likes
    Last Post NinjaTrader_ChristopherD  
    Started by slbreufdr, Today, 06:31 AM
    0 responses
    3 views
    0 likes
    Last Post slbreufdr  
    Started by authenticx, Yesterday, 10:07 PM
    1 response
    30 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by jeronymite, Today, 05:11 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X