This is a simple Expert Advisor the strategy of which consists of opening orders following a trend toward the current movement. The robot is based on the trading algorithm which consists of a combination of Moving Average and MACD. Set to EURUSD H1 by default. Technically the EA can work on any other currency pair.
- TradeR: If TradeR=true, the Expert Advisor defines the number of lots for trades on its own.
- Lots: Lot size. If TradeR= false, you can specify the lot on your own.
- Risk: Risk size. For brokers where 1 lot is $100,000, Risk should not exceed 2. For example, if Risk=1.537, this value is equal to 15.37% of the account.
- M: Moving Average period.
- n: MACD period.
- n1: MACD period.
- step (75 = 0.0075): Step to open the second order.
- Magic: Order magic number.
- Stop: Stop Loss.
- TakeProfit: Take Profit.