Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MultiTimeframe indicator crashing NT 7.0.0.16

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

    MultiTimeframe indicator crashing NT 7.0.0.16

    I've attached the indicator I'm using...and I've attached my trace file.

    There are several multi-instrument indicators I've been working on, and they typically work in NT 7.0.0.16, but just recently that all changed.

    It seems, when it was working, it was not working accurately. I would attach the "test_MultiTimeframe.cs" indicator to a $GPBJPY chart (and as you can tell, the indicator is requesting the $EURJPY datafeed)...and sometimes it would pull in the requested datafeed, and sometimes it would not. Instead of the $EURJPY datafeed, it would use the $GPBJPY datafeed.

    I would then "refresh" the indicator by hitting the F5 key...or I would remove the indicator completely and reattach it, thinking that it may work properly upon refresh or reattachment. And this would fix it on a some occasions. Sometimes, I had to hit the F5 key 3 or 4 times in order for it to work.


    Eventually, this F5 key refresh technique has caused something to become corrupted because now, when I attach the indicator to a chart, all I get is the error message (see attached screenshot and trace file for the error message).

    Let me know if you need anything else! Should I re-install NT 7.0.0.16 to see if that helps "restore" my platform?

    Ben
    Attached Files

    #2
    sbgtrading,

    Please try getting that DrawTextFixed line out of Initialize(). Bars do not exist in that context. Please see if that makes any difference.

    Please note that you should be placing all such type of logic into OnStartUp() if you want it to run only once.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Excellent...thank you Josh. So far so good...I will keep you posted.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      636 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      366 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      107 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      568 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      571 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X