Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Horizontal Line only extend right line

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

    Horizontal Line only extend right line

    Hello, anyone can help me for this "DrawTool".

    Im trying to draw a Horizontal Line extended to the right side.

    I can do that with the "F3" (Ray) but i want to have that Ray fixed to Horizontal Line.

    Like "F6" (Horizontal Line) but only extended to the right side, and not both (left and right..)

    Thank you!

    #2
    Hello contrax,

    Thank you for the post.

    There are no default options for a "Horizontal ray". One would need to write a custom drawing tool that could do this. I invite you to review the Lines.cs file within a NinjaScript editor in the DrawingTools folder. That is how all variations on lines are drawn in the platform.

    Please let me know if I can assist further.

    Comment


      #3
      Originally posted by NinjaTrader_ChrisL View Post
      Hello contrax,

      Thank you for the post.

      There are no default options for a "Horizontal ray". One would need to write a custom drawing tool that could do this. I invite you to review the Lines.cs file within a NinjaScript editor in the DrawingTools folder. That is how all variations on lines are drawn in the platform.

      Please let me know if I can assist further.

      Thank you for your reply.

      Yes, before i create this thread, i try to do it myself but i dont know how. Can you help me?

      Comment


        #4
        Hello contrax,

        Thank you for the reply.

        It looks like a user has made this in the past

        https://ninjatrader.com/support/foru...e-tool?t=99733

        Before you replace the @Lines file in the platform, make sure to save a copy of it somewhere, like on your desktop. The file can be found in ..\Documents\NinjaTrader 8\bin\Custom\DrawingTools

        Please let me know if I can assist further.

        Comment


          #5
          Originally posted by NinjaTrader_ChrisL View Post
          Hello contrax,

          Thank you for the reply.

          It looks like a user has made this in the past

          https://ninjatrader.com/support/foru...e-tool?t=99733

          Before you replace the @Lines file in the platform, make sure to save a copy of it somewhere, like on your desktop. The file can be found in ..\Documents\NinjaTrader 8\bin\Custom\DrawingTools

          Please let me know if I can assist further.


          Thank you, it works fine doing that... but can be better if by default set horizontal line without clicking the "left shift". But yes, its better than doing manual. Thank you!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          558 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          324 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          546 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          547 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X