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:
movingcaverage.mq4
5 kb
- Drawing lines from an EA
- Experts: CrossMA
- Help Please!
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.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register