• 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

Plot/PlotStyle

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

    Plot/PlotStyle

    Is it possible to add a type of line or plot or something where I can plot a values every 10 bars and the plot will connect the values with strait lines?

    Right now I I plot a point and then have to run a loop to calculate each of the interpolated values since the last point. This works OK but not great since the lines aren't perfectly strait and the corners are sometimes rounded.

    #2
    LorneCash, you mean like the ZigZag plot? It would connect the calculated swing points via a graphics path in C# in the overriden Plot method.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      I was hoping there was an easier way but that's not too bad I will use that as a reference. Thank you.

      Comment


        #4
        A 'connecting plot' options is on our list of feedback, will make a sure your vote is counted here in as well.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          OK so I've been looking at the ZigZag indicator for a couple days now and it seemed really confusing and inefficient to me... I made a copy and started editing it and when I ended I reduced the total lines (not including script generated code) from 428 lines to 213 lines and it also has a much more linear flow. I know I can submit it in the forum section but can I submit it directly to NT so it can possibly be distributed in the next update? Or is NT not interested is stuff like that?

          PS I verified that the output is identical by plotting my ZigZag indicator directly on top of the NT ZigZag indicator and they follow exactly.
          Last edited by LorneCash; 02-02-2014, 11:03 AM.

          Comment


            #6
            Thanks for the offer and follow up, if you could contact us directly at support at ninjatrader dot com with the script would be great, we would then review and compare to our internal version updates for the next major platform release.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by jerblaster23, Today, 03:42 PM
            1 response
            11 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by brian meade, Today, 01:39 PM
            2 responses
            10 views
            0 likes
            Last Post brian meade  
            Started by Johnny Santiago, Today, 12:20 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_ChrisL  
            Started by NinjaTrader_Brandon, Today, 10:24 AM
            0 responses
            64 views
            0 likes
            Last Post NinjaTrader_Brandon  
            Started by ptertich, Today, 07:56 AM
            2 responses
            19 views
            0 likes
            Last Post Johnny Santiago  
            Working...
            X