EA with Martingale system

MQL4 Эксперты

Работа завершена

Время выполнения 13 дней
Отзыв от исполнителя
Jack is a great client. He properly reports issues, if any, and makes sure that it is easy to understand what he trying to explain. :)
Отзыв от заказчика
Very professional. Executed the specifications perfectly. He understood my needs and gave a clear explanation of the job done. Totally recommended.

Техническое задание

I would like to build an EA with Martingale system. 
Here is the description: 
How to decide the direction of the entry? 

If we intend to start trading at 8:00 the EA should look how the previous candle closed the price.

If the closed candle was a bullish candle, open BUY position. If it was Doji (+), wait for next candle. 

Time Zone 
Start at 08:00 
End at 23:00
New Cycle - True 
Take Profit - always Trailing Stop 
10 points - Step
10 points - Stop 
100 points - Trailing Start
Lots Digits 2.0 


When the first transaction will close with the profit, EA should wait for the new candle to open. 
In this example, it will be at 10:00 

- Direction? BUY, because the previous candle closed as a bullish candle. 
- Minimum Step 50 points
- the 1st martingale order - open when the new candle will open the price.
- EA must check the minimum Step between the orders.  
- If it is 50 points even = or more > open next BUY order. 
- the size? 50 % bigger than the previous order.   (x 1.5) 

When the 1st Martingale order was executed, the EA should show immediately the BreakEven line. 
If the Trailing Start is set up for 100 points, 
the EA should calculate as follow. 
FROM the Break-Even line 100 points, Start Trailing. 
with 10 points Step and 10 points Stop. 

If the two orders did NOT close the CYCLE with profit, EA will open next BUY order 
It will be again 1.5 X (value) bigger than the previous order. 
If the broker does not allow to open 0.015, the order should be 0.02
Therefore the calculation should be  - Lots Digits 2.0 
In our example, we will use 0.1 for easy calculation. 
Again, ONLY when the previous candle closes the price in the minimum STEP distance of 50 points or more. In this example, it is 110 points differences. 
In this situation, the BreakEven line should change accordingly. 
Because ALL 3 orders did not close the CYCLE with profit, the EA should open another BUY order.  
The distance must be measured by the EA, minimum 50 points or more. 
In this example, it is 125 points from the previous order. 

Because ALL 4 orders did not close the CYCLE with profit, the EA should open another BUY order, with the value 50% bigger than the previous size.  
The distance must be measured by the EA, minimum 50 points or more. 
In this example, it is 57 points from the previous order. 
The BreakEven Line has to change the level accordingly. 
So far the size of the orders should be : 
0.1 next (0.1 x 1.5)
0.15    (0.15 x 1.5) 0.225 
0.23 (0.225 x 1.5) 0.3375
0.34 (0.3375 x 1.5) 0.50625
0.50 (0.50625 x 1.5) 0.759375
0.76

When all 5 orders will reach the BE line – the EA should Start Trailing at 100 points from the BE line.
10 points Step, and 10 points Stop. 
The cycle will be closed when ALL orders will close at once at the same level.  
In the variable there should be an option: 
New Cycle – True / False
If it is True, when the cycle will close all the open orders with Profit, the new order should be executed when the new candle will open. 
Direction – if the previous candle was Bearish, SELL order should start the new cycle.  
If the previous candle was Bullish, BUY order should start the new cycle. 
If the New Cycle – True / False is changed to “False”, the EA should continue the “old” CYCLE – UNTIL it will close it with profit, and in this situation, it will NOT start a new cycle. 
The EA should have protection, that when the MT4 will restart, the EA should continue to monitor all open orders. 
If the orders were open during the weekend, the EA should continue the cycle when the market will open on Monday. 
In variables, there should be an option to Trade on Friday – True/False
If False, the EA should not start a new cycle on Friday and can finish the cycle or continue the cycle on Friday, BUY not to start a new cycle on Friday. 

These are the basic functions of this EA. 
Start Trading at 01:00 
End Trading at 23:00 (I just need one-time table) 
New Cycle True/False
Trading on Friday – True/False 
Magic number xxxxxxx
Minimum distance 50 points 
Trailing Starts 100 points 
Trailing Step 10 points 
Trailing Stop 10 points 
Lot exponent 1.5
Lots Digits 2.0 
First Lot size - 0.01 
----------------------
I would like to have the CLOSE ALL button on the chart, to close manually all trades at once, 
And text with information Total Profit on all open trades (or loss)   and how many orders are open etc. 
Leverage 1:400 
Balance    3000
Margin 2440 
Profit/Loss -560  or  +120

Open orders 12


Source Code in English only. 


Файлы:

Откликнулись

