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.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.