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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        50 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        16 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        22 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X