Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing Arrow minor problerm etc...

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

    Drawing Arrow minor problerm etc...

    Hi,
    This is what I have in my code to draw arrow up:

    CurrBarLow = Low[0] - TickSize;
    DrawArrowUp("MyUpArrow" + CurrentBar, true, 2, (CurrBarLow-0.0007), Color.Lime), e.g. 7 ticks below of the the low of the curr. bar. It works OK most of the times but sometimes it draws arrows on the body of the current bar. The arrow is too high covering the lower portion of the bar and looks like continuation of the bar. The same applies to other drawing objects that I'm trying to draw below the arrow, e.g. DrawDiamond/Triangle...(CurrBarLow-0.0012) etc... Most of the times objects drawn as they should and look fine but simetimes for whatever reason they drawn on the top of each other or too high covering the lower portion of the arrow. Is there a way to fix/improve this?
    Thank you very much.

    #2
    Art09, please print out the calculated values where your objects should be drawn at, I suspect you're running into needing a higher tickSize offset for some instruments.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    152 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    89 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    131 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X