Simple Trading EA for MetaTrader 4: Your Guide to Smart Trading

Mike 2009.11.30 22:58 19 0 0
Attachments

Hey traders! I often get requests for a simple trading EA, so here’s a straightforward one for you.

This EA isn’t magic; it won’t trade without losses. Its main purpose is to help you test various trading strategies.

Here’s how it works:

This EA uses two moving averages: a Weighted Moving Average (WMA) of 8 periods and an Exponential Moving Average (EMA) of 28 periods.

When the WMA crosses above the EMA, it’s a signal to buy.

Conversely, when the WMA crosses below the EMA, it’s time to sell.

Upon opening a position, the EA automatically sends out two orders: a Take-Profit set at 50 points above the open price, and a Stop-Loss 50 points above the open price plus the spread.

Recommendations:

  • Stick to a fixed deposit value (10%) and leverage settings (1:100).
  • Avoid using this EA with all currency pairs.
  • If the trend reverses and the WMA crosses the EMA in the opposite direction of your open positions, close the previous trades and open new ones in the direction of the trend. Remember to delete the old orders before sending new ones!

Here's a visual representation:


Editor's Note:

This is a direct adaptation of the original Russian version.

If you have any questions or suggestions, feel free to drop them here. Don’t forget to thank the author if you find this code useful for your trading or learning!

Good luck out there!

List
Comments 0