Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Break at EOD

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

    Break at EOD

    In the strategy analyzer I am checking "Break at EOD". How to I detect that value in my strategy software?

    #2
    Hello CHEIII,

    Thanks for your post.

    To indicate if the bars series is using the Break EOD data series property in a strategy you could use Bars.IsResetOnNewTradingDay. Bars.IsResetOnNewTradingDay returns true if the bars series should reset on a new trading day; otherwise, false.

    See this help guide page for an example of using Bars.IsResetOnNewTradingDay and more information: https://ninjatrader.com/support/help...tradingday.htm

    Let us know if we may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Thank you That worked.

      Is there an easy way to access (or to print) the "settings" page items in the strategy analyzer ?

      Comment


        #4
        Hello CHEIII,

        Thank you for your note.

        You could use reflection to get all of the property names and values of the Strategy Analyzer.

        Note that we would not be able to assist with using reflection since we do not provide C# programming education in our support. This is so that we can maintain a high level of service for all of our clients as well as our partners. That said, please see the publicly available resource below for more information.

        I have a list of objects (Cars). For each car in the list I need to loop through it and find any properties of type DateTime. If I find a property of DateTime I need to get the value and do a time


        Let us know if you have further questions.
        Brandon H.NinjaTrader Customer Service

        Comment


          #5
          Thanks. I'll check out reflection.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by funk10101, Today, 09:43 PM
          0 responses
          6 views
          0 likes
          Last Post funk10101  
          Started by pkefal, 04-11-2024, 07:39 AM
          11 responses
          37 views
          0 likes
          Last Post jeronymite  
          Started by bill2023, Yesterday, 08:51 AM
          8 responses
          44 views
          0 likes
          Last Post bill2023  
          Started by yertle, Today, 08:38 AM
          6 responses
          26 views
          0 likes
          Last Post ryjoga
          by ryjoga
           
          Started by algospoke, Yesterday, 06:40 PM
          2 responses
          24 views
          0 likes
          Last Post algospoke  
          Working...
          X