EA with Martingale system

MQL4 Experts

Trabalho concluído

Tempo de execução 13 dias
Comentário do desenvolvedor
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. :)
Comentário do cliente
Very professional. Executed the specifications perfectly. He understood my needs and gave a clear explanation of the job done. Totally recommended.

Termos de Referência

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. 


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(414)
Projetos
670
33%
Arbitragem
60
17% / 32%
Expirado
113
17%
Trabalhando
2
Desenvolvedor 2
Classificação
(84)
Projetos
149
31%
Arbitragem
32
34% / 41%
Expirado
43
29%
Livre
3
Desenvolvedor 3
Classificação
(212)
Projetos
246
45%
Arbitragem
42
10% / 57%
Expirado
5
2%
Livre
4
Desenvolvedor 4
Classificação
(365)
Projetos
412
36%
Arbitragem
35
26% / 57%
Expirado
63
15%
Livre
5
Desenvolvedor 5
Classificação
(769)
Projetos
1033
44%
Arbitragem
50
8% / 50%
Expirado
117
11%
Livre
6
Desenvolvedor 6
Classificação
(169)
Projetos
204
30%
Arbitragem
25
40% / 44%
Expirado
12
6%
Livre
7
Desenvolvedor 7
Classificação
(5)
Projetos
3
0%
Arbitragem
19
0% / 100%
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(221)
Projetos
369
66%
Arbitragem
10
50% / 0%
Expirado
46
12%
Livre
9
Desenvolvedor 9
Classificação
(90)
Projetos
118
17%
Arbitragem
44
23% / 39%
Expirado
20
17%
Livre
10
Desenvolvedor 10
Classificação
(2428)
Projetos
3057
66%
Arbitragem
77
48% / 14%
Expirado
340
11%
Livre
11
Desenvolvedor 11
Classificação
(257)
Projetos
341
58%
Arbitragem
7
14% / 71%
Expirado
9
3%
Livre
12
Desenvolvedor 12
Classificação
(94)
Projetos
148
59%
Arbitragem
16
38% / 13%
Expirado
25
17%
Livre
13
Desenvolvedor 13
Classificação
(66)
Projetos
95
28%
Arbitragem
20
25% / 55%
Expirado
24
25%
Livre
14
Desenvolvedor 14
Classificação
(16)
Projetos
21
19%
Arbitragem
7
0% / 71%
Expirado
14
67%
Livre
15
Desenvolvedor 15
Classificação
(1130)
Projetos
1432
62%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
16
Desenvolvedor 16
Classificação
(1855)
Projetos
3458
88%
Arbitragem
73
40% / 15%
Expirado
265
8%
Livre
17
Desenvolvedor 17
Classificação
(563)
Projetos
932
47%
Arbitragem
302
59% / 25%
Expirado
124
13%
Carregado
18
Desenvolvedor 18
Classificação
(219)
Projetos
370
42%
Arbitragem
145
17% / 41%
Expirado
124
34%
Livre
19
Desenvolvedor 19
Classificação
(43)
Projetos
72
49%
Arbitragem
4
0% / 50%
Expirado
19
26%
Livre
Pedidos semelhantes
I will buy your EA for MT5, in case that on distance it is able to make a profit of 10% per month. - Martingale methods and grid strategies should not be used as the basis of a trading strategy. - Excellent win rate (>80%) - High risk/loss management - Option to select direction of trading (long, short or both) - News filter - Editable Trading Hours I will need to test in the strategy tester and on live market (on
Bonjour, Je suis à la recherche d'un développeur francophone pour une collaboration sur un projet existant à compléter ou à modifier. La base est excellente. En raison de difficultés linguistique le projet n'a pu aboutir
Brakeout expert 30+ USD
I need expert for customized time interval like from 10:10 to 14:15 ( you can change the time in inputs) after box end puts 2 pending orders 1 buy stop other sell stop above and bellow the box but you can make offset by points like +20 points from the high or low , when one of the order is filled other one is deleted and expert makes another order with desired lot size (has to be customized ) , TP levels for both
I need 1 minute candlestick data from oanda exchange to backtest the strategy. Data for all 28 currency and gold pairs. From 15 - 20 years ago. I can't find them on the internet please assist me
I have with me an EA whichs needs Optimization so that i can get the best set files which are profitble to use in my real account , EA will be provided with the timeframe and the lot size requirements also the backtesting period l
Need a EA 30 - 50 USD
I am seeking a skilled Software Developer to design, develop, and maintain applications. The ideal candidate should have a strong background in programming (Java, Python, JavaScript) and experience with web technologies and databases
I need propfirm ea which earn more than 10-15% monthly without breaching prop rules and has a max loss of 3% daily if any developer has bet for it
Hello, i need a good programmer; to code an EA to trade the most productive forex pairs (mainly 2 for the day, and 2 for the night+gold), the strategy is based on the use of one moving average and the rsi, thank you in advance
Hello, i am looking for a developer to create an EA mt5. i also need license and subscription in this software. I will provide the strategy on which the EA should be created (The EA should follow all the given strategy parameters). The EA Should have Risk Management protection like: custom lot size Custom SL, TP , Trailing SL, TP, Max DD protection (both % and USD) The EA should also display my website name and link
Hello, I need a cBot for cTrader for my trading system. However, this bot should not be based on timeframes. I trade exclusively with Renko Blocks. Could you implement this for me? Here are the rough requirements: 1. an EMA200 should simply serve as an entry point. If the current price is above it, a long position is opened, if the price is below it, we open a short position. 2. i must be able to set how many pips my

Informações sobre o projeto

Orçamento
50 - 150 USD
Desenvolvedor
45 - 135 USD
Prazo
de 7 para 10 dias