Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Coding to Control Session Times in NT7?

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

    Coding to Control Session Times in NT7?

    Folks,

    Kudos for the NT7 update. Looks like some good things are coming. I, like many others would rather wait for a stable release then get a bunch of crap now. I am trying to determine if I should start working on a work-around for a project or wait for 7 to be released. My answer will rest with your response.

    Will NT7 have the ability to control SessionBegins, SessionEnds, ExcludeWeekends ShowUnstablePeriods within the indicator code?

    Something like:
    Max(IDataSeries inputData, DateTime SessionBegins, DateTime SessionEnds, bool ExcludeWeekends, bool ShowUnstablePeriods, int period);


    Thanks

    #2
    Not entirely sure about your inquiry. However:
    - NT7 comes with a completely different and more granular session management
    - NT7 session definitions are accessible on a read-only base
    - any NT6.5 session related custom code will break and would need to be recoded

    Comment


      #3
      Originally posted by NinjaTrader_Dierk View Post
      Not entirely sure about your inquiry. However:
      - NT7 comes with a completely different and more granular session management
      - NT7 session definitions are accessible on a read-only base
      - any NT6.5 session related custom code will break and would need to be recoded
      An issue I'm having is related to "Exit On Close" in the context of strategies designed for forex (but would also apply to any other 24h market). I don't want to exit every day, but I also don't want to deal with the Friday close/Sunday open gap which can be quite large and totally skew backtesting results to the point of being useless. I understand I can custom code to exit fridays, but when I just want to quickly test ideas with the condition builder, this limitation defeats the purpose.

      Does NT7, either through the new session management, or condition builder improvements (i.e. DayOfWeek conditions) address this?

      Comment


        #4
        Short answer: yes, there will be a DayOfWeek logic. We will provide details as we roll NT7.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        599 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        345 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        558 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        558 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X