MACD EMA

 
Hello! Is it possible to display the MACD with EMA instead of SMA?
 
Of course. Take source MACD.mq4 and change MODE_SMA to MODE_EMA. Don't forget recompile it
 
Thank you, I've changed MODE_SMA to MODE_EMA and compiled it but it seems to behave like the SMA one. Can you post the code? I've actually saved my file into the #/MetaTrader4/experts/indicators folder as MACD_EMA.mq4, maybe I've done some mistakes?
 
Thank you, I've changed MODE_SMA to MODE_EMA and compiled it but it seems to behave like the SMA one. Can you post the code? I've actually saved my file into the #/MetaTrader4/experts/indicators folder as MACD_EMA.mq4, maybe I've done some mistakes?


This is the code I've used: http://rafb.net/p/xsd13s67.html
 
Your change is correct. And saving with new name is right step.
 
Ok thank you!