Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw.line on indicator inside an indicator. Lines not showing up

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

    Draw.line on indicator inside an indicator. Lines not showing up

    I have an indicator that draws lines via Draw.Line. If I put that indicator on a chart, the lines work great.
    When I put that indicator inside another indicator and load it, the lines are not showing up. Is there some setting that makes this work?

    #2
    Hello ErikY,

    That would be expected in that use case, the indicator is being used only to get its data when its hosted by another script. It won't display anything on the chart in that situation. You would have to include the indicators logic which draws inside the parent indicator so that it can display on the chart.

    Comment


      #3
      OK, understand. I was hoping there was some setting that would allow me to use the sub indicators drawing in the parent indicator, but thats fine. I will re-write the code in the parent indicator to replicate the drawings. Thanks

      Comment


        #4
        Originally posted by ErikY View Post
        OK, understand. I was hoping there was some setting that would allow me to use the sub indicators drawing in the parent indicator, but thats fine. I will re-write the code in the parent indicator to replicate the drawings. Thanks
        Or...just add the original indicator to your chart.

        eDanny
        NinjaTrader Ecosystem Vendor - Integrity Traders

        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