Making the EA display the MA as it implements the strategy ....

 
When I use this MA EA to trade, it doesn't actually draw the MA so one can see visually what is going on. What would be an easy way to add some code which would take care of drawing the MA?
Files:
 
An EA can not draw a moving average. These are drawn using Indicator Buffers and only indicators can use them. You would have to rewrite your strategy so that it would use external indicator (your MA). Looking at the code, the easiest way in fact is just to run your strategy and attach the MA indicator to the same chart with the MA settings you use in your EA.
Reason: