Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Having trouble understand how to print a solid colored arrow

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

    Having trouble understand how to print a solid colored arrow

    Hi NT,
    Based on the below code. the Arrow Up/Down prints correct. My issue, is that the when the arrow prints and we have a colored background the outline that is default gray mutes it its very hard to see. I would like to have the arrow one single solid color.
    I am having trouble, inputting the correct code to so. I saw what the guide states, but so far I havent been able to apply the correct script to have the code compile and of course work.

    My Print Arrow code:
    Draw.ArrowUp(this, "uparrow"+CurrentBar, true, 0, Low[3], Brushes.DarkBlue);

    Can you provide me with the correct script to make that arrow have its Outline color the same as the inner region, that being Dark Blue.

    Thank you, TM


    #2
    Hello tradermark2001,
    Refer below example:-
    Code:
    [COLOR=#008000]// Instantiate an ArrowDown object[/COLOR]
    ArrowUp myArrow=Draw.ArrowUp([COLOR=#0000ff]this[/COLOR],[COLOR=#800000]"tag1"[/COLOR],[COLOR=#0000ff]true[/COLOR],Time[[COLOR=#ff6600]0[/COLOR]],Low[[COLOR=#ff6600]0[/COLOR]]-([COLOR=#ff6600]2[/COLOR]*TickSize),Brushes.Green);
    
    [COLOR=#008000]// Set the outline color of the Arrow[/COLOR]
    myArrow.OutlineBrush=Brushes.Green;
    Hope it helps!

    Comment

    Latest Posts

    Collapse

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