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 NullPointStrategies, Today, 05:17 AM
          0 responses
          48 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          126 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          66 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X