ZIGZAG TREND

ZIGZAG TREND

Binary indicator which adopts the Zigzag mechanism but as opposed to the above two indicators, it gives always valid signals about the direction of a trend and shows when that trend was confirmed.
It does not show peaks and troughs like Zigzag, but returns +1 for valid up trends and -1 for valid downtrends and it rejects all the invalid trends.
The real power of ZZT is that its signals are never revisable, so you can let the indicator provide valid signals for both the past and the present.

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Brad • 10/12/2015 #

    Hi lolo, do you know why when importing this ontoPRT v10.2 it just gives a flat line?
    Thanks.

  2. Vonasi • 10/12/2015 #

    I’m interested in this indicator but it does not appear to work on 10.3. Could it be possible for someone to get it working on 10.3? Or maybe I’m just applying it incorrectly as I am a newbie to importing indicators to PRT.
    I’m also a little confused by the image shown as a zigzag is normally either trending up or down and so the result shown would be either +1 or -1 but the image shows a lot of zero.
    Thanks for any help with this.
    Chris

    • Nicolas • 10/12/2015 #

      You need to change the ‘amnt’ variable to a percentage, so if you set it to 10 it represents a 10% needed for a new zigzag to be found, which is quite enormous for many instruments / timeframe.

  3. Vonasi • 10/12/2015 #

    Thanks for your reply – I had tried that – I set the amnt to 1 on a 15 min GBPUSD chart and could see no results except zero. I have now tried it on a daily chart and see that I get some results but they do not seem to agree in anyway to the standard zig zag set to 1% on the chart. I am still confused as to what exactly the +1 zero and -1 actually represent. Is there anyway to get an indicator that just returns +1 or -1 depending upon whether a zigzag is trending up or trending down at any moment in time?
    Chris
     

avatar
Register or

Likes

avatar avatar
Related users ' posts
luiskohnen Parece un excelente indicador, lo voy a analizar. Muchas Gracias
Iván De nada!
lkiklkik merci ! which time frame would be the best .?
Iván sería así //------------------Inputs------------------------------ linreglength = 11//i...
Doddge Muchísimas gracias Iván, está genial.
superfalcio holaaa, have you run some statistics?
el titi Bonjour, merci beaucoup pour ce partage. Je vais regarder avec attention ce script et analys...
Armand2020 Bonjour , super taf!! serait il possible de faire un poc dynamique en timeframe 5 min en mod...
philippe59139 voici ce qu'il faudrait faire ou ajouter: //poc dynamique defparam calculateonlastbars=1...
Iván
4 weeks ago
Iván I personally like it in daily timeframe
oliTR Many thanks Ivan, I copy/paste your code to try it but could only get a constant stable unif...
Iván Hi, I've copied the code above and it works... what asset are you trying? $indices array ...
francis59 Hello Ivan, thanks for this very nice and powerfull indicator. Could you have time to create...
Iván Hi We could find stocks with sweep on: //PRC_Sweep Institucional //version = 0 //28.0...
inverse Like the way you think Ivan ... :)
Iván Hi You should delete from the indicator code all drawing functions and all variables not us...
Iván I've created a screener to show [longcondition or shortcondition]
Chrisinobi Hallo Ivan, Danke das ist Perfekt !! Kannst du bitte in der Screener-Bibliothek die itf. hoc...
Ciccarelli Franco Sembra molto interessante e volevo dei chiarimenti se possibile :Le righe commentate vanno l...
MaoRai54 Thanks, now it's OK. in your first code at line 15-16 it's missing.
Madrosat Hello Ivan Did you try a strategy with this indicator
Iván Hi. No I didn't. This is a code translation requested by an user a few days ago.
Fgats https://www.prorealcode.com/topic/indicateur-3-sigma-documentation/ lien pour la documentat...
DELBERT Bonjour , merci pour le partage et la traduction , je vais essayer d'assimiler ce nouvelle i...
Iván
1 month ago
cjr30 Simplemente modifica las lineas 19 y 21 por las siguientes: drawtext("▲",barindex,low-0.1*a...
groelandes Gracias!!
WhyAskOZ i copied the code into strategy and it gives error on line 21 and 23. it says " Line 1: ...
Iván
2 months ago
Madrosat Hello Ivan You have interesting topics on indicators , smart supertrend, optimised trend t...
Iván Hi! thanks. All of these codes are translations requested in the forum. I've on mind to back...
jacquesgermain sì da aggiungere
Maik2404 auf welchen Wert muss ich die Kompresionsperiode stellen?
jacquesgermain — Période de compression : ce paramètre détermine la période de rétrospection utilisée pour ...

Top