1
Разработчик 1
Оценка
(414)
Проекты
670
33%
Арбитраж
60
17% / 32%
Просрочено
113
17%
Работает
2
Разработчик 2
Оценка
(84)
Проекты
149
31%
Арбитраж
32
34% / 41%
Просрочено
43
29%
Свободен
3
Разработчик 3
Оценка
(213)
Проекты
246
45%
Арбитраж
42
10% / 57%
Просрочено
5
2%
Свободен
4
Разработчик 4
Оценка
(365)
Проекты
412
36%
Арбитраж
35
26% / 57%
Просрочено
63
15%
Свободен
5
Разработчик 5
Оценка
(769)
Проекты
1033
44%
Арбитраж
50
8% / 50%
Просрочено
117
11%
Свободен
6
Разработчик 6
Оценка
(169)
Проекты
204
30%
Арбитраж
25
40% / 44%
Просрочено
12
6%
Свободен
7
Разработчик 7
Оценка
(5)
Проекты
3
0%
Арбитраж
19
0% / 100%
Просрочено
0
Свободен
8
Разработчик 8
Оценка
(221)
Проекты
369
66%
Арбитраж
10
50% / 0%
Просрочено
46
12%
Свободен
9
Разработчик 9
Оценка
(90)
Проекты
118
17%
Арбитраж
44
23% / 39%
Просрочено
20
17%
Свободен
10
Разработчик 10
Оценка
(2440)
Проекты
3075
66%
Арбитраж
77
48% / 14%
Просрочено
340
11%
Свободен
11
Разработчик 11
Оценка
(257)
Проекты
341
58%
Арбитраж
7
14% / 71%
Просрочено
9
3%
Свободен
12
Разработчик 12
Оценка
(94)
Проекты
148
59%
Арбитраж
16
38% / 13%
Просрочено
25
17%
Свободен
13
Разработчик 13
Оценка
(66)
Проекты
95
28%
Арбитраж
20
25% / 55%
Просрочено
24
25%
Свободен
14
Разработчик 14
Оценка
(16)
Проекты
21
19%
Арбитраж
7
0% / 71%
Просрочено
14
67%
Свободен
15
Разработчик 15
Оценка
(1134)
Проекты
1436
62%
Арбитраж
21
57% / 10%
Просрочено
43
3%
Свободен
16
Разработчик 16
Оценка
(1858)
Проекты
3461
88%
Арбитраж
73
40% / 15%
Просрочено
265
8%
Свободен
17
Разработчик 17
Оценка
(564)
Проекты
933
47%
Арбитраж
302
59% / 25%
Просрочено
125
13%
Загружен
18
Разработчик 18
Оценка
(219)
Проекты
370
42%
Арбитраж
145
17% / 41%
Просрочено
124
34%
Свободен
19
Разработчик 19
Оценка
(43)
Проекты
72
49%
Арбитраж
4
0% / 50%
Просрочено
19
26%
Свободен
Похожие заказы
KILL MODE 30 - 60 USD
i Need an expert advisor that trade by signal moving average indictors.it must check and correct the process of possible errors in trading operations. The main criteria of opening and closing positions direction of average moving,price of last bar and set the number of lots to trade as an input parameter
Hello, I am highly in need of a professional and expert developer who is capable to convert my tradingview indicator to MT5, if you can perfectly do this project kindly meet me at the comment section to proceed
I am seeking an experienced and skilled developer to code an Expert Advisor (EA) for the MetaTrader platform based on a specific trading strategy. The developer must have expertise in building EAs, understanding complex trading strategies, and ensuring the final product is efficient and reliable. If you have the expertise and experience to successfully handle this project, looking forward to your proposal and your
The requirements for the order of robots XAUUSD and XAGUSD EURUSD forex in the STOP loss TAKE profit signal in this order, you can bring benefits to the changes in the market, that is, when the market changes frequently, it will also help to prevent losses and bring great profits
Craet and indicator which has 15 price source and set a T/F tick for each price source then make Bollinger bands and Rsi with BollingerBands just for true sorces and plot buy and sell signals on main chart based on some conditions and strategy.... i explained every thing clear in the zip file ... theres no need to display those indicators i just need to see their value for testing how indicator works inside chart
ACS Based on Mt4 EA 40 - 80 USD
Halo Coders These ACS&Csdash indicators work in the same way but provide signals of different currency pairs. And Either of these two ACS indicators should be selected any one and set to trade. It provides signals of multiple currency pairs in the interface So the EA should work like that to trade multiple currency pairs on one chart. CsDash should analyze whether it is a strong signal to show on the dash board and
NOTE: Please apply only if you can do the job in 24 hours. Moreover you can download the demo of the indicator and do a simple test with it to ensure the EA is able to open trades etc etc before applying for the job. Else this is a waste if everyone's time. THE INDICATOR PROVIDES BUY AND SELL ARROWS https://www.mql5.com/en/market/product/114661?source=Site+Market+MT4+Indicator+Rating006# 1. EA to buy and sell on
I have an expert advisor which is integrated into my mt4 backtester, originally from "market" tab in metatrader. I don't have the ex4 file (nor the mq4 file). All I see is the parameters names and their values. Is there anyone here who can reverse engineer this expert-advisor functionality not by decompiling, but only by reviweing its behaviour, viewing opened and closed trades and the param names
i need a simple ea that do : 1: by asset export to file in mql5 folder in the form of an exel file the max open DD , average holding time , value of commision + swap on a weekly period 2: should be able to clasify in the exel , per symbol , comment , or magic number
Hi Would you be able to decompile and/or create a scalper EA with the option I do ask. I had somebody built a EA called Drawdown manager for me that I do use to manage risk of any EA that I test and I have the built code. My problem is that I cannot backtest this EA Fast M1 Gold Scalper and/or cobra adrenaline with the protection that I do include in my Drawdown Manager. To backtest a EA, you can only backtest 1 at

Информация о проекте

Бюджет
50 - 150 USD
Исполнителю
45 - 135 USD
Сроки выполнения
от 7 до 10 дн.