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