TradingView
Troptrap
2 Th09 2021 20:40

Zigzag SAR 

CELO / TetherUSBinance

Mô tả

This is another ZigZag script. But the difference between this and other ZigZag indicators on TV is that here we find highs and lows based on Parabolic SAR.
It repaints?
YES.
On last line of ZigZag you get repainting, because the highs and lows get confirmation only if direction (SAR dots) changes.
This shouldn't be used to forecast highs and lows directly anyway, it's just a visual guide for past highs and lows.
I'm using it to spot harmonic patterns and Wolfe waves more easily. The plan is to draw these automatically in the future, but my skills at Pinescript are limited at the moment.
PS. Ideas for my scripts are coming from @Jegejig1 on Stocktwits, if you want to know who to blame lol
Bình luận
vinikumar72
Zigzag line repaints. What to do
Kjaerbye
@vinikumar72, yes, all zig zags repaint, you cant really change that
Troptrap
@vinikumar72, I already explained in description, the lines go to highest high or lowest low, based on SAR direction. Only when SAR changes direction, that specific high gets confirmation and stays forever there.
While there are dots below candles, it looks for the highest high continuously.
While there are dots above candles, it looks for lowest low.
Only when dots switch their position in relation to the candle, the script switches its target too.
As I said, you can use it for drawing patterns (harmonic patterns, double tops/bottoms, head and shoulders) and then the repaint on last line is not really an issue
Thêm nữa