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 alexstox, 10-16-2018, 03:29 PM
    11 responses
    343 views
    0 likes
    Last Post aligator  
    Started by ageeholdings, 05-01-2024, 05:22 AM
    6 responses
    44 views
    0 likes
    Last Post ageeholdings  
    Started by tony_28217, Today, 07:04 PM
    0 responses
    11 views
    0 likes
    Last Post tony_28217  
    Started by flybuzz, Today, 10:33 AM
    1 response
    9 views
    0 likes
    Last Post flybuzz
    by flybuzz
     
    Started by spencerp92, 10-10-2023, 09:56 AM
    4 responses
    312 views
    0 likes
    Last Post flybuzz
    by flybuzz
     
    Working...
    X