EA with Martingale system

MQL4 Experts

Job finished

Execution time 13 days
Feedback from employee
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. :)
Feedback from customer
Very professional. Executed the specifications perfectly. He understood my needs and gave a clear explanation of the job done. Totally recommended.

Specification

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. 


Files:

Responded

1
Developer 1
Rating
(414)
Projects
670
33%
Arbitration
60
17% / 32%
Overdue
113
17%
Working
2
Developer 2
Rating
(84)
Projects
149
31%
Arbitration
32
34% / 41%
Overdue
43
29%
Free
3
Developer 3
Rating
(213)
Projects
246
45%
Arbitration
42
10% / 57%
Overdue
5
2%
Free
4
Developer 4
Rating
(365)
Projects
412
36%
Arbitration
35
26% / 57%
Overdue
63
15%
Free
5
Developer 5
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
6
Developer 6
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
7
Developer 7
Rating
(5)
Projects
3
0%
Arbitration
19
0% / 100%
Overdue
0
Free
8
Developer 8
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
9
Developer 9
Rating
(90)
Projects
118
17%
Arbitration
44
23% / 39%
Overdue
20
17%
Free
10
Developer 10
Rating
(2676)
Projects
3416
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
11
Developer 11
Rating
(257)
Projects
341
58%
Arbitration
7
14% / 71%
Overdue
9
3%
Free
12
Developer 12
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
Published: 1 code
13
Developer 13
Rating
(66)
Projects
95
28%
Arbitration
20
25% / 55%
Overdue
24
25%
Free
14
Developer 14
Rating
(16)
Projects
21
19%
Arbitration
7
0% / 71%
Overdue
14
67%
Free
15
Developer 15
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
16
Developer 16
Rating
(1931)
Projects
3552
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
17
Developer 17
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
18
Developer 18
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
19
Developer 19
Rating
(43)
Projects
74
50%
Arbitration
5
0% / 60%
Overdue
19
26%
Free
Similar orders
I am looking for an experienced MQL5/MT5 developer to develop a custom Expert Advisor based on a complete technical architecture already prepared by the client. This is not a request to design a trading strategy from scratch . The strategy architecture, entry/exit concepts, filters, risk-management requirements and testing requirements are already documented. The main responsibility will be MQL5 development
EAs 100+ USD
To apply, you must already have your EA running on an active MT5 trading account connected to the market. The account must have genuine trading history that can be independently reviewed and verified. EA Requirements 1. Prop-Firm Compatible Risk Management - The EA must include daily and overall drawdown protection. - Required inputs: "MaxDailyLoss = 5%" "MaxTotalDrawdown = 10%" - Once either limit is
Strategy 40 - 60 USD
yo i have a strategy i would really like to turn into a signal bot basically please this is very technical and serious to me the strategy needs more time 1 time frame and the bot most be 100% accurate
Ready to use bot 100+ USD
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best (can be blocked on demo, i don't really care) - investor password from a reputable broker (if history is available... live / demo, same thing, doesn't really
I want you to develop a professional HFT trading robot for MT5/MQL5 , initially focused on XAUUSD . The robot should be designed for high-speed tick-level trading , analyzing real-time bid/ask movement, spread, tick velocity, momentum, volatility, price acceleration and short-term market microstructure to identify very short-term opportunities. The core strategy should be capable of opening 5–10+ positions in a
can you help me use a Tickblaze Algo NRBO on the NT platform? I have it somewhat set up, but I have other questions about running it & knowing how to operate it in NT. Thank you if anyone have experience in this kindly bib and let do it asap
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or
I've got a Pine Script from Trading View. I need help from a programmer who can help with optimising the strategy by 1) Adding a couple of further rules 2) Redesign the trading alert arrows & colours I need, please, a programmer who is 1) Good at Pine language 2) Has excellent after-job support (not for free though) 3) Possess the ability to work with others. 4) Able to deliver the job at the shortest possible time
I need an experienced TradingView Pine Script developer to build and test a custom intraday strategy for NQ/MNQ . I am not looking for a conversion . I need the strategy researched, developed, tested, and optimized based on my requirements. Requirements: NQ/MNQ intraday trading 5–15 minute charts New York session only Flat before market close Base logic using Zero Lag Signals , with additional filters if justified
Le robot devra : Respecter strictement les règles de risque des comptes FTMO : perte journalière maximale, perte maximale totale, taille des positions, etc. Intégrer un système de gestion du risque automatique. Être capable de gérer différents types de comptes et tailles de capital. Être basé sur ma stratégie et mes règles de trading que je fournirai au développeur. Être entièrement automatisé pour l’exécution des

Project information

Budget
50 - 150 USD
Deadline
from 7 to 10 day(s)