Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strat/Indicator wont draw arrows

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

    Strat/Indicator wont draw arrows

    I have a very simple strategy that I want to draw an arrow when conditions are met. When I set the strategy (using wizard) to draw an arrow or triangle, nothing happens. When I change that action to change color background, it works.

    Are there some conditions that prevent certain drawing actions? Also I should mention this is on historical data, not live or replay.

    thanks.

    #2
    Hi billr,
    Most commonly this is the Y value where it's drawn. Check attached screenshot for an example.
    Attached Files
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks Ryan, I'm sure that's the problem. On another note, I used the strategy wizard to create what is really an indicator. How difficult is it to convert a strategy into an indicator?

      Thanks.

      Comment


        #4
        Code should be identical -- just have to copy over each section into an indicator. The one thing that's different is that strategies typically have a 20 bar "minimum bars required" that's not in indicators. This means if you ever index past value with, then you need to handle this separately in your indicator code. More details on this item are available here:
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        173 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        91 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        129 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        208 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        186 views
        0 likes
        Last Post CarlTrading  
        Working...
        X