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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    36 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    14 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X