Auto Master-Slave positions

MQL4 전문가 스크립트 Forex

작업 종료됨

실행 시간 2 일
고객의 피드백
Great job. The EA works like a charm!

명시

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,

응답함

1
개발자 1
등급
(87)
프로젝트
134
14%
중재
41
22% / 29%
기한 초과
14
10%
무료
2
개발자 2
등급
(878)
프로젝트
1391
67%
중재
117
32% / 42%
기한 초과
215
15%
무료
3
개발자 3
등급
(4)
프로젝트
4
0%
중재
1
0% / 100%
기한 초과
1
25%
무료
4
개발자 4
등급
(94)
프로젝트
125
38%
중재
19
16% / 53%
기한 초과
19
15%
바쁜
5
개발자 5
등급
(135)
프로젝트
192
42%
중재
17
29% / 59%
기한 초과
28
15%
무료
6
개발자 6
등급
(149)
프로젝트
215
58%
중재
3
100% / 0%
기한 초과
44
20%
로드됨
7
개발자 7
등급
(45)
프로젝트
58
33%
중재
12
42% / 42%
기한 초과
7
12%
무료
8
개발자 8
등급
(169)
프로젝트
204
30%
중재
25
40% / 44%
기한 초과
12
6%
무료
9
개발자 9
등급
(148)
프로젝트
164
41%
중재
5
0% / 80%
기한 초과
8
5%
작업중
10
개발자 10
등급
(64)
프로젝트
93
37%
중재
11
27% / 45%
기한 초과
14
15%
무료
11
개발자 11
등급
(430)
프로젝트
488
33%
중재
25
40% / 44%
기한 초과
7
1%
로드됨
12
개발자 12
등급
(16)
프로젝트
32
47%
중재
1
0% / 100%
기한 초과
8
25%
무료
13
개발자 13
등급
(262)
프로젝트
536
50%
중재
54
41% / 37%
기한 초과
224
42%
작업중
14
개발자 14
등급
(54)
프로젝트
65
52%
중재
5
40% / 60%
기한 초과
22
34%
작업중
비슷한 주문
Need an EA to be developed based on moving averages and the awesome oscillator. To long an fx pair when the AO flips positive and closes the position when the AO flips negative. Similarly, take a short position when the AO flips negative and closes the short when the AO flips positive. This would be for MT5
I'm seeking a skilled developer to automate my trading strategy. The ideal candidate will have experience in algorithmic trading, proficient in coding languages such as Python or C++, and familiar with trading platforms like MetaTrader5 . The project involves creating a bot that can execute trades based on predefined criteria, manage risk, and adapt to market conditions. Knowledge of financial markets and backtesting
Hi we are looking to create a custom study in Sierra chart. We also have a TradingView Code that we can convert. The study should allow users to plot a series of price levels on a chart. Similar to this. https://www.youtube.com/watch?v=0R73EQxfeGY GitHub: https://github.com/FrozenTundraTrader/sierrachart/blob/main/google_sheets_importer.cpp Can you help
I am Ph.D. in Finance and I just bought 4 EA: EA Reaper, EA Golden Emperador, EA Golden Elephant and, EA Quantum Lab. I need a person that can help me to improve and test my strategy in this EA. I have some Ideas, but I do know how I can improve. Best, Federico Bocca. email: fbocca@summagrupo.com
هل يمكنك مساعدتي؟ أريد تنفيذ إشارة تداول آلية على MT4/MT5 لنظام Android Can you help me I want to implement an automated trading signal on MT4/MT5 for Android Can you help me I want to implement an automated trading signal on MT4/MT5 for Android
Convert Pine Script Trading view To MT4 Convert Attach Script to mt4 with buy and sell signals on Chart and Data Window. The buy and sell signal must be the SAME signals, on the same candles. No deviation
Hell . I need an expirience developer who can create ea based on my conditions. If the job has done i will pay after testing robot and confirmed. I will send code when i am satisfied with developer
Hello, I need to correct two small problems in my mql4 code: '>' - unexpected end of program smp77.mq4 109 18 and '{' - unbalanced parentheses.smp77.mq4 (44, 1) let me know if i can get help. thanks
Creating a customized Forex/Index Rob Bot based on price actions and candlestick formations requires advanced programming and algorithmic trading knowledge. Here is a high-level outline of the steps involved in developing such a bot: 1. Define Trading Strategy: Specify the specific price action and candlestick formations you want the bot to trade upon. This could include setups like engulfing patterns, doji
HEDGING EA 70+ USD
LET ME KNOW IF YOU CAN DO THE JOB SERIOUS PROGRAMMER TO DO EA WITH STRICT DETAILS I HAVE A PICTURE OF THE STRATEGY I DO NOT WANT TO POST IT HERE

프로젝트 정보

예산
100+ USD
개발자에게
90 USD
기한
에서 3  5 일