Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

z oder of the drawn object

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

    z oder of the drawn object

    Hello Support --

    My script draws objects on chart via

    public
    overridevoid Plot(Graphics graphics, Rectangle bounds, double min, double max) method.



    How to set the z-order of the drawn objects so that they are behind bars of the chart?

    Regards.

    #2
    Hello Alex_bbfg,

    There is no supported method for this.

    However, you can try using this.ZOrder = 99;

    You would want to use some high number for this so that it is behind the bars.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hello Cal

      Thank you very much!

      It works!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      132 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      74 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      117 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      113 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      89 views
      0 likes
      Last Post CarlTrading  
      Working...
      X