Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

draw a line on a tick chart

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

    draw a line on a tick chart

    Hi,
    This line renders on a time-based chart np. How do I get it to work on a tick based chart?

    Draw.Line(this, @"longstopline ", false, 10, (Low[0] - ((ATR(14)[0] * 3) )) , 0, (Low[0] - ((ATR(14)[0] * 3) )) , Brushes.LightCoral, DashStyleHelper.Solid, 1);

    thanks,
    David

    #2
    Hello trader3000a,

    Are you seeing an error or what specifically are you seeing that is a problem?

    Have you tried using AutoScale true and also printing the values that you are calculating? That would help to understand if the value or something is wrong. You can also check the drawing objects menu to see the applied objects and their prices however on a tick chart that would be difficult because you are updating the same object.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    57 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    78 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    41 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    101 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    61 views
    0 likes
    Last Post PaulMohn  
    Working...
    X