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 mjairg, 07-20-2023, 11:57 PM
          3 responses
          213 views
          1 like
          Last Post PaulMohn  
          Started by TheWhiteDragon, 01-21-2019, 12:44 PM
          4 responses
          544 views
          0 likes
          Last Post PaulMohn  
          Started by GLFX005, Today, 03:23 AM
          0 responses
          3 views
          0 likes
          Last Post GLFX005
          by GLFX005
           
          Started by XXtrader, Yesterday, 11:30 PM
          2 responses
          12 views
          0 likes
          Last Post XXtrader  
          Started by Waxavi, Today, 02:10 AM
          0 responses
          7 views
          0 likes
          Last Post Waxavi
          by Waxavi
           
          Working...
          X