All indicators

Auto TrendLines Support Resistance Signal Alerts

Mar 29, 2025

Static chart image
Price Action BasedSupport and ResistanceSignalsDrawing Tool

The Auto TrendLines Support Resistance Signal Alerts indicator automatically detects and draws structural trendlines based on price action pivots, providing traders with real-time dynamic support and resistance zones.

Usage

The script identifies key market structures by connecting validated pivot points. Users can leverage these automated trendlines to determine market direction and identify potential entry or exit zones.

  • Trend Direction: In an uptrend, focus on trendlines connecting higher lows (MHL/mHL). In a downtrend, focus on lines connecting lower highs (MLH/mLH).
  • Bounce Entries: Traders can look for price reactions at a trendline combined with reversal candlestick patterns or RSI divergences.
  • Breakout Entries: When price breaks a trendline with high momentum, it may signal a trend reversal or a volatility expansion.
  • Pivot Classification: The indicator distinguishes between "Major" pivots (defining primary market structure) and "Minor" pivots (defining internal price movements). For the highest precision, it is recommended to connect pivots of the same classification.

Details

The algorithm uses a pivot-based logic to categorize market structure into eight distinct trendline types, including internal, external, major, and minor variants. Unlike simple two-point lines, this tool looks for structural consistency.

  • Major Pivots: Include MLL (Major Lower Low), MHL (Major Higher Low), MHH (Major Higher High), and MLH (Major Lower High).
  • Minor Pivots: Include mLL, mHL, mHH, and mLH for more granular analysis. The indicator also includes an integrated alert system that can trigger based on trendline breaks or price reactions (bounces).

Settings

Zig Zag Logic

  • Pivot Period: Determines the sensitivity of pivot detection. Higher values result in longer-term, more significant trendlines, while lower values capture more frequent minor swings.

Alert

  • Alert Name: Customizes the header of the alert notification.
  • Message Frequency: Controls how often alerts trigger (All, Once Per Bar, or Per Bar Close).
  • Time Zone: Adjusts the timestamp visibility for alerts.
  • Trendline Alerts: Independent "Break" and "React" alert toggles for every trendline category (Major/Minor, Internal/External, Up/Down).

Display

  • Show/Hide Toggles: Enables or disables specific trendline types.
  • Delete Previous: When enabled, only the most recent trendline of that specific type is displayed.
  • Visual Customization: Adjust color, line style (solid, dashed, dotted), extension (left, right, both), and line width for each category.

FAQ

How do I access the Auto TrendLines Support Resistance Signal Alerts? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

What is the difference between Major and Minor trendlines? Major trendlines connect significant structural points that define the overall market trend, while Minor trendlines connect internal pivots often found within corrective waves or shorter-term price movements.

Can I set alerts for specific trendline breaks? Yes, the indicator allows you to independently enable "Break" or "React" alerts for any of the eight trendline types within the settings menu.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.