NexusFi: Find Your Edge


Home Menu

 





N7 ZigZag modification


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one forrestang with 8 posts (0 thanks)
    2. looks_two cory with 2 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 Marty087 with 1 posts (0 thanks)
    1. trending_up 8,469 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 12 posts
    2. attach_file 4 attachments




 
Search this Thread
  #1 (permalink)
 ceramictilepro 
Roseville CA
 
Experience: Advanced
Platform: N7
Broker: Amp Futures/CQG
Trading: ES
Posts: 124 since Jun 2009
Thanks Given: 32
Thanks Received: 21

Hello,
I was looking to modify the standard ZigZag indicator which will keep the same code or parameters such as: Deviation type
Deviation value
Use high and low

and will draw text on how long each zigzag is.

I downloaded a few other indi's such as "PriceActionSwing","ZigZagUTC" and "ZigZag_Sam02" but they all use a "Swing Size from 1-5" which doesn't allow an exact tick or point value like the N7 ZigZag.

thank you!


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Airspace Contract Surges to 33.5% as Project Freedo …
Prediction Markets & Event Contracts
Zytrade: Devin Brady, CEO - Ask Me Anything (AMA)
Brokers
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
Cboe Launches BITVX Bitcoin Volatility Index and Unveils …
Prediction Markets & Event Contracts
US Prop Firms Race Inside the CFTC Perimeter -- Tradeify …
Funded Trading Evaluation Firms
 
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
2026 Fire Horse
5 thanks
  #3 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
Legendary Urban Samurai
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,345 since Jun 2010
Thanks Given: 357
Thanks Received: 1,060



ceramictilepro View Post
.............which doesn't allow an exact tick or point value like the N7 ZigZag.

thank you!

I am looking for a similar script.


Reply With Quote
  #4 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
Legendary Urban Samurai
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,345 since Jun 2010
Thanks Given: 357
Thanks Received: 1,060

I may have to build this thiing from scratch?

Trying to think of the logic for it.


Reply With Quote
  #5 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


forrestang View Post
I may have to build this thiing from scratch?

Trying to think of the logic for it.

It's mind-boggling!


Reply With Quote
  #6 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
Legendary Urban Samurai
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,345 since Jun 2010
Thanks Given: 357
Thanks Received: 1,060


cory View Post
It's mind-boggling!

It is, LOL.

I have a slightly different one in mind as well. In that each day, I want to begin counting from the RTH open, and let that be the INITIAL starting point. And then there after count swings greater than a certain tic size.


Reply With Quote
  #7 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
Legendary Urban Samurai
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,345 since Jun 2010
Thanks Given: 357
Thanks Received: 1,060

Damn, I just realized after re-reading the first post, that it does in fact allow you to input a point value. At least the standard zz shipped with NT.

Great. Just need to get it to print the values and restart it. Woot!


Reply With Quote
  #8 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
Legendary Urban Samurai
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,345 since Jun 2010
Thanks Given: 357
Thanks Received: 1,060


forrestang View Post
It is, LOL.

I have a slightly different one in mind as well. In that each day, I want to begin counting from the RTH open, and let that be the INITIAL starting point. And then there after count swings greater than a certain tic size.

Got it to start OVER each session. But now need it to STOP at the end of the day.


Attached Thumbnails
Click image for larger version

Name:	Prime2011-11-09_104049.jpg
Views:	322
Size:	150.0 KB
ID:	54436  
Reply With Quote
  #9 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
Legendary Urban Samurai
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,345 since Jun 2010
Thanks Given: 357
Thanks Received: 1,060


forrestang View Post
Got it to start OVER each session. But now need it to STOP at the end of the day.

Meh... kinda, sorta.... gotta look at getting the values now.

BTW... Blue is the original, Red is the modified one.


Attached Thumbnails
Click image for larger version

Name:	11-9-2011 10-46-11 AM.png
Views:	280
Size:	475.5 KB
ID:	54437  
Reply With Quote
  #10 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


for end of day try Bars.LastBarOfSession


Attached Thumbnails
Click image for larger version

Name:	bars.png
Views:	246
Size:	23.0 KB
ID:	54465  
Reply With Quote
Thanked by:




Last Updated on May 3, 2012


© 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