Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

New switched to NT

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

    New switched to NT

    Hi there,

    Long time user of QuoteTracker now new to NT.

    I am trying to successfully use the Strategy wizard by seeing the strategy on a chart before unlocking the code to program in C#.

    The strategy is only one IF statement to print an up arrow on a chart.

    IF statement: Close[0] >= Low[2]
    DO the following: DrawArrowUp...

    I set ProfitTarget & SetStopLoss to +5 & -5 ticks for the sake of it...

    However, being connected to IB and bringing up a chart, setting enable = True, I still can't seem to even see the up arrow(s) on a live chart or any trades placed if I backtest in Strategy Analyzer.

    I'm missing something, to get this going... what is it?

    Thx
    IJ

    #2
    Hello,

    Thanks for the note and welcome to the NinjaTrader support forum.

    You should see only one arrow. As if you call to DrawArrow again with the same Tag name it will move the arrow instead of drawing a new one.

    If you want multiple arrows to be drawn at all points you would need to add CurrentBar to it to give each arrow its own unique tag.

    For example:

    DrawArrowUp("Tag" + CurrentBar, true, 0, Close[0], Color.AliceBlue);


    Would draw a new arrow for each occasion.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thx Brett that worked.

      How do I get the arrow below the bar it is referencing?

      This shows at the top....

      Originally posted by NinjaTrader_Brett View Post
      Hello,

      Thanks for the note and welcome to the NinjaTrader support forum.

      You should see only one arrow. As if you call to DrawArrow again with the same Tag name it will move the arrow instead of drawing a new one.

      If you want multiple arrows to be drawn at all points you would need to add CurrentBar to it to give each arrow its own unique tag.

      For example:

      DrawArrowUp("Tag" + CurrentBar, true, 0, Close[0], Color.AliceBlue);


      Would draw a new arrow for each occasion.

      Comment


        #4
        Oh I got it.

        Change the y value to Low[0].

        Originally posted by ij0001 View Post
        Thx Brett that worked.

        How do I get the arrow below the bar it is referencing?

        This shows at the top....

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        672 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        379 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        577 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        582 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X