Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Showing Up in Ninja Editor but not Chart

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

    Indicator Showing Up in Ninja Editor but not Chart

    I created an indicator which compiles fine, is able to be seen in the Ninja editor but is not seen when trying to attach it to a chart. I am not using any custom name spaces and the indicator is saved in the default indicator location. I have been at this for over an hour. Saving and deleting, copying and pasting and it still inst visible when trying to attach it to a chart.

    It also isn't visible if you try to export it. I know there is a known bug that you can not export indicators that are in a custom namespace or folders that is open. But this indicator is NOT in a custom namespace or folder.
    Attached Files

    #2
    I am posting my solution in case anyone experiences the same thing.

    Even though the indicator compiled correctly NT8 did not like it. When I took a look at the NT8 log I saw the following

    "Indicator 'PriorHLOC': Error on calling 'OnStateChange' method: Added Plots or Lines must have a unique name"
    Why this wasn't picked up by the compiler is the interesting part.

    Comment


      #3
      Hello cutzpr,

      Thanks for your post.

      I will submit a feature request to have the compiler note when plot/lines are not uniquely named.

      Thanks for your participation in the beta testing of Ninjatrader 8.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      24 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      25 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-25-2026, 09:53 PM
      0 responses
      30 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 03-25-2026, 09:51 PM
      0 responses
      18 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 03-23-2026, 11:13 AM
      0 responses
      28 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X