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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        65 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        149 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X