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 quantismo, 04-17-2024, 05:13 PM
          3 responses
          25 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by ScottWalsh, 04-16-2024, 04:29 PM
          7 responses
          34 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by cls71, Today, 04:45 AM
          0 responses
          5 views
          0 likes
          Last Post cls71
          by cls71
           
          Started by mjairg, 07-20-2023, 11:57 PM
          3 responses
          214 views
          1 like
          Last Post PaulMohn  
          Started by TheWhiteDragon, 01-21-2019, 12:44 PM
          4 responses
          547 views
          0 likes
          Last Post PaulMohn  
          Working...
          X