Please HELP: Moving Average of and indicator - page 2

 
Jefferson Metha:

Because DMBuffer is not Initialized as a buffer. 

Please use the PrintFormat function correctly. 
try to use Print and see the Value 
https://www.mql5.com/en/forum/327849#comment_14138954

Thanks for the comments. Fixing the buffer issue as per your code also fixed the EA issue, now everything works just fine.