• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw Rectangle

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

    Draw Rectangle

    Is it posible to have a drawn rectangle each day?
    For example my strategy will draw rectangle on monday, then it will also draw rectangle on tuesday without removing the rectanlge already drawn on monday.

    #2
    carmiiegin, welcome to our forums - that would be possible, for your draw object creation the assigned tagID would matter. Meaning if you reuse the older id in the call it would just update modify your old object and thus you would really only work with one visible as the chart progresses. However if you for example used a new id on the new day > then you objects would show the history you desired.

    Here's a reference that would help illustrate and get going with the concept - http://www.ninjatrader.com/support/f...ead.php?t=3419
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks a lot. It help solve my problem.
      I used "Look Back " + ToDay(Time[0]).ToString() as my tag.
      Thanks again for the idea.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by digibob, Today, 01:13 AM
      0 responses
      2 views
      0 likes
      Last Post digibob
      by digibob
       
      Started by kemoleena, Today, 12:31 AM
      0 responses
      5 views
      0 likes
      Last Post kemoleena  
      Started by aligator, 09-18-2019, 12:15 PM
      12 responses
      104 views
      0 likes
      Last Post Lancer
      by Lancer
       
      Started by StevenNelson, Yesterday, 05:45 PM
      0 responses
      7 views
      0 likes
      Last Post StevenNelson  
      Started by calebsandfort, Yesterday, 05:16 PM
      1 response
      7 views
      0 likes
      Last Post calebsandfort  
      Working...
      X