Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 Yasharandom, Today, 07:45 AM
        0 responses
        4 views
        0 likes
        Last Post Yasharandom  
        Started by llanqui, Yesterday, 09:59 AM
        4 responses
        23 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by smartromain, 03-13-2024, 01:42 AM
        5 responses
        95 views
        0 likes
        Last Post AndreiBig  
        Started by Noerclou, Today, 04:55 AM
        0 responses
        5 views
        0 likes
        Last Post Noerclou  
        Started by ThoriSten, Today, 03:56 AM
        0 responses
        6 views
        0 likes
        Last Post ThoriSten  
        Working...
        X