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!
See more
See less

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 Graci117, Today, 09:02 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by ETFVoyageur, Today, 07:55 PM
        0 responses
        7 views
        0 likes
        Last Post ETFVoyageur  
        Started by janio973, Today, 07:24 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by aligator, 01-06-2022, 12:14 PM
        4 responses
        246 views
        0 likes
        Last Post john_44573  
        Started by reynoldsn, Today, 05:56 PM
        0 responses
        14 views
        0 likes
        Last Post reynoldsn  
        Working...
        X