Forex cashback , EA development, EA shop

EADevelopment >> Project Details

Design an EA based on partial closing idea

Watch the demo on Youtube

Design an EA based on partial closing idea

Project Requirements

Bullish or bearish: Use two moving average indicators. When the fast indicator is higher than the slow indicator, the market is bullish. Otherwise, the market is bearish.

Opening position rules:

1. Buy order. In a bullish market, if the order loses money, a new buy order is established every X points (a parameter), and the number of lots is the number of lots of the previous order + X (a parameter).

2. Sell order. The rules are the same.


Closing position rules:

1. When the overall profit of the account is greater than Y, all positions are closed.

2. When the profit of the last buy order is greater than part of the loss of the first order (0.01 lot), close the last buy order and 0.01 lot of the first order.

2. When the profit of the last sell order is greater than part of the loss of the first order (0.01 lot), close the last sell order and 0.01 lot of the first order.