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 helpwanted, Today, 03:06 AM
|
1 response
11 views
0 likes
|
Last Post Today, 03:35 AM | ||
Started by Brevo, Today, 01:45 AM
|
0 responses
9 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
387 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
Comment