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.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    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.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment


          #5
          Thanks. I'll check out reflection.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          94 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          49 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          31 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          34 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          70 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X