Multi ZigZag EW - Impulse

Similar to the previous script on Elliot Wave Impulse:

But, here we are trying to use multiple zigzags instead of just one.

You can select upto 4 different Zigzags and set different length, line color, line width and style for each. Parameters ShowZigZag, ZigZagLength, ZigZagColor, ZigZagWidth, ZigZagStyle can be used for adjusting these.

ErrorPercent lets you set error threshold calculation of ratios for pattern identification
EntryPercent is used for marking Entry and T.Stop (Tight Stoploss) based on the length of Wave 2.

Target of the script is same as before. We are trying to identify Wave 1 and 2 of Elliot Impulese Wave and then project Wave 3. Chances of price following the pattern are there. Hence, we set Stoploss based on levels which fails the pattern.

Ratios are taken from below link: https://elliottwave-forecast.com/elliott... - Section 3.1 Impulse

  • Wave 2 is 50%, 61.8%, 76.4%, or 85.4% of wave 1 - used for identifying the pattern.
  • Wave 3 is 161.8%, 200%, 261.8%, or 323.6% of wave 1-2 - used for setting the targets

Since we use multiple zigzags, labels can be quite messy at times. In such scenarios, just disable one of the zigzag length causing label overlaps.
Notes de version: Fix zigzag calculation error
Notes de version: Convert to pine 5

Reach me on telegram: https://t.me/HeWhoMustNotBeNaamed

Join tradingview: https://www.tradingview.com/gopro/?share_your_love=sudh

Donations Welcome :)
Paypal : https://www.paypal.com/paypalme/trendoscope
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?