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.

We hope you enjoy this indicator. Happy Trading!

Quantigenics Premium Indicator Suite
Visit www.quantigenics.com to subscribe
E-mail us at support@quantigenics.com
Happy Trading!
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 a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?