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 argusthome, Yesterday, 10:06 AM
      0 responses
      17 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      16 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      14 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      9 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      38 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X