View Full Version : Using ZIgZaq Points in Strategy
richa61416
06-21-2007, 04:52 AM
Is it possible for me to know what are the current Zig Zag Points, while executing a Strategy? I tried using the Debug window to print them, but it comes up blank. How can I know what are the current ZigZig points on the Chart, and whether they are up or down.
THanks in Advance.
NinjaTrader_Dierk
06-21-2007, 05:10 AM
Sorry, this is not supported at this time.
richa61416
06-21-2007, 06:55 AM
Ok. Can I modify the existing ZigZag indicator to have an object that can be referenced?
IF not, then can I allow for the Zig Zag to Print the points to an external file, and then import that file into my strategy?
Can I scan the current chart to determine painted objects and filter out the the one that is ZigZag
There has go to be a way for me while in a strategy to be able to know where the last ZIGzag points are. Right. I do mainly Visual basic programming, so I should be able to code over in C#.
NinjaTrader_Dierk
06-21-2007, 06:59 AM
You may consider coding your own version of the ZigZag indicator by using the existing version as a template. Other than that there is no resolution at this time.
alcamie
04-17-2009, 01:52 PM
I was wondering if this is able to be done now? ie. ZigZag Top == (1), ZigZag Bottom == (-1) ?
You may consider coding your own version of the ZigZag indicator by using the existing version as a template. Other than that there is no resolution at this time.
NinjaTrader_Josh
04-17-2009, 02:08 PM
What do you mean by "top = 1 and bottom = -1"?
alcamie
04-18-2009, 04:33 AM
What do you mean by "top = 1 and bottom = -1"?
What I mean is. Can you use ZigZag within a strategy and based on the high point ie. ZigZag.High == True draw Down arrow and on the low point: ZigZag.Low == True draw up arrow
I'm a little green with the wizard and wish to use the resulting High and Low of the ZigZag to draw arrows pointing out possible trades..
I hope this question is a little clearer.
Cheers
chris
NinjaTrader_Bertrand
04-18-2009, 06:42 AM
Unfortunately this would need to be custom coded in the NinjaScript editor Chris, you may also like to check this custom ZigZag version from our sharing - http://www.ninjatrader-support2.com/vb/local_links.php?action=jump&id=142&catid=1