If you're trading on MetaTrader 4, you might want to check out the optimized version of the Kaufman's Adaptive Moving Average (AMA) indicator by wellx. Originally enhanced back in December 2006, this version is designed to work seamlessly with trading systems, allowing for quicker optimization when using Expert Advisors (EAs).

The optimized variant of Kaufman's Adaptive Moving Average
When you run tests using a simple EA, you’ll really notice the difference in speed. Here’s a quick look at how to set it up:
//+------------------------------------------------------------------+ //| TestAMA.mq4 | //| Rosh | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property copyright "Rosh" #property link "http://www.metaquotes.net" extern int AMAtype=1; //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { //---- if (AMAtype!=0) Print("Use the optimized indicator"); else Print("Use the original version of the indicator"); Print("Start"); //---- return(0); }
If you set the external variable AMAtype=0, it will use the original version. If it's set to any other number, it will use this optimized indicator.
So, if you’re looking to speed up your testing and improve your trading efficiency, give this optimized AMA a shot!
Related Posts
- Hourly Buffers for Data Collection in MetaTrader 5: A Simple Guide
- Mastering the MACD Candle Indicator for MetaTrader 4
- Unlocking MetaCOT 2: Your Ultimate CFTC Indicator Toolkit for MT4
- Unlock Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5
- Unlocking the Power of Master Tools for MetaTrader 4