Multi Fractals ZigZag High/Low

Multi Fractals ZigZag High/Low

Second version of this indicator, first one can be found here:

This new version draw only High/Low points of the fractals zigzag on chart. It draws major points (green and red squares) which are calculated with a lookback of 20 periods by default (“cp” parameter can be changed at will).

The minor points (green and red dots) are calculated the same way but with the default period divided by 2 (so 20/2=10 periods by default).

This indicator can be used to trade 123 pattern of any other kind of breakout strategies.


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?

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

  1. Seemore Profit • 99 days ago #

    Nothing gets added, a indicator sections opens on the bottom part of the chart but nothing anywhere all blank

    • Nicolas • 99 days ago #

      Please add it on price instead. Use the wrench at the upper left side of the chart.

  2. Loop • 96 days ago #

    Hi Nicolas,

    would it be possible to have a tradins system based on this indicator?

    I tried but it’s too complicate for my skills…

    Thanks a lot!

  3. geoken • 94 days ago #

    Hi! Is there any way to set an audio alarm or pop-out box alert when the fractal appear?  Any suggestions is greatly appreciated. 

    Thank you


  4. Stenozar • 61 days ago #

    Buongiorno Nicolas, mi scuso per l’ignoranza, ma non ho capito come si può utilizzare questo indicatore. Potrebbe spiegarlo brevemente?


    • Nicolas • 61 days ago #

      Questo indicatore disegna picchi massimi ei minimi basso per determinare le zone di supporto e resistenza. È tutto 🙂

  5. NYORKA • 50 days ago #

    Hello Nicolas

    Can this code be transferred to Tradingview charts? Thanks

    • Nicolas • 50 days ago #

      Certainly, but I will not do it.

  6. Vin's Regnault • 21 days ago #

    Bonjour Nicolas,

    Je tenais  à te remercier pour tout ce travail incroyable que tu fais pour nous !

    Merci quel indicateur de qualité !!

    Je te souhaite que le meilleur

  7. shephinc • 7 days ago #


    Thank you for amazing stuff you do here!

    I tried to make this into an indicator but it seems to lag ahead! is this by design or I do something wrong ? 🙂

    • Nicolas • 7 days ago #

      It’s not lagging, Fractals are confirmed few bars only after a new peak or trough had been discovered.

    • shephinc • 7 days ago #

      Ok! Thanx!

  8. SEBASTIEN DELABOETIE • 5 days ago #

    Hello Nicolas,

    Ok, i will try to speak english…

    I suppose this indicator repaint ?… am I right ?



    • Nicolas • 5 days ago #

      No it doesn’t. Points are drawn afterwards.

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+9 more likes

Related users ' posts
Nicolas Hi Maz, it's always a pleasure to review your post, they are always perfectly well formatted...
Robert Great work! Could be useful :)
Tedvin Nice one, thanks a lot Maz :)
TheAccountant hmmmmmmm... même si j'applique les EMA sur l'indicateur lui même et pas dans la fenetre prix...
Nicolas Le temps continue de s'écouler sur un graphique "normal" comme c'est le cas ici, alors que ç...
TheAccountant ok j'ai compris le truc ! merci !
1 week ago
Francesco78 very nice, thanks!
Elsborgtrading Thanks for this MAZ:-) I will also try and implement it in manual trading. I changed the v...
ALE Thanks! excellent
otty82  THX looks good!
century nice one , thank you
supertiti Il manque 2 slash devant len dans le code dur car la variable ne marche pas bonne journée
3 weeks ago
Bard p.s. It worked fine yesterday. I've just opened up another template that I have, which also ...
Nicolas You certainly changed the code of the indicator and made a typo somewhere. Please redownload...
Bard I haven't changed the code related to the parts mentioned above. The only modification was m...
4 weeks ago
gatarayihajp Hi swingforfortune, Thanks a lot about your interesting posting. Let ask you to explain mor...
Swingforfortune Hello. Basically they are a twist of the MACD histogram and can be used as such. They visua...
gatarayihajp Hi again Thanks for the explanation. Have a good day
Swingforfortune As Nicolas says, you need to adjust/create one indicator for each chart unfortunately. For ...
Swingforfortune I usually use it on Index and individual stocks. I don't have experience using it on forex. ...
Elsborgtrading ahh ofcause guys. Thanks :-) Cheers Kasper
gabri Roman made the strategy, I made the code and Maze made it bulltproof. You can use it I belie...
Roman Francesco78 here is the strategy:
Francesco78 Thank you!
1 month ago
Peter J Thanks Nicolas I'll give it a go. Computers and coding is not my thing but who knows. If all...
Nicolas For personal assistance, you can submit your request with the form on this page: https://www...
Peter J Great stuff thanks Nicolas.
Marius Hi Nicolas,   thanks you for you valuable input. I am relatively news to PRT and I wo...
Nicolas This is question that should be posted on forum, it's general purpose and it is not related ...
Frankiesc Thanks Nicolas for sharing this indicator, it's interesting
gabri Excellent job like always!! are you working also on the Barycenter indicator?
Nicolas No but I think you can find a lot of different version of the "center of gravity - COG" indi...