• 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 aslane, Today, 05:37 AM
      0 responses
      1 view
      0 likes
      Last Post aslane
      by aslane
       
      Started by ketoproplus, Today, 05:08 AM
      0 responses
      3 views
      0 likes
      Last Post ketoproplus  
      Started by asmmbillah, Today, 03:55 AM
      0 responses
      4 views
      0 likes
      Last Post asmmbillah  
      Started by cmarkb, Today, 12:04 AM
      0 responses
      7 views
      0 likes
      Last Post cmarkb
      by cmarkb
       
      Started by supernova0219, Yesterday, 07:48 PM
      0 responses
      10 views
      0 likes
      Last Post supernova0219  
      Working...
      X