Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator won´t draw line on price chart

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

    Indicator won´t draw line on price chart

    Hi,

    I have a problem with my indicators. When a certain condition is met my indicator should draw a line and text on the chart where price is located. The IsOverlay function is on false and DrawOnPricePanel is on true but my indicator is still drawing text and line on the indicator panel. Any suggestions how this can be fixed ?

    Many Thanks in advance !

    #2
    Hello muratb35,
    It seems you made these changes to indicator after placing the indicator on charts, so you should reload script by pressing F5 or go to indicator settings & reset it or remove it & add it again. Note that any changes made to SetDefaults needs reset. Hope it helps!
    Last edited by s.kinra; 03-31-2021, 08:52 AM.

    Comment


      #3
      Hello muratb35,

      Thanks for your post.

      Please note that "reload Ninjascript" or using the F5 key will not call State.SetDefaults so any changes you make to your code would not be seen until you remove the indicator from the chart and then reapply (this then is applying the new instance, assuming you recompiled) the indicator.

      Reference: https://ninjatrader.com/support/help...fecycle_of.htm

      Comment


        #4
        Hey Guys,

        thanks it worked !

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        647 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        368 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        571 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X