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.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Plot/PlotStyle
Collapse
X
-
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.Tags: None
-
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
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Padan, Today, 02:02 AM
|
9 responses
21 views
0 likes
|
Last Post Today, 03:27 PM | ||
Started by spottysallrite, Today, 11:31 AM
|
7 responses
22 views
0 likes
|
Last Post Today, 03:26 PM | ||
Started by nandhumca, Today, 03:15 PM
|
1 response
4 views
0 likes
|
Last Post Today, 03:23 PM | ||
Started by PopovDS, 03-11-2024, 12:49 PM
|
3 responses
17 views
0 likes
|
Last Post
by PopovDS
Today, 03:16 PM
|
||
Started by Lele2k24, Yesterday, 11:24 AM
|
12 responses
37 views
0 likes
|
Last Post Today, 03:07 PM |
Comment