Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plotting Arrows via Strategy Analyzer

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

    Plotting Arrows via Strategy Analyzer

    Hi,

    Using Strategy Analyzer I am unable to print "up arrows" on the [Chart] tab. The goal is to help me quickly identify some market situations, not simulate entries and stops results. Is this achievable?

    Conditions and Alerts, Set1, "When the following are true":
    Line1: Low[2] > Low[1]
    Line2: Low[1] > Low[0]
    Do the following:
    DrawArrowUP("My up arrow" + CurrentBar, false, 0,0, Color.Lime)

    When I use "Order Management" actions instead of "DrawArrowUp" stuff does print on the Chart.

    Thanks for your help.

    - MarcusPlexus

    #2
    MarcusPlexus, you can try adding Print() statements to your "Do the following" sections to make sure the code blocks are being executed. The Print() command can be found under the Misc section as "Print to output window".
    AustinNinjaTrader Customer Service

    Comment


      #3
      Actually, try specifying a value other than 0 for the y location of the arrow, like Low[0] or something like that. I just noticed this after I posted my first reply. The arrow is being drawn, you just can't see it because it is at a price of 0 on the chart.
      AustinNinjaTrader Customer Service

      Comment


        #4
        That was it! Many thanks!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        64 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        35 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        59 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Working...
        X