Auto Master-Slave positions

MQL4 Experts Scripts Forex

Job finished

Execution time 2 days
Feedback from customer
Great job. The EA works like a charm!

Specification

Hi,

First of all, I'm new to this, so sorry for the lack of technical knowledge and lexique

I am using MT4. I need a robot (script?) to be automatically executed every X seconds (configurable variable into the file, no dialog needed) and do the following:

  • Get the list of open positions that have no comment
  • For each position (let's call it THIS_POSITION):
    • Get the position info symbol and type
    • Get the list of all other open positions with same symbol and type AND having a comment AND that have SL and/or TP
      • If none is found
        • Close THIS_POSITION
      • Else (let's call them ALL_OTHER_POSITIONS)
        • Get the best* SL and TP from ALL_OTHER_POSITIONS
        • Set those safest SL and TP to THIS_POSITION

*best SL and TP:

  • Closest TP from Open Price (and is > Open Price in case of BUY, opposite for SELL)
  • Farthest SL from Open Price (and is < Open Price in case of BUY, opposite for SELL)

I hope I made it clear

Last point, I said it has to be executed every X seconds, but I don't know if there are better ways to achieve the same (if there are event triggers on Current Price, Position Close...)

Please do not hesitate to ask for clarification


Best,

Responded

1
Developer 1
Rating
(87)
Projects
134
14%
Arbitration
41
22% / 29%
Overdue
14
10%
Free
2
Developer 2
Rating
(878)
Projects
1390
67%
Arbitration
117
32% / 42%
Overdue
215
15%
Working
3
Developer 3
Rating
(4)
Projects
4
0%
Arbitration
1
0% / 100%
Overdue
1
25%
Free
4
Developer 4
Rating
(91)
Projects
122
39%
Arbitration
19
16% / 53%
Overdue
19
16%
Busy
5
Developer 5
Rating
(135)
Projects
192
42%
Arbitration
17
29% / 59%
Overdue
28
15%
Free
6
Developer 6
Rating
(147)
Projects
212
59%
Arbitration
3
100% / 0%
Overdue
43
20%
Working
7
Developer 7
Rating
(45)
Projects
58
33%
Arbitration
12
42% / 42%
Overdue
7
12%
Free
8
Developer 8
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
9
Developer 9
Rating
(145)
Projects
162
41%
Arbitration
5
0% / 80%
Overdue
8
5%
Working
10
Developer 10
Rating
(64)
Projects
93
37%
Arbitration
11
27% / 45%
Overdue
14
15%
Free
11
Developer 11
Rating
(419)
Projects
474
34%
Arbitration
24
42% / 46%
Overdue
6
1%
Loaded
12
Developer 12
Rating
(16)
Projects
32
47%
Arbitration
1
0% / 100%
Overdue
8
25%
Free
13
Developer 13
Rating
(261)
Projects
535
50%
Arbitration
54
41% / 37%
Overdue
224
42%
Working
14
Developer 14
Rating
(54)
Projects
65
52%
Arbitration
5
40% / 60%
Overdue
22
34%
Working
Similar orders
Hello developer, I just wanted to know if you have made a profitable Supply and Demand indicator Contact me let discuss and start fully immediately .i will be looking for great developer soon Best regards
Hi, I would like to have some functionality of an existing trade manager amended, and some new functionality added in order to suit my needs. The existing trade manager is free, so there are no licensing issues to worry about. However, I only have the .ex4 file, so you would need to decompile it first. I have attached the file here for you to see. This original manager was written for the exact strategy I trade by
Hello, I need help with fixing a custom indicator for me. I need the indicator buffer value fixing to work perfectly with EA. I think you will understand the matter of the issue. Normally the indicator is good to give the signal. But based on the signal I can't get into the EA. Because of the buffer value working issue. Also some time it's doing issue to show the singnal when re-start the MT4 Terminal. For this need
Hello, I am in need of an expert to help me convert my tradingview pinescript to mt4, I will attach the file, But for now, I only got $15 for this project and the only payment method I can use right now is crypto, I will send it to you through crypto, Also I need someone that is ready to work because I still have lot of projects I will need him to do for me
THE GOAL OF THIS PROJECT IS TO DEVELOP AN EXPERT ADVISOR THAT OPERATES AUTOMATICALLY DURING MARKET OPENING SESSIONS,FOCUS EN FOREX ,CRYPTOCURRENCIES ,STOCKS, AND GOLD. BELOW ARE THE SPECIFIC REQUIREMENTS the EA should be able to analyze the 20 period and 200 period moving averages as part of its entry and exit estategy implementation of an order blockis required to allow the EA to open and close positions efficiently
EA for MT4 SUMMARY: The robot uses a Moving Average (MA) with 6 Levels (3 Levels above the MA and 3 Levels below the MA). It does not use other indicators. The robot will make transactions only when the price reaches these Levels, under certain conditions. No trades are made when the price reaches the MA. MA period and distance for Levels are adjustable! It is a semi-adjustable robot with many variables, which will
Liquidity sweep reversal EA based on Williams fractal with risk & trade management parameters build in should include following section in EA: entry parameters risk management trade management all based on given instructions
High I’m looking for someone to create a simple EA for MT4 that trades in 2 timeframes the 5 min and the 15 min chart with the trend and enters on pin bars with some conditions that I will specify if the job is taken but nothing complicated. Timeframe 5 min Chart and 15min chart simultaneously It looks to enter on the 5 min or in the 15 min chart it does not look for higher timeframe, they are the same condition for
I'm looking for someone who will take the source code of an existing trading bot and make some adjustments and tweaks to it. Mostly is about changing the UI and basic default parameters. No need to change the algorithm itself. The result must be a file that I can install as any other expert advisor in the MT4 terminal. For now I can share the more detailed task in my video
Hello I have purchased an EA from MQL market. The name of the EA is "Eternal Profit" and it works on MT4 only. Its available in market and you can still find it to run DEMO. Though I have purchased the EA but its not working properly for XAUUSD pair owing to some inherent programming issues in the EA. The same EA is working good on currency pair. The key issue is the decimal place in in the pair. Its designed for

Project information

Budget
100+ USD
For the developer
90 USD
Deadline
from 3 to 5 day(s)