Trading Articles
Article Categories
Article Tools
how to I get zig-zag indicator of Ninja 7 to display (or export) price info?
Updated December 21, 2011
trending_up
2,946 views
thumb_up
2 thanks given
group
2 followers
forum
5 posts
attach_file
2 attachments
Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free and simple.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
how to I get zig-zag indicator of Ninja 7 to display (or export) price info?
(login for full post details)
#1 (permalink )
Point Roberts, WA, USA
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,026 since Dec 2010
Thanks: 1,504 given,
2,579
received
I would like to get the zig-zag indicator built into Ninja7 to show the data (price) labels at the turns. There is a property for showing the label - which I have changed from false to true.
Each day I record the turn points for the ES regular trading session - both price and time and enter them into a spreadsheet.
The setting on the attached graphs is what I use (all moves equal to or greater than 6pts and I use the high and low -not the close).
Currently, I use the data box window, place it over the turn point and manually record the info. (e.g H1266.25 at 11:56).
If the indicator can be easily be adjusted to out the turn point info (price and time) to a datafile that would be great .
Best Threads (Most Thanked) in the last 7 days on futures io
(login for full post details)
#2 (permalink )
Point Roberts, WA, USA
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,026 since Dec 2010
Thanks: 1,504 given,
2,579
received
Here are the graphs
..........
peace, love and joy to you
.........
(login for full post details)
#3 (permalink )
san ramon
Experience: Beginner
Platform: ninja
Broker: zen
Trading: es, 6e
Posts: 136 since Oct 2009
Thanks: 98 given,
76
received
you could extract the desired data by inserting a Print statement within your indicator where you want your data to come from, then:
open the Output Window under Tools->Output Window
reload your indicator
Select all the text displayed in the Output Window (Ctrl+A)
Copy selected data to clipboard (Ctrl+C)
Open MS Excel an paste the data (Ctrl+V)
in MS Excel under Tools select Text-to-Columns function and with Delimited option split data into columns where Delimter is Other, =
Code
if (
Time[0].DayOfWeek == DayOfWeek.Monday
)
{
Print
(
"=ChartType=" + Bars.Period.Id + "." + Bars.Period.Value
+ "=Instrument=" + Instrument.FullName
+ "=Date=" + ToDay(Time[0]).ToString("0000/00/00")
+ "=Time=" + ToTime(Time[0]).ToString("00:00:00")
/* BAR stats */
+ "=Open=" + (Open[0]).ToString("0.0000")
+ "=High=" + (High[0]).ToString("0.0000")
+ "=Low=" + (Low[0]).ToString("0.0000")
+ "=Close=" + (Close[0]).ToString("0.0000")
+ "=VOL=" + VOL()[0].ToString()
+ "=Range=" + (High[0]-Low[0]).ToString("0.0000")
// + "=Tick=" + Bars.TickCount.ToString()
);
(login for full post details)
#4 (permalink )
Point Roberts, WA, USA
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,026 since Dec 2010
Thanks: 1,504 given,
2,579
received
Thank you for the idea and the code.
I'll try it tomorrow - hopefully.
I'm not a prg but it looks good.
..........
peace, love and joy to you
.........
(login for full post details)
#5 (permalink )
Point Roberts, WA, USA
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,026 since Dec 2010
Thanks: 1,504 given,
2,579
received
To moderator
not being a prg I have no idea if the code works or where to place it.
If you decide it answers the question please feel free to assign answer credits as you deem correct.
..........
peace, love and joy to you
.........
(login for full post details)
#6 (permalink )
Site Moderator
Posts: 3,665 since Jun 2009
Thanks: 3,786 given,
4,494
received
I didn't take a look at Zondor's modifications, here , but the original ZigZag_Sam_03 was able to write directly in a .csv file (search for csv in the file), so maybe it can help.
Success requires no deodorant! (Sun Tzu)
The following 2 users say Thank You to sam028 for this post:
Last Updated on December 21, 2011
Right now
Ongoing
Right now
February
Coming soon
March
Register to Attend
Elite only