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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        63 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        87 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        47 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        104 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        63 views
        0 likes
        Last Post PaulMohn  
        Working...
        X