Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ability to set strategy properties

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

    Ability to set strategy properties

    Hi, everytime I start up NT and go to run some strategy analysis, it always defaults to 12:00 - 12:00. But I never use this setting. I always set them to 6:30 AM - 1:00 PM PST (US futures trading). There are some other properties I would also like to change the default to also, like exclude weekends = true.

    I came across the Initialize() property for IncludeCommission = true;, but I wonder if the other strategy properties are exposed? like session trading time, etc...

    Thanks

    #2
    Hello,

    You can limit the strategy trading times by using these methods:
    DenNinjaTrader Customer Service

    Comment


      #3
      Hi Ben,

      I am currently using a time filter in the strategy, but if I leave the defaults at 12:00 - 12:00, isn't the analyzer still loading and stepping through the entire time frame anyway?

      I don't know of a real way of gauging what is exactly going on since, as soon as I start the backtest, NT appears to lockup and there is no time remaining or % complete bar.

      Comment


        #4
        Hello,


        You can set these defaults:


        However setting the session ends and begins times as defaults is not supported. Once you restart NT the times are set back to the factory defaults. However after you modify them once NT remembers the last one until you close the platform again.
        DenNinjaTrader Customer Service

        Comment


          #5
          Hello,

          If you leave the session begin and end times to 12:00 AM and 12:00 AM, it will still load 24/7 data. Unfortunately, it is not possible to change these default settings for the Strategy Analyzer.

          As per the lock ups, please see the following link, which will provide you helpful tips to improve the performance of NinjaTrader and prevent lock ups.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          27 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          117 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          69 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          226 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          413 views
          0 likes
          Last Post CaptainJack  
          Working...
          X