OPEN-SOURCE SCRIPT
ZigZag Bands

This script plots a central line and top and bottom lines, like a bands.
If the market is up and price still going up then central line follow the last closed "close" value.
If the market is up and price goes down, then central line stop change. If price still going down and cross bottom line, the direction changes and central line start to follow the close value if it is below central line.
I recommend to use Bandsize = 2 or 3 times ATR(300 or bigger)
This script is used in pair with my ZigZag Volume Accumulator, https://br.tradingview.com/script/Zplglw8b/
If the market is up and price still going up then central line follow the last closed "close" value.
If the market is up and price goes down, then central line stop change. If price still going down and cross bottom line, the direction changes and central line start to follow the close value if it is below central line.
I recommend to use Bandsize = 2 or 3 times ATR(300 or bigger)
This script is used in pair with my ZigZag Volume Accumulator, https://br.tradingview.com/script/Zplglw8b/
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.