Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Copy-Paste Function of Trend Line

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

    Copy-Paste Function of Trend Line

    Click image for larger version

Name:	Copy Paste Trendline.png
Views:	449
Size:	17.0 KB
ID:	1119845

    When I copy/paste the trendline it is not parallel . . . I have disabled the snap function and get the same result. Any suggestions ?

    Thx, RickR

    #2
    This is a common symptom of copying a drawing object which has one or more 'anchor points' beyond the current time/bar data. Does this symptom persist if you copy+paste a drawing object which has all anchor points within the existing data?

    Comment


      #3
      So this is something we have to live with ? Is it a bug that can be fixed with code ?

      I realize I can use a Ray but prefer a line for short swings . . .

      Thx Rick

      Comment


        #4
        This is not a bug, per se. All drawing objects must necessarily have an X and Y coordinate which correspond with time and price. When you draw an object into the future, particularly on a non-time based interval like volume or range, the X/time coordinate is estimated. When you copy+paste an object, that estimate is then recalculated. There is no way to 'fix' this via NinjaScript coding.

        Comment


          #5
          NinjaTrader_PatrickG is bang on, however if you load up your chart historical data based on days (say 100 days of past data) and then draw all your chart marketings, when you go up or down a time frame or when you copy/paste they will always have the ability to draw the x+y data points so you'll never hit this issue.

          The downside is you'll take a bit of a performance hit because doping from 60 to a 30m chart means your loading up twice the data so could take longer to change between charts.

          Please correct me if i'm wrong but that should solve your issue?

          Comment


            #6
            Thanks for your assistance

            Comment


              #7
              I am having this same issue but even with using historical data so the time points are fixed. Is there way to fix this?

              Comment


                #8
                Please provide the exact steps needed to reproduce what you're reporting. If you have the ability to record a video, that would be even better. I like to use Techsmith Capture to quickly record and share videos.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by ghoul, Today, 06:02 PM
                1 response
                10 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                44 views
                0 likes
                Last Post jeronymite  
                Started by Barry Milan, Yesterday, 10:35 PM
                7 responses
                20 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by AttiM, 02-14-2024, 05:20 PM
                10 responses
                179 views
                0 likes
                Last Post jeronymite  
                Started by DanielSanMartin, Yesterday, 02:37 PM
                2 responses
                13 views
                0 likes
                Last Post DanielSanMartin  
                Working...
                X