Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Getting values from OrderFlowCumulativeDelta Indicator

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

    #16
    Hello Lance El Camino,

    Thanks for your notes.

    This message indicates that an object in your script that you are accessing is returning null.

    A common object-oriented programming error is not checking for null references on your object variables This will cause an "Object reference not set to an instance of an object" error.

    I do not see anything specific in your code that stands out as incorrect. That said, you will need to reduce the code and add debugging prints throughout the script to determine the exact line of code that is causing the error to occur. Below is a link to a forum post that demonstrates how to use prints to understand behavior.

    https://ninjatrader.com/support/foru...121#post791121

    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


      #17
      Thanks! I don't believe delta is the issue I think I accidentally removed a line of code yesterday when editing. I do have another question about Market Replay. At Max speed and a strategy is set to OnBarClose is it accurate or is accuracy sacrificed for speed?

      Comment


        #18
        Hello Lance El Camino,

        Thanks for your notes.

        There should be no correlation between market replay speed and accuracy. The events are still fired in the correct orders therefore there should be no issue here.

        Please let me know if you have further questions on this.
        <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

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        646 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        367 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        570 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X