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.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。