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
(212)
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
(769)
Projects
1033
44%
Arbitration
50
8% / 50%
Overdue
117
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
(2421)
Projects
3041
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Working
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
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
(1127)
Projects
1429
62%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
16
Developer 16
Rating
(1853)
Projects
3455
88%
Arbitration
73
40% / 15%
Overdue
265
8%
Free
17
Developer 17
Rating
(563)
Projects
932
47%
Arbitration
301
59% / 25%
Overdue
124
13%
Working
18
Developer 18
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
19
Developer 19
Rating
(43)
Projects
72
49%
Arbitration
4
0% / 50%
Overdue
19
26%
Free
Similar orders
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Please send me a message if you can handle this job. Thank you
Capable of Trading on all pears. Need a HFT EA with an %80 to %97 profit returns that may have a very very low with or without drawdown. It should have a good Gui panel showing statistics. It has to use candlestick pattern such as (pin bars, inside bar, engulfed bar)at a significant tuning point as a supply and demand zone. Always wait for retest before placing a stop order with the trailing stop loss on one
Job Description: We are seeking an experienced EA programmer to create an EA that utilizes SnR + Trendlines + Multi timeframe confluence Project Requirements: - Support and Resistance, Open Close levels/kissing candles/Rejection block, Support broken becomes Resistance(SbR), Resistance broken becomes Support(RbS), Quasimodo Levels, Asian Range, London Killzone, London Open, New York Killzone, New York Open
Job Description: We are seeking an experienced EA programmer to create an EA that utilizes SnR + Trendlines + Multi timeframe confluence Project Requirements: - Support and Resistance, Open Close levels/kissing candles/Rejection block, Support broken becomes Resistance(SbR), Resistance broken becomes Support(RbS), Quasimodo Levels, Asian Range, London Killzone, London Open, New York Killzone, New York Open
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should
Need EA programmer to create an MT4 EA that will be able to leverage trades in favour of the market direction ,the EA should be able to operate to any broker. The EA must trade on a clear trend not when the Market is ranging. More will be explained once your application has been accepted for the job
Hello I have my own candlestick pattern that I manually trade looking for someone who could automate it its based off visual seeing the candle and not math hopefully we could chat with each other and testing it rigorously to ensure its exactly like my system willing to pay 1k to 5k even 10 depending on how hard the job is... Thank You, Victor
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should
3 indicators to entry and exit Displays indicator state. Alerts and grid trades control, lots and hedge Trade management modules that will work across pairs and time frames. Make breaking news in vertical lines and e-mail alert
Hello please my budget 50$ and I will not choose any developer until you complete the work with a full trial version as I want I am ready for any discussion or clarification. I need new EA Range breakout EA and fix my RsiMA EA Range breakout new EA The orders must be pending stop orders, BUY STOP, SELL STOP Input menu Comment Magic number Lot = Fixed TP in points 0 = OFF SL in points 0 = OFF

Project information

Budget
50 - 150 USD
For the developer
45 - 135 USD
Deadline
from 7 to 10 day(s)