how to I get zig-zag indicator of Ninja 7 to display (or export) price info? - futures io
futures io futures trading



how to I get zig-zag indicator of Ninja 7 to display (or export) price info?


Discussion in NinjaTrader

Updated
    1. trending_up 2,946 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. 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)

 
Search this Thread
 

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
 
aquarian1's Avatar
 
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 .

Visit my futures io Trade Journal Started this thread Reply With Quote

Journal Challenge February 2021 results:
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(173 thanks from 31 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(120 thanks from 33 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(35 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #2 (permalink)
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
 
aquarian1's Avatar
 
Posts: 4,026 since Dec 2010
Thanks: 1,504 given, 2,579 received

Here are the graphs

..........
peace, love and joy to you
.........
Visit my futures io Trade Journal Started this thread Reply With Quote
 
(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()
                    );

Reply With Quote
 
(login for full post details)
  #4 (permalink)
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
 
aquarian1's Avatar
 
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
.........
Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #5 (permalink)
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
 
aquarian1's Avatar
 
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
.........
Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
Site Moderator
 
 
sam028's Avatar
 
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)
Follow me on Twitter Reply With Quote
The following 2 users say Thank You to sam028 for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > how to I get zig-zag indicator of Ninja 7 to display (or export) price info?


Last Updated on December 21, 2011


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1500 prizes from Topstep!

February
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts