Adaptive Moving Average - Generalized version with floating levels - MetaTrader 5 Script - MT4/MT5 Resources

The coding of this version of the indicator has changed.
The original uses fixed high and low price calculations for some of them. If you're using it as a mobile device, then this is (partly) okay. The price average greatly limits its use. First, it cannot be used for data other than prices (the results would be highly misleading at least). So this version corrects the issue and strictly uses select values (prices) for all calculations without hidden data dependencies
It can be used as any regular moving average (or, for users of KAMA - Perry Kaufman's AMA, as a "faster" alternative to KAMA). Additionally, this version adds floating levels and implicitly makes it a "twice-adaptive" indicator (since the levels are adapting to market changes). To reflect the new additions, you now have a choice of when to change the indicator's color:

Attachment download
📎 ama_0gvmwfle.mq5 (14.55 KB)
Source: MQL5 #23780
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •