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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      135 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      292 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      238 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      332 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      171 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X