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 chbruno, Today, 04:10 PM
        0 responses
        3 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        6 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by frslvr, 04-11-2024, 07:26 AM
        9 responses
        127 views
        1 like
        Last Post caryc123  
        Working...
        X