All indicators

Auto Trend Drawing

By LuxAlgoFeb 17, 2026

Static chart image

Auto Trend Drawing sketches trend structure the way a trader would by hand: it isolates the structurally important pivots in a recent window and joins them with a smooth spline, producing a flowing curve of the dominant direction. Where a classic trendline is a straight edge between two swings, this curve keeps adapting to fresh data: it recalculates retrospectively and is subject to repainting by design.

How to Trade the Auto Trend Drawing?

  • Upward slope, price above: buyers own the structure; pullbacks toward the curve can behave as dynamic support.
  • Downward slope, price below: sellers are in control; rallies into the curve often act as dynamic resistance.
  • Flattening curve: compression and fading directional momentum, the environment that frequently precedes breakouts.
  • Structural break: price decisively crossing and holding beyond the curve while its slope turns is the reversal tell.

Under the hood, prices are ATR-normalized so behavior stays consistent across instruments and timeframes, the Ramer-Douglas-Peucker pass strips insignificant points while preserving major swing highs and lows, and Catmull-Rom spline interpolation connects the surviving anchors. Given the retrospective recalculation, treat it as one of the library's trend tools for structure and bias rather than a real-time entry trigger.

Auto Trend Drawing Settings

  • Window Size: how many recent bars are analyzed; larger captures macro structure, smaller hugs short-term behavior.
  • Simplification Multiplier: filtering aggression. Higher for smoother macro shape, lower for a tighter, more reactive curve.
  • ATR Length: period used for the volatility normalization.
  • Curve Tension: how tightly the spline bends between anchors; 0.5 gives balanced centripetal curvature.
  • Curve Resolution: calculated sub-points between anchors for a smoother line; color and width handle styling.

Frequently Asked Questions

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5
Original indicatorBuilt in-house by LuxAlgo

The Library is free. Quant makes it yours.

Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.