Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicator won't plot

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

    indicator won't plot

    Been at the keyboard way too long today and I think I'm doing something really dumb. I have a very simple ninjascript indicator that was working just fine yesterday. I did not change the indicator at all, the compiles are up to date, I tried the indicator in another chart didn't work there, tried closing and reopening ninja, etc etc.

    I also tried adding/removing other standard indicators and other ninjascripts. It all works. I also rechecked the 1 line of code in the indicator to make sure satan didn't come and change something.

    I'm baffled.

    #2
    Hello,

    Are you receiving any errors on the log tab of the Control Center? If so, what do these errors report?
    MatthewNinjaTrader Product Management

    Comment


      #3
      Yes, there was an error. I never realized that log existed, so I learned something.

      The weird thing is this: the error was caused by the script trying to access an invalid value (bars not loaded in the chart). I'm baffled as to how or why the indicator worked previously, but thanks much, as now the problem is fixed!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      88 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      48 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      30 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
      68 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X