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.
          JasonNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by rezamerik, 08-23-2023, 10:33 AM
          16 responses
          1,743 views
          0 likes
          Last Post mfzillln  
          Started by Dutch4756, Today, 04:57 PM
          0 responses
          7 views
          0 likes
          Last Post Dutch4756  
          Started by DerkWehler, 12-04-2024, 09:00 AM
          7 responses
          76 views
          4 likes
          Last Post RobEB
          by RobEB
           
          Started by _Gabor_, 12-03-2024, 12:16 PM
          4 responses
          29 views
          0 likes
          Last Post _Gabor_
          by _Gabor_
           
          Started by trelling, 11-28-2024, 01:50 PM
          6 responses
          55 views
          0 likes
          Last Post trelling  
          Working...
          X