• 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, 12:03 PM.

          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 bmccoard, Today, 06:48 PM
              0 responses
              5 views
              0 likes
              Last Post bmccoard  
              Started by omololu, Today, 05:10 PM
              0 responses
              9 views
              0 likes
              Last Post omololu
              by omololu
               
              Started by fut_practic, Today, 05:01 PM
              0 responses
              7 views
              0 likes
              Last Post fut_practic  
              Started by persoguillermo, Today, 04:38 PM
              0 responses
              4 views
              0 likes
              Last Post persoguillermo  
              Started by localappleseed, Today, 09:59 AM
              1 response
              19 views
              0 likes
              Last Post NinjaTrader_Jermaine  
              Working...
              X