Martingala EA

Job finished

Execution time 52 minutes
Feedback from employee
Client is easy to work with. Very prompt and thorough, gives clear instruction and feedback

Specification

Hello, I would like to create a bot using the Martingale strategy. Can you help me?

Let me first outline the simplest conditions:

- No trades are opened at 23:00.
- Buy and Sell are managed separately.
- When there are no open trades, Buy and Sell are opened simultaneously.
This is the starting condition for the Martingale each time.

GRID:

I would like to choose the size of the Martingale by modifying a parameter called "drawdown pips."
If "Drawdown pips" = 20, the Martingale will continue every 20 pips of drawdown.
This parameter should be adjustable.

The Martingale (2 trades or more) is closed when the average price is in a profit of 4 pips.
This parameter should be adjustable.

IMPORTANT: If there is only one Sell (or only one Buy) open, it should be closed at the opening of the next Buy or Sell and NOT AT 4 PIPS TP (and a new one is opened).

If there are open Buy and Sell trades, and the price rises by 20 pips, when the second operation (Sell) is opened, the Buy in profit is closed, and a new one is opened.

We will reach a point where the Sell Martingale ends, and the Buy Martingale begins. The next Sell will be opened together with the next Buy.

For each new Buy opened in the following Martingale, a Sell is opened and closed at next buy.

So, every time the Martingale continues, the trade of the opposite sign is closed and reopened every 20 pips.

By doing this, there can never be 2 Buys and 2 Sells simultaneously.



Responded

1
Developer 1
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
2
Developer 2
Rating
(852)
Projects
1470
72%
Arbitration
122
29% / 48%
Overdue
361
25%
Free
Published: 3 articles
3
Developer 3
Rating
(170)
Projects
265
62%
Arbitration
4
50% / 25%
Overdue
10
4%
Free
4
Developer 4
Rating
(85)
Projects
175
44%
Arbitration
3
100% / 0%
Overdue
5
3%
Free
Published: 1 code
Similar orders
Hello MQL5 developers and algorithmic traders, I'm looking for an experienced MQL5 developer who already has a well-developed and potentially profitable Expert Advisor for XAUUSD (Gold). I'm NOT looking to develop a new strategy from scratch. I'm interested in discovering existing, tested trading systems that developers may be willing to demonstrate or offer for a trial period before a potential purchase. My

Project information

Budget
30 - 100 USD