Implement an ea with 3 partial closes and better time filter

MQL5 Experts

Job finished

Execution time 2 days
Feedback from customer
Simply PERFECT! It been a pleasure work with him
Feedback from employee
Better late than never. An interesting job and a client who understands things. Thank you.

Specification

Good morning all,

I need to implement my simple BB ea that at the moment is like this:

 

#define _doNothing   0

#define _doOpenBuy   1

#define _doOpenSell  2

#define _doCloseBuy  3

#define _doCloseSell 4

 

Instead of only 1 close I need 3 Partial close (so I need 2 input like pct1=30; pct2=30; ---pct3 is obviously automatically calculated like this 100-(pct1+pct2)) 

Everything must be code OnTick mode, if PARTIAL_SIGNAL_CLOSE is true than close a partial.

So I need 6 more defines:

#define _doClosePartialBuy1 5  

#define _doClosePartialSell1 6

#define _doClosePartialBuy2 7  

#define _doClosePartialSell2 8

#define _doClosePartialBuy3 9  

#define _doClosePartialSell3 10 

Partial close at 2 and 3 are different from 1, because are influenced by an integer (that should be make by you) that count minBars from the previous close.

The ea works like that: long, short, long etc... So the difficult part is that I need an ea that remember the last deal, if the metatrader disconnected or restarted or anything, the ea should understand if the last was a partial close or a normal close and if was buy or long.

I need also to implement my time filter until now it closes all opened at end time hour, instead when a position is opened the close hour shouldn't mean close opened position, but manage until normal signal close and don't open new one until start hour...also I need a different time filter for friday only

Responded

1
Developer 1
Rating
(63)
Projects
80
28%
Arbitration
17
12% / 76%
Overdue
48
60%
Free
2
Developer 2
Rating
(272)
Projects
394
63%
Arbitration
70
53% / 26%
Overdue
198
50%
Free
3
Developer 3
Rating
(3)
Projects
5
20%
Arbitration
1
100% / 0%
Overdue
3
60%
Free
4
Developer 4
Rating
(215)
Projects
302
79%
Arbitration
4
25% / 0%
Overdue
62
21%
Free
5
Developer 5
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
488
17%
Free
6
Developer 6
Rating
(18)
Projects
37
43%
Arbitration
6
17% / 50%
Overdue
17
46%
Free
7
Developer 7
Rating
(182)
Projects
342
42%
Arbitration
118
12% / 73%
Overdue
104
30%
Free
8
Developer 8
Rating
(15)
Projects
18
61%
Arbitration
4
0% / 100%
Overdue
8
44%
Free
9
Developer 9
Rating
(62)
Projects
140
46%
Arbitration
19
42% / 16%
Overdue
32
23%
Free
10
Developer 10
Rating
(7)
Projects
15
47%
Arbitration
6
33% / 17%
Overdue
4
27%
Free
Similar orders
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview

Project information

Budget
200- USD
Deadline
to 7 day(s)