PROTECTED SOURCE SCRIPT
DM ziggy lines..

Use on chart
1
0
Understand What ZigZag Shows
The ZigZag connects swing points:
Up move (Bull leg) → identifies higher swing lows (potential start of uptrend)
Down move (Bear leg) → identifies lower swing highs (potential start of downtrend)
It doesn’t repaint here (since you used a non-repainting logic), so signals are confirmed once the line appears.
Entry Logic (Trend-Following Style)
You can trade in the direction of the last confirmed ZigZag leg:
Long entry idea
Wait for the ZigZag to plot a bullish leg (green line in your script).
Confirm the higher low (price doesn’t break below the last swing low).
Enter when a candle closes above the recent swing high or with bullish momentum (e.g., a bullish engulfing candle).
📉 Short entry idea
Wait for the ZigZag to plot a bearish leg (red line).
Confirm the lower high (price doesn’t break above the last swing high).
Enter when a candle closes below the recent swing low or with bearish momentum.
. Exit or Stop-Loss
Stop-loss: Place just beyond the most recent swing point (ZigZag high/low).
Take-profit: Use risk/reward (e.g. 1:2 ratio) or next opposite ZigZag point.
Example:
Long trade after green ZigZag up-leg → stop below last swing low → exit near next swing high (red ZigZag reversal).
Optional Enhancements
You can combine the ZigZag logic with:
RSI or MACD → to confirm momentum.
Moving averages → to confirm overall trend.
Volume spikes → to confirm strong swing reversals.
1
0
Understand What ZigZag Shows
The ZigZag connects swing points:
Up move (Bull leg) → identifies higher swing lows (potential start of uptrend)
Down move (Bear leg) → identifies lower swing highs (potential start of downtrend)
It doesn’t repaint here (since you used a non-repainting logic), so signals are confirmed once the line appears.
Entry Logic (Trend-Following Style)
You can trade in the direction of the last confirmed ZigZag leg:
Long entry idea
Wait for the ZigZag to plot a bullish leg (green line in your script).
Confirm the higher low (price doesn’t break below the last swing low).
Enter when a candle closes above the recent swing high or with bullish momentum (e.g., a bullish engulfing candle).
📉 Short entry idea
Wait for the ZigZag to plot a bearish leg (red line).
Confirm the lower high (price doesn’t break above the last swing high).
Enter when a candle closes below the recent swing low or with bearish momentum.
. Exit or Stop-Loss
Stop-loss: Place just beyond the most recent swing point (ZigZag high/low).
Take-profit: Use risk/reward (e.g. 1:2 ratio) or next opposite ZigZag point.
Example:
Long trade after green ZigZag up-leg → stop below last swing low → exit near next swing high (red ZigZag reversal).
Optional Enhancements
You can combine the ZigZag logic with:
RSI or MACD → to confirm momentum.
Moving averages → to confirm overall trend.
Volume spikes → to confirm strong swing reversals.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
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.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
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.