Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cutting off a ray to make a line

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

    Cutting off a ray to make a line

    Pretty basic question. When I draw a ray, I often want to cut it off later. One way I can do that is to just delete the ray and redraw it as a line instead, but that's cumbersome if the ray spans several days or more. Is there a way to just cut off the rest of a ray?
    Last edited by Yellowstone; 04-02-2014, 11:07 AM.

    #2
    Hello,

    Thank you for your post!

    Unfortunately, this is not currently possible. I have submitted a feature request to our development team for them to consider for a future release of NinjaTrader.

    Please let me know if I can be of any further assistance.
    Zach S.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      Thank you for your suggestion on how we can improve our product. It has been inserted into our tracking system with the unique ID # 2803.
      Zach S.NinjaTrader Customer Service

      Comment


        #4
        Originally posted by Yellowstone View Post
        Pretty basic question. When I draw a ray, I often want to cut it off later. One way I can do that is to just delete the ray and redraw it as a line instead, but that's cumbersome if the ray spans several days or more. Is there a way to just cut off the rest of a ray?
        They are just objects. Have you thought about creating a method to create a composite object, and use parameters to cut off the latter part?
        Code:
        private void DrawCompositeLineOrRay(string type, ...)
        {
        DrawLine(...);
        if (type.ToLower() == "ray") DrawRay(...)
        return;
        }
        Then you just call the method, with "ray" to draw the whole thing, and with anything else to draw only the line part.
        Last edited by koganam; 04-13-2014, 09:53 AM. Reason: Corrected spelling.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        19 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        120 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        174 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        92 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        134 views
        0 likes
        Last Post cmoran13  
        Working...
        X