작업 종료됨
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
명시
Hi,
I would like to get an EA with the following specifics:
Parameters:
1) Buy
2) Sell
3) Initial Lot Size (in lots)
4) Pip Step (in pips)
5) Method of Increase
6) Average Take Profit (in pips)
Logic:
1) Buy:
Yes/No: if "Yes", the EA will open buy market orders as soon as activated, if "No", the EA will not open buy market orders once activated.
2) Sell:
Yes/No: if "Yes", the EA will open sell market orders as soon as activated, if "No", the EA will not open sell market orders once activated.
3) Initial Lot Size:
It specifies the Initial Lot Size: minimum 0.01, no maximum (you can put a random number like 9999999).
4) Pip Step:
Distance between orders. E.g. The EA is set to Buy "Yes" and Sell "No", as soon as activated, it opens a buy position, if the market drops, the EA will open a position at X amount of distance (in pips) from the first order and so on.
5) Method of Increase:
I should be able to select 2 methods from a drop list menu. "Sum Increase" or "Multiplier".
Sum Increase: the EA will increase the lot size of the first order by adding X amount of lots e.g. first trade 0.01, sum increase set at 0.04, the second trade (in case the market goes against the first trade) should be 0.01 + 0.04 = 0.05 lots (to recap 1st trade 0.01, second trade in the grid 0.05). In case the market keeps going against the 1st and 2nd trades, the 3rd trade lot size should be 0.05 + 0.04 = 0.08.
Multiplier: the EA will increase the lot size of the first order by multiplying X amount of lots e.g. first trade 0.01, multiplier set at 3, the second trade (in case the market goes against the first trade) should be 0.01 * 3 = 0.03 lots (to recap 1st trade 0.01, second trade in the grid 0.03). In case the market keeps going against the 1st and 2nd trades, the 3rd trade lot size should be 0.03 * 3 = 0.09.
6) Average Take Profit:
The EA must be able to set an average take profit for same direction trades which are opened in pips. e.g. if there are 3 buy trades opened (trade #1 0.01 lots, trade #2 0.02 lots, trade 3 0.03 lots), the EA will have to set an average take profit of X amount of pips. Once the take profit is reached, the EA will close the 3 trades. The final amount of profit (or profit and losses of the 3 trades) should be equal to the X amount of pips specified in the parameter.
If you already worked or developed a grid trading system, this should be easy and straightforward to do.