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
Custom Swing lines for price highs/lows
Collapse
X
-
Custom Swing lines for price highs/lows
I am a developer beginning to look into ninjascript. To get started, I am looking at modifying the existing Swing indicator to force the lines to extend out into infinity until touched by price and new pivot formed, at which point I need to note on the graph the point/price that touched/went below/went above and then start a new swing high and low lines until touched again, and again noting on the graph the time/price that happened. Anyone have quick help on how that is done extending those lines out and drawing something on the graph to mark price hit and when drops below the low and goes above the high? -
Cookwp,
Thank you for your post.
I think your best bet would be to take a look at how the current Swing is calculated. This should give you an idea of what is being done with the data objects and the plot processing.
You could then elaborate further on them to the data objects and extend the lines how you need to.Cal H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mly916, Today, 09:48 PM
|
0 responses
6 views
0 likes
|
Last Post
by mly916
Today, 09:48 PM
|
||
Started by Mikey_, Today, 09:21 PM
|
0 responses
10 views
0 likes
|
Last Post
by Mikey_
Today, 09:21 PM
|
||
Started by cre8able, Today, 05:53 PM
|
3 responses
13 views
0 likes
|
Last Post
by cre8able
Today, 09:20 PM
|
||
Started by Aryan Kumar, Today, 09:04 PM
|
0 responses
4 views
0 likes
|
Last Post
by Aryan Kumar
Today, 09:04 PM
|
||
Started by yertle, Yesterday, 05:49 PM
|
3 responses
16 views
0 likes
|
Last Post
by Mindset
Today, 08:38 PM
|
Comment