Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

instrument stops plotting after indicator reload

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

    instrument stops plotting after indicator reload

    The indicator freezes the ticks of the last instrument it was used on but does not disturb other instruments.

    I am converting an indicator from 8.5 to 7. When I run it in Replay on, say, ES, it works exactly once.
    An F5 reload or a change in the bar period somehow freezes the update for that instrument (ES) at the last bar displayed, but other instruments (6E, CL, SI etc) keep displaying and advancing properly in Replay. Starting a new ES chart without any indicators does not help, it is frozen at the same last bar. Also the DOM will then show no more price ladder for ES, but will for the other instruments. The only way to get things back to normal is to close NT and restart.

    The indicator accesses market depth to make a few of its own pseudo DOM windows. My suspicion is that some resource is not being freed up but I am at a loss about what to look for in the code (which is huge). From your experience about architectural changes in MarketDepth between 6.5 and 7 are there some typical gotchas that I should check for???
    The NT7 compile is OK and the indicator's behavior while it works is proper. It wries to the output window properly.

    I can post the indicator for you to do quick trouble shooting scan, but I don't want to unnecessarily burden you with its very lengthy body unless you feel there is no other option

    #2
    roland,

    Here is a list of changes that may affect your code : http://www.ninjatrader.com/support/h...er_11_2010.pdf

    Unfortunately without seeing the code itself, and having it for replication steps we can't really comment further. Also, this level of coding is unsupported if I am reading you correctly. What are these Psuedo-DOM windows?
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    581 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    338 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X