Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Arrow only plots the latest MA cross above and the latest cross bellow

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

    Arrow only plots the latest MA cross above and the latest cross bellow

    How can I plot arrows in my strategy since the beginning of the chart data... What parameter do I need to change to do so?
    Right now ONLY plots 1 arrow up on the latest MA cross above and the latest arrow on MA cross bellow. I want to be able to see all of the crosses based on criteria on the entire chart and not just the latest.

    #2
    Hello CROforce,

    Thank you for writing in.

    You will need to make each instance of your draw object unique, the Tag Name should be different for each arrow.

    So for the Tag parameter you could write, "tag1"+CurrentBar.ToString(),

    Then each time you call your draw.arrow method, the name of that arrow will be named tag1 plus whatever bar number is current.



    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      That worked :-) Thank you

      Comment

      Latest Posts

      Collapse

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