OPEN-SOURCE SCRIPT

AutoTune MA - with crossover alerts

311
This indicator adapts the length of an EMA based on how far the adaptive MA itself is from the price, normalized by volatility (ATR%). The adaptive length shortens when the MA moves further from price, making the MA more responsive, and lengthens when closer, smoothing the MA. The base SMA is shown for reference only.

How to Use:

Watch the adaptive MA lines for dynamic smoothing that reacts to market volatility and price movement.

Use crossovers of the smallest and medium adaptive MAs for potential entry signals.

The base MA provides a stable benchmark for trend context.

Adjust inputs for base length, minimum length, and effect multiplier to fit your preferred responsiveness and market conditions.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.