EA with Martingale system

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 13 días
Comentario del Ejecutor
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. :)
Comentario del Cliente
Very professional. Executed the specifications perfectly. He understood my needs and gave a clear explanation of the job done. Totally recommended.

Tarea técnica

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. 


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(414)
Proyectos
670
33%
Arbitraje
60
17% / 32%
Caducado
113
17%
Trabaja
2
Desarrollador 2
Evaluación
(84)
Proyectos
149
31%
Arbitraje
32
34% / 41%
Caducado
43
29%
Libre
3
Desarrollador 3
Evaluación
(212)
Proyectos
246
45%
Arbitraje
42
10% / 57%
Caducado
5
2%
Libre
4
Desarrollador 4
Evaluación
(365)
Proyectos
412
36%
Arbitraje
35
26% / 57%
Caducado
63
15%
Libre
5
Desarrollador 5
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
6
Desarrollador 6
Evaluación
(169)
Proyectos
204
30%
Arbitraje
25
40% / 44%
Caducado
12
6%
Libre
7
Desarrollador 7
Evaluación
(5)
Proyectos
3
0%
Arbitraje
19
0% / 100%
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(221)
Proyectos
369
66%
Arbitraje
10
50% / 0%
Caducado
46
12%
Libre
9
Desarrollador 9
Evaluación
(90)
Proyectos
118
17%
Arbitraje
44
23% / 39%
Caducado
20
17%
Libre
10
Desarrollador 10
Evaluación
(2428)
Proyectos
3057
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Libre
11
Desarrollador 11
Evaluación
(257)
Proyectos
341
58%
Arbitraje
7
14% / 71%
Caducado
9
3%
Libre
12
Desarrollador 12
Evaluación
(94)
Proyectos
148
59%
Arbitraje
16
38% / 13%
Caducado
25
17%
Libre
13
Desarrollador 13
Evaluación
(66)
Proyectos
95
28%
Arbitraje
20
25% / 55%
Caducado
24
25%
Libre
14
Desarrollador 14
Evaluación
(16)
Proyectos
21
19%
Arbitraje
7
0% / 71%
Caducado
14
67%
Libre
15
Desarrollador 15
Evaluación
(1130)
Proyectos
1432
62%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
16
Desarrollador 16
Evaluación
(1855)
Proyectos
3458
88%
Arbitraje
73
40% / 15%
Caducado
265
8%
Libre
17
Desarrollador 17
Evaluación
(563)
Proyectos
932
47%
Arbitraje
302
59% / 25%
Caducado
124
13%
Trabajando
18
Desarrollador 18
Evaluación
(219)
Proyectos
370
42%
Arbitraje
145
17% / 41%
Caducado
124
34%
Libre
19
Desarrollador 19
Evaluación
(43)
Proyectos
72
49%
Arbitraje
4
0% / 50%
Caducado
19
26%
Libre
Solicitudes similares
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

Información sobre el proyecto

Presupuesto
50 - 150 USD
Para el ejecutor
45 - 135 USD
Plazo límite de ejecución
de 7 a 10 día(s)