PROTECTED SOURCE SCRIPT
Auto Trendlines + Breakout Alerts (Tiny Marker, & Alerts)

This tool automatically detects and draws uptrend and downtrend lines based on pivot points, then alerts you when price breaks those lines under filtered conditions. It’s designed to cut through market noise and provide only high-quality breakout signals.
Features:
Automatic Trendline Detection – Identifies swing highs/lows and plots trendlines without manual drawing.
Breakout Alerts – Get notified when price breaks a trendline (up or down).
Noise Reduction Filters:
Minimum Break Distance % – Ignore small pierces; only trigger on meaningful breaks.
Bars Cooldown – Prevents multiple signals in a short period.
One Signal Per Trendline – No repeated alerts until a new TL is formed.
Tiny Markers – Clean, minimal arrows instead of large labels.
Customizable Inputs – Adjust pivot sensitivity, break distance, and cooldown for your trading style.
Best Practices:
Works on all timeframes and markets.
For intraday (e.g., XAUUSD M15/H1), try:
Pivot Left/Right = 5, Min Break Distance = 0.20%, Cooldown = 15 bars.
For swing trading (H4/D), try:
Pivot Left/Right = 3–5, Min Break Distance = 0.10–0.15%, Cooldown = 5–10 bars.
Use with additional confirmation (S/R, volume, RSI, etc.) for higher accuracy.
Note: This is an indicator, not a strategy tester — it does not auto-place trades. Always test settings on your chosen market and timeframe.
Features:
Automatic Trendline Detection – Identifies swing highs/lows and plots trendlines without manual drawing.
Breakout Alerts – Get notified when price breaks a trendline (up or down).
Noise Reduction Filters:
Minimum Break Distance % – Ignore small pierces; only trigger on meaningful breaks.
Bars Cooldown – Prevents multiple signals in a short period.
One Signal Per Trendline – No repeated alerts until a new TL is formed.
Tiny Markers – Clean, minimal arrows instead of large labels.
Customizable Inputs – Adjust pivot sensitivity, break distance, and cooldown for your trading style.
Best Practices:
Works on all timeframes and markets.
For intraday (e.g., XAUUSD M15/H1), try:
Pivot Left/Right = 5, Min Break Distance = 0.20%, Cooldown = 15 bars.
For swing trading (H4/D), try:
Pivot Left/Right = 3–5, Min Break Distance = 0.10–0.15%, Cooldown = 5–10 bars.
Use with additional confirmation (S/R, volume, RSI, etc.) for higher accuracy.
Note: This is an indicator, not a strategy tester — it does not auto-place trades. Always test settings on your chosen market and timeframe.
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.