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
P. Marlowe Muy bueno. ¿Podría hacerse para señalar extremos por el lado bajista? Lo mismo a la inversa....
Miro Esta es una versión del indicador, para ambos extremos. //-------------------------------...
P. Marlowe Muchas gracias ¡¡
Iván Hi. You could add these lines of code: if intradaybarindex=0 then varhigh=round((dhigh(...
RTR Edit
@toniyecla ¡gracias! más capturas aqui: https://www.prorealcode.com/wp-content/uploads/2024/10/IC...
robert123 I had a go at the 'order block' version- badly done I'm sure....but a start. // Sonarlabs ...
robert123 take ''sens1 = 5'' out and put ''rango'' in as variable
@toniyecla captura: https://www.prorealcode.com/wp-content/uploads/2024/10/sesiones_v3.png
@toniyecla y más opciones: añade una línea también en sesiones EUROPA y USA (configurable) y un texto o...
@toniyecla // Author: toniyecla - contact@rescommunesomnium.com // VARIABLES // EspHorarioVerano (b...
Alai-n Hello, take a look at this formulation made by "Blade106", Topic link attached post #227334....
@toniyecla ¡interesante acercamiento! (no lo conocía, simplemente tuve la necesidad y lo programé) pers...
Iván
4 weeks ago
MaoRai54 dear Ivan, it seems to be very interesting but please clarify what are all the lines I see i...
Iván Hi! you have the answer in the last line of code... MacdMiddle as "histo" style(histogra...
kats Le Top , a utiliser avec le nuage violet et alerte TN pour plus de précision.
roccafragius Hello Ivan, another great Indicator, very useful to trace the trend ( blue line) and the pos...
roccafragius Hello Ivan, very good job! May I ask you to translate teh script from TradingView named Tre...
Iván Hi! yes. You can ask for it here: https://www.prorealcode.com/free-code-conversion/
roccafragius Thank you so much Ivan! I created this request in english Translate from TradingView Indicat...
Regisnew très bel indicateur merci
jordan //---settings MAmode=0 Period=150 NumberOfMA=100 //---end of settings MA2=undefined ...
jordan dites moi si cela correspond à ce que vous cherchez
kats bonjour merci de ta reponse mais non ca fonctionne pas sympa quand même d'avoir essayé cdlt
Jean2139 Bonjour Yvan, Merci pour ton indicateur que je trouve très intéressant. Je suppose que tu ...
Suffi Hier eine kleine Korrektur: //-----Inputs-----------------------------------------// MALengt...
yas hi Ivan is it possible to include FAIR VALUE GAP code in to this indicator
Becleso Bonjour. Il y a une erreur dans le programme "ligne1 : Erreur : commande inconnue" As tu un...
Nicolas Sans doute parce que tu utilises le mauvais éditeur de code, il s'agit d'un indicateur. Je r...
Iván
4 months ago
Javier Goberna Hola Iván muchas gracias por todo tu trabajo y por tus videos. Estoy dado de alta en la plat...
Iván Hola javier gracias! es importante realizar buenos backtest antes de lanzarse al mercado y ...

Top