Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Overlay=true no work for me

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

    Overlay=true no work for me

    Hello NT friends

    I am trying to overlay a plot and a DrawLine to price but i cant. My drawing stay in the bottom always.




    What i am doing wrong? Thank you

    Here my code:


    Code:
    protected override void Initialize(){ 
        Overlay =true;
        DrawOnPricePanel = true;
        Add(new Plot(Color.Blue,PlotStyle.Line, "plotline")); 
     } 
     
     protected override void OnBarUpdate(){ 
         DrawHorizontalLine("newline", false, Close[0], Color.Black, DashStyle.Solid,3); 
         MaxNivel.Set(Close[0]); 
     
     }

    #2
    You will need to manually addjust the Z-order of your plot to display over the candles

    You can change the Z-order of the indicators or data series on your chart by using the SHIFT key and the scroll wheel on your mouse.

    We do not currently support programmatically setting the Z-order at this time.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Ok Matthew, works.

      But, now i ask me whats is the function of Overlay =true; exactly ?

      Thank you.
      Last edited by ninjo; 02-21-2013, 11:41 AM.

      Comment


        #4
        If true, the plot is drawn on the chart panel, otherwise it is drawn in a lower panel.
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

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