• 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 Erwin Beckers, 11-04-2018, 02:39 AM
      4 responses
      69 views
      2 likes
      Last Post brucerobinson  
      Started by ntbone, Today, 01:25 AM
      0 responses
      5 views
      0 likes
      Last Post ntbone
      by ntbone
       
      Started by bomanpbm, Yesterday, 09:27 PM
      0 responses
      5 views
      0 likes
      Last Post bomanpbm  
      Started by tgn55, Yesterday, 08:47 AM
      0 responses
      11 views
      0 likes
      Last Post tgn55
      by tgn55
       
      Started by ballboy11, 05-04-2019, 10:26 AM
      6 responses
      61 views
      0 likes
      Last Post Kermit
      by Kermit
       
      Working...
      X