Improve current ZigZag indicator in NT8 - futures io
futures io

Improve current ZigZag indicator in NT8

Discussion in NinjaTrader

    1. trending_up 589 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 1 posts
    2. attach_file 0 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

Improve current ZigZag indicator in NT8

(login for full post details)
  #1 (permalink)
Experience: Beginner
Platform: TDAmeritrade
Trading: Options On Futures
Posts: 42 since Aug 2017
Thanks: 4 given, 10 received

Hi folks,

I am looking for an improved version of ZigZag.

The ZigZag, which comes with NT8, only calculates ZigZag points 1 bar ago. I need the following improvements.
1) Eager to update ZigZag points of new high to current bar, if the zigzag trend is up and current bar is at least 1 tick above the last zigzag high. Or update zigzag point of new low to current bar, if the zigzag trend is down and current bar is at least 1 tick below last zigzag low.
2) Lazy to add new zigzag low point after a zigzag uptrend is identified. New zigzag low point is only added after N consecutive bars are below last high, and the difference is larger than a predefined threshold. (if it's still within the threshold after N bars, wait further until it moves higher to update the last zigzag high, or wait it moves down to hit the threshold to add a zigzag low point). Lazy to add new zigzag high point, after a zigzag down trend is identified, is an opposite but similar case.

I believe these 2 improvements will filter out most of those noises at zigzag turning point.

But I have just setup visual studio to put break points in NinjaScripts. There are still quite a lot for me to learn to make the above improvements. Anyone can help me?

Thank you.

Best Regards
David WANG

Started this thread Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(267 thanks from 25 posts)
looks_twoSalao's Journalby Salao
(67 thanks from 12 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(48 thanks from 18 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(37 thanks from 15 posts)
looks_5Maybe a little bit different journalby Malykubo
(17 thanks from 17 posts)
Best Threads (Most Thanked)
in the last 7 days on futures io
The Crude Dude Oil Trading System
87 thanks
Big Mike in Ecuador
76 thanks
Help improve the FIO community
41 thanks
The New Micro Contract - MICRO BITCOIN coming May 2021
30 thanks
futures io site changelog and issues/problem reporting
21 thanks
(login for full post details)
  #2 (permalink)
Berlin Germany
Posts: 9 since Feb 2020
Thanks: 1 given, 5 received

I also have the same problems. I recommend you Mlsdev They are built my mobile application some time ago and I would recommend it to others as they're a truly reliable service.

Reply With Quote

futures io Trading Community Platforms and Indicators NinjaTrader > Improve current ZigZag indicator in NT8

Last Updated on March 12, 2021

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Journal Challenge w/$1,800 in prizes!


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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