Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw Rectangle without border

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

    Draw Rectangle without border

    Is it possible to control with border width of Draw.Rectangle() or even remove it completely? Thanks.

    #2
    Hello,

    It would not be possible to define a width of less than 1 it seems but you can use a Transparent brush for the border using the following syntax:

    Code:
    if(CurrentBar > 10)
    	Draw.Rectangle(this, "MyRectangle", true, 10, Low[10], 0, High[0], Brushes.Transparent, Brushes.Blue, 100);


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by benmarkal, Yesterday, 12:52 PM
    3 responses
    22 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by helpwanted, Today, 03:06 AM
    1 response
    17 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    11 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    6 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    244 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Working...
    X