OPEN-SOURCE SCRIPT

ATR-Stepped, Another New Adaptive Moving Average [Loxx]

By loxx
ATR-Filtered, Another New Adaptive Moving Average [Loxx] is a modification of cheatcountry's "Another New Adaptive Moving Average [CC]" shown below

Another New Adaptive Moving Average [CC]


I've added AT- stepped filtering. This is a standard ATR filter that works by requiring movement by XX multiple of ATR before registering a trend flip. I've also included Loxx's Expanded Source Types. You can read about those here:

Better Heiken-Ashi Candles w/ Expanded Source Types [Loxx]


From cheatcountry on A New Adaptive Moving Average [CC]

The New Adaptive Moving Average was created by Scott Cong (Stocks and Commodities Mar 2023) and this is a companion indicator to my previous script
A New Adaptive Moving Average [CC]

This indicator still works off of the same concept as before with effort vs results but this indicator takes a slightly different approach and instead defines results as the absolute difference between the closing price and a closing price x bars ago. As you can see in my chart example, this indicator works great to stay with the current trend and provides either a stop loss or take profit target depending on which direction you are going in. As always, I use darker colors to show stronger signals and lighter colors to show normal signals. Buy when the line turns green and sell when it turns red.

Included
  • Alerts
  • Signals
  • Loxx's Expanded Source Types
adaptiveanamaanothernewadaptivemovingaverageATRAverage True Range (ATR)Moving Averages
loxx
Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership

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?

Disclaimer