Expert to open 2 positions at certain negative floating equity levels

Техническое задание

 I had an ea coded, to 'open a new position when the terminal floating equity is at certain negative levels', but it does not work very well. 

I am including it here, as some of the code may be useful. 


I will first explain how I currently trade for clarity. Its not too complicated :) 

1. I open 2 positions at the same time. ( I call this a SET; I currently use an EA to open the positions, and it works pretty well ) 

2. When terminal drawdown gets to a specific equity drawdown level ( -$ 10 for example) > I open the SAME SET again. I do this manually   

* ( I cannot monitor the dd all the time so this is the main reason why I need an EA  > to open a new SET at the specific equity drawdown level ( of terminal) 

4. If the terminal drawdown goes down more ( to $ -20 for example) > the EA ( or me) must open the SAME SET again. 

This carries on unlimited,,,until step 5 below.

5. If the floating equity goes into profit , I have a ea that closes it.This EA can also disable autotrade once all positions are closed. 

6. If the disable function is not used, no1 ( 2 position = a SET) starts again


I need the EA for the reason at *  above. 


I need to know what will work the best in terms of the logic , to get everything to work the way it should: 

For example : The EA must know the values of the SET it must open ; The SET is always 2 pairs 

SET = Pair ; Buy or Sell ; Lot size 

Example : of a SET :

Pair 1 :  USDCAD , sell , 0.1 lot  

Pair 2 AUDUSD, buy , 0.1 lot.

I have a separate ea hat opens the trade on launch, Currently I attach the ea to a chart of each pair and switch on autotrade to open 2 positions at the same time.

Maybe ONE EA should do this ? 

Why I say this : Point 2 above refers:  The SAME 2 positions, with the same values ( buy / sell ; lot size) must open at the specified DD level of the MT4 terminal 

So to me its logical that the EA that opens the first SET  (2 pairs) , must also open the 2nd SET ( same 2 pairs with same values) on trigger ( - negative DD level reached)   agian

....and I guest one EA could also close ALL open trades at a certain floating equity PROFIT level ; and disable any further trading 

        

 How I used the EA attached :

I  attached the EA to 2 charts ( the 2 pairs trade) . It is suppose to monitor the floating equity and open another position(  of each pair) when the Floating P?L reaches the levels on the INPUTS. But it does not work correctly. EA on chart 1 sees dd of $-10 and same  EA on chart 2 sees $-10 dd > so 2 positions are opened at that dd level.   


If you can advise what the best way would be to do this I will appreciate it ; to me there are the following options:

A Fix the EA attached so it can execute point * 2 above effectively

B-Build one EA that 'does it all'

- Open 2 position with on launch at the same time;

- open the 2nd, 3rd, 4th etc SETs  ( same 2 pairs with same trade values as opening pairs )- when equity drawdown reaches ... minus $ ...; and again when equity reaches  ..- minus ,,,, etc   

- Close all open positions when floating Equity profit reaches $ ....;

- True / false option to disable all further trading when all positions close at specified profit , (if NOT not selected EA must start a new cycle ( as per point 1)

above)   

note : The ea should only open the 2 positions ONCE at the specified level ( Example : if the level to open a SET is -$10 and the 2 positions is opened ; if price then turns and goes to - $8 and the back to -10 , it must not open the same 2 positions again , it must only open the 2 positions at the next specified level again ( $- 20 for example)      


I appreciate your advice on best way to do this 

Regards,Mike

                       

        

   

Файлы:

Откликнулись

1
Разработчик 1
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(50)
Проекты
63
21%
Арбитраж
11
27% / 55%
Просрочено
5
8%
Свободен
3
Разработчик 3
Оценка
(53)
Проекты
91
52%
Арбитраж
1
0% / 0%
Просрочено
1
1%
Работает
4
Разработчик 4
Оценка
(45)
Проекты
46
24%
Арбитраж
34
9% / 85%
Просрочено
10
22%
Свободен
5
Разработчик 5
Оценка
(31)
Проекты
35
46%
Арбитраж
0
Просрочено
0
Свободен
Опубликовал: 3 примера
6
Разработчик 6
Оценка
Проекты
0
0%
Арбитраж
1
0% / 0%
Просрочено
0
Свободен
Похожие заказы
We're looking for a highly motivated and detail-oriented individual to fill a key position in our team. The successful candidate will be responsible for driving projects forward, analyzing complex data, and collaborating with cross-functional teams to achieve business objectives. The role requires exceptional problem-solving skills, effective communication, and adaptability in a fast-paced environment. If you're a
EA DEVELOPMENT 50+ USD
Hello, I’m interested in developing an Expert Advisor (EA). I will send you the details and examples of the type of EA I need. Please log in and review them so you can understand my requirements
Mt5 alert fix 40+ USD
i have a indicator on mt5 im using it right now , you can see the performance attached Am using the Ma filter to avoid false signals I developed this indicator myself But the signals are delaying in alerting Check if you can perfect and if you Can you work on it let me know Let me know if there anything you can do to make it perfect without lagging or delaying
Mt4 indicator 40+ USD
hello great developer Can you develop an MT4 indicator non repaint with accuracy of at least 70% for binary options trading, 1 minutes expiry time frame. Specifically on Quotex Something like this, check attached files Don't forget I trade 1Minutes expiry time frame on binary options Quotex
An Expert Advisor (EA) robot that uses market movement-based indicators is an automated program designed for platforms like MetaTrader 4 or 5 (MT4/MT5) that monitors price fluctuations and triggers trades based on predefined technical rules. These robots, often used for trend following, scalping, or breakout strategies, analyze price action, moving averages, or volatility to automatically enter and exit trades
MT5 EA 45+ USD
Hi i want a developer , who can develop me Mt5 Ea based on High and lows how exactly it should work and what inputs i want to add message me for full detailed specification
Scalping EA MT5 30 - 70 USD
PHẦN 1: TIẾNG VIỆT (Cho các nhóm VN) Tiêu đề: Tìm Coder Pro: Tôi có khung Quản lý vốn/Risk chặt chẽ - Bạn lo chiến thuật "Vua Scalping" phân: Tôi cần đọc mã EA. Tôi có bộ quản lý vốn và rủi ro rất chi tiết. Chiến thuật theo lệnh (Strategy) tôi để bạn Tự QUYẾT (Yêu cầu: Chuẩn bị mở rộng quy mô đa khung, vào chắc chắn và nhiều lệnh). YÊU CẦU CỤ THỂ: 1. Phần Chiến thuật (Bạn lo): * Tự động chọn chỉ báo/phương pháp. *
I already have an EA and willing to work together with a talented professional programmer so that we can make a profitable EA for the long-term. RazorQuant AI | Buy Trading Robot (Expert Advisor) for MetaTrader 5 RAZORQUANT AI v3.7 (MT5 EA) Purpose: Automated trading EA that combines classic technical filters with machine-learning signals and optional external AI (LLM) advice to decide BUY/SELL/HOLD and manage
Pre pending order EA 30 - 40 USD
Hey developers I want to code for me good pre pending order EA with a good strain stop loss, break out logic, MT5, it can trade starting from 20&, pre pending breakout logic , trend filter trades Xauus , Eurusd trades real breakouts
Range Reversal EA 29/01/26 Rev 0 Overview This EA will bound a range of price action over a set time. At a specified time range a trade will be enabled if price action triggers a reversal at or near to the bound range, by a stated offset. Typically the EA will be permitted to only take one trade per day. The EA is not to operate on Weekends. The EA will be left running on a MT5 platform on a server. Testing I will

Информация о проекте

Бюджет
30+ USD
Сроки выполнения
от 1 до 3 дн.