OPEN-SOURCE SCRIPT

Adaptive Trend Indicator [Quantigenics]

Our Adaptive Trend Indicator is an advanced trading indicator using price and time series analysis to adapt to market trends. It calculates a weighted average of the median price and twice-smoothed average price, then applies a linear regression over twice the user-defined period, generating a trend line. This trend line represents the prevailing market direction and adjusts dynamically based on price fluctuations. When the Adaptive Trend value increases compared to the previous value, the line turns aqua, signaling an upward trend. Conversely, if it decreases, the line turns red, indicating a downward trend. This color coding provides visual guidance for traders. By combining advanced statistical techniques with real-time adaptation, the Adaptive Trend indicator provides timely trend information, supporting traders in navigating various market conditions.

Additionally, this indicator may be applied multiple times to the same chart. Traders may adjust the length of each instance to show a group of trendlines that can indicate when price action is overbought or oversold as well as support or resistance at different indicator lengths. Example below.

BTCUSD snapshot

BTCUSD snapshot

TSLA snapshot

We hope you enjoy this indicator. Happy Trading!
movingavaragemoving_averageMoving AveragesquantigenicstrendanalyisisTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Quantigenics Premium Indicator Suite
Visit quantigenics.com to subscribe
E-mail us at support@quantigenics.com
Happy Trading!
Also on:

Disclaimer