Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw Arrows

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

    Draw Arrows

    Hello,

    This is the draw arrows from on indicator in NT7. It the syntax correct for NT8 as well?

    Thanks.

    if (showArrows)
    {
    if (Values[2][0] > 0 && Values[2][1] <= 0)
    {
    DrawArrowUp("arrow"+CurrentBar, true, 0, Low[0]-arrowOffset*TickSize, arrowColorUp);
    }
    else if (Values[2][0] < 0 && Values[2][1] >= 0)
    {
    DrawArrowDown("arrow"+CurrentBar, true, 0, High[0]+arrowOffset*TickSize, arrowColorDown);
    }
    }

    #2
    Hello Segwin, and thank you for your question.

    The following are code breaking changes which affect your sample. You can always review the code breaking changes page, http://ninjatrader.com/support/helpG...ng_changes.htm , to see whether you will need to modify your code.


    Please let us know if there are any other ways we can help
    Jessica P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    143 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    296 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    241 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    339 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    172 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X