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 DannyP96, 05-18-2026, 02:38 PM
      1 response
      23 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      115 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      68 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      222 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      406 views
      0 likes
      Last Post CaptainJack  
      Working...
      X