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 AnnBarnes, Today, 12:17 PM
    0 responses
    1 view
    0 likes
    Last Post AnnBarnes  
    Started by Lopat, 03-05-2023, 01:19 PM
    4 responses
    166 views
    0 likes
    Last Post Sam2515
    by Sam2515
     
    Started by f.saeidi, Today, 12:14 PM
    0 responses
    2 views
    0 likes
    Last Post f.saeidi  
    Started by giulyko00, Today, 12:03 PM
    0 responses
    4 views
    0 likes
    Last Post giulyko00  
    Started by AttiM, 02-14-2024, 05:20 PM
    12 responses
    213 views
    0 likes
    Last Post DrakeiJosh  
    Working...
    X