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 argusthome, 03-08-2026, 10:06 AM
        0 responses
        110 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        59 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        37 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        41 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        78 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X