NexusFi: Find Your Edge


Home Menu

 





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


Discussion in NinjaTrader

Updated
    1. trending_up 4,567 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,033 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593

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 NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
Prediction Markets & Event Contracts
Orban Crashes to 21pct on Record Turnout -- McIlroy Drop …
Prediction Markets & Event Contracts
The Great Rotation -- Small Caps Crushing Tech as Sectio …
Traders Hideout
GDP Day: The First Economic Reckoning -- Pahlavi at 6.55 …
Prediction Markets & Event Contracts
Warsh Confirmed 54-45 on PPI Day -- 97% Say He Holds in …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,033 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593

Here are the graphs


..........
peace, love and joy to you
.........
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #3 (permalink)
 zikonc 
san ramon
 
Experience: Beginner
Platform: ninja
Broker: zen
Trading: es, 6e
Posts: 136 since Oct 2009
Thanks Given: 98
Thanks Received: 76


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
  #4 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,033 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593

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 NexusFi Trade Journal Started this thread Reply With Quote
  #5 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,033 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593

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 NexusFi Trade Journal Started this thread Reply With Quote
  #6 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632

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 X Reply With Quote
Thanked by:




Last Updated on December 21, 2011


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts