• 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

Problem with ray

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

    Problem with ray

    hello. Excuse my English . I'm writing an indicator in which if a condition is met draws a ray . But when the condition is repeated previous ray is cleared. Is it possible to keep all ray ?

    #2
    Hello julifro,

    Thank you for your post.

    This occurs when the same tag is used for the object. Try using a value that will change with the bars such as CurrentBar:
    Code:
    DrawRay("tag1"+CurrentBar, 10, 1000, 0, 1001, Color.LimeGreen);
    For information on CurrentBar please visit the following link: http://www.ninjatrader.com/support/h...currentbar.htm

    Please let me know if I may be of further assistance.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Thanks works great

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by tradykat, Today, 05:09 PM
      0 responses
      1 view
      0 likes
      Last Post tradykat  
      Started by jeronymite, Today, 04:57 PM
      0 responses
      2 views
      0 likes
      Last Post jeronymite  
      Started by caveat_lector, Today, 04:34 PM
      0 responses
      3 views
      0 likes
      Last Post caveat_lector  
      Started by Futurestrader00, Today, 04:30 PM
      0 responses
      3 views
      0 likes
      Last Post Futurestrader00  
      Started by TexFly, Today, 04:28 PM
      0 responses
      2 views
      0 likes
      Last Post TexFly
      by TexFly
       
      Working...
      X