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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        55 views
        0 likes
        Last Post CarlTrading  
        Working...
        X