• 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

Draw line segments

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

    Draw line segments

    Hi,

    Is it possible to allow the draw of line segments (not only rays) in the right free space of the chart (outside price bars) ? For what I could understand, this is only possible with rays, but line segments are also very important.

    This is a very important feature for me. How possible is to allow this in the software ?

    Best Regards,
    Pepe.

    #2
    This is not supported right now, but will be supported by fall time.
    DierkNinjaTrader Customer Service

    Comment


      #3
      Ok.. thank you.

      Comment


        #4
        Hello, anyone could help on this. I have attached an image of the output what I want. I want to draw a line that will start at the current bar as illustrated in the arrow of the attached image then it will continue to draw until 8 bars next. Or anyone can tell me what font is being used in plotting the line in the attached image that is next to the label "target"? Thanks.
        Attached Files

        Comment


          #5
          luxurious_04, unfortunately we would not know which font type is being used here, I suggest you try a few widespread ones and compare - for the line you could drawn into the future by supplying a future DateTime and anchor, or you keep count where you started the line and then redraw one bar longer each bar to make it extend as time progresses.
          BertrandNinjaTrader Customer Service

          Comment


            #6
            Give a sample code of what you said Bertran please. Just a tip or guide for me to do "or the line you could drawn into the future by supplying a future DateTime and anchor, or you keep count where you started the line and then redraw one bar longer each bar to make it extend as time progresses".

            Comment


              #7
              You can try for example this simple snippet - drawing to an endpoint 10 mins into the future.

              Code:
              DrawLine("line1", true, Time[0], High[0] + 10 * TickSize, Time[0].AddMinutes(10), Close[0], Color.Blue, DashStyle.Solid, 3);
              BertrandNinjaTrader Customer Service

              Comment


                #8
                Thanks Bertran, I just wanna ask if how to get the stop loss of the ATM strategy?

                Comment


                  #9
                  Unfortunately you could only access the status of the stop and target orders - http://www.ninjatrader.com/support/h...gy_methods.htm

                  You can keep track of the current value though, as you know the entry, know the stop / target parameters of the template applied and you know also when you moved the stop / target programmatically.
                  BertrandNinjaTrader Customer Service

                  Comment


                    #10
                    Anyone could help me on how to draw a tangent line? I have a slope value and I want to draw a tangent line out from it.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by profitabletrader306, Today, 12:00 AM
                    0 responses
                    2 views
                    0 likes
                    Last Post profitabletrader306  
                    Started by marcelodelta, Yesterday, 08:28 PM
                    2 responses
                    11 views
                    0 likes
                    Last Post marcelodelta  
                    Started by junkone, Yesterday, 09:06 PM
                    1 response
                    7 views
                    0 likes
                    Last Post NinjaTrader_Marco  
                    Started by ferenc., Yesterday, 04:54 PM
                    2 responses
                    17 views
                    0 likes
                    Last Post ferenc.
                    by ferenc.
                     
                    Started by rwilliam, Yesterday, 03:51 PM
                    1 response
                    13 views
                    0 likes
                    Last Post NinjaTrader_ShawnB  
                    Working...
                    X