EA handel other EAs or Manual orders and open on definated distanz up and down from basis order an order

MQL4 Experts

Specification

I´m lokking for an EA which is handeling orders (several orders - each for his own) opend by other EA or manual (this orders are called in descriptioen BASIS order). Basis order will be closed and opend all the Time manual or via other EA. New EA should andel all basis orders and if the Basis order is closing -  Orders form new EA should also close all.

EA needs a creation of a small database, where each base order will be matched by its hers-orders. After each modification, the database will be stored on the hard disk. This is necessary in case of an Internet connection, a reboot, and the like.


As long as the Basis orders (order from other EAs or Manual is open this new EA should manage) as long does new EA open several orders on different distance levels (Note on each Distanc Level EA is opening for each basis order just one Order - and each basis order is handeled seperat),

The distance Levels for all orders are opned by new EA are definate form basis order opening price. EA has to check on explaind Levels - what kind of Order ond what sice should be placed.

Order Possibilities -

1. Order in directionof Basis - from Basis till definated Uper Level and Down level a Must

Order in direction of basis multipied - only inbetween uper level

Order against direction of Basis is Hedge - only after down level

order against direction of Basis is Hedge Multipield. - only after down level

Parameter of desision what kind of Order EA has to place, is differenz between all buy and sell order - if the differenz is bigger than XX tan EA should place with multipiler or hedge or Multipiler with Hedge.

Here is an explanation/example: https://mix.office.com/watch/s8qru0cn966u?autoplay=1


 

Parameters

Distance Pips (for example 6 pips) – distance is calculated always from Basis Level - ther will be for example 3 distanc levels better (better is in direction of profit) from basis and there will be 15 distance Levels against (minus) were EA normal open an order and deside what kind of order EA should place - see above 4 oportunities.

Distance Levels in trend max: 3 - I want to definate - So if order goes in plus and there wer 3 selected - means from basis order in trend 3 levels.  I want to definate Xlevels were EA should only place an order in direktion of basis and if differenz is bigger than xx (differ must be against order direction so next order should be multipieled with Basis to reduce the Differenz. In orders in direction is no Hedge order possible. - just order in direction and + mulipile.

Distance against Trend max : 15 levels I want to definate - so if order goes in Minus I want to definate on how many distanc levels EA is open an order. every x pips against trend calculated from Basis EA should open an order. The first Xlevels in Minus there is only Order in direction and order in direction Multipieled possible. Below that all 4 explaind opening functions should work.

Multipiler – works always from Basis order lots - so if there is definated with  2  - Opening order is basis lots * 2 - Not multipiler works only in Uper Level in direction of Basis  and only after down Level with Hedge

TP – Is always same as Basis TP – this should be checked every minutes for all  alredy opend level orders. Note TP works only for Orders in Trend of Basis - Hedge orders does not have an TP

SL – I definate.

 

Uper Level - From Basis order in Positive trend there can be only placed orders in trend - so for example uper Level is definated with 4 - this means from basis order 4 levels EA is placing orders just in trend or in Trend with multipieler

down Level - from basis x levels against traind can only placed order in direction of Basis and after that definated level can placed also an  Hedge or an Hedge multipield.

Comments I want the informations Order number from Basis and witch Level this order is. Coments set activ or inactiv


The logic for opening the orders in direction, Hedge, with Multipiler ore without Multipiler on each distance Level as follows.

Under normal conditions EA does open same lots (as basis order) on definated distance (calculated from basis) away in direction of basis. All entries for distance levels are calculated form Basis order. So If distance is 6 - first order will be opend 6 pips away from basis. second order will open 12 pips away  thrid order will open 18 pips from basis order away and so on.

EA does now before opening Basis (in range of Uper Level and after definate down Level) order Check alredy open buy and sell orders in System (and shows this in chart)  with differenz or oversice. If there are more orders against direction EA does opend orders in combination with multipiler.

If there are more Orders in Trend EA does open an Hedge with lots of basis or an with Hedge Multipied with Lots of basis. Multipiler woks only if oversice is bigger as Xlots of Basis order.

In chart should shown

Buy order - Summ all lots opend in Terminal

Sell order - Summ of all Lots opend in Terminal

= differenz - if differenz is there and bigger as definated - EA should reduce with next order the differenz with an Hedge or if EA wants to open an order in the right direction with multipiler.

 On base of this Differenz EA deside to open an order Mulitpield or Hedg or an normal order or an normal hedge.

Goal  when open an Multipiled order or an Hedge or an Hedge Multipiler  - reduzing the Differenz till defination. If differenz is under defination normal orders (orders in direktion of basis) should be placed


Parameters:

Differ calculation - example set is 3 - so when 3 is selected differ is activ 3 times * basis lot - if differ is bigger than that lot ( minus or Plus) function Hedge or Multipiler are activ - so goal of Hedge and Multipiler should be reduzing the differenz - If differ goes under the defination - than function is inactiv

Differ for Hedge activation - If in set is 3 so 3 times basis order - if differenz is bigger than 3 times basis order Hedge is activated

Differ for Multipiler activation - If in set is 3 so 3 times basis order - if differenz is bigger than 3 times basis order so Multipiler is activade - and if nest order is an order which reduce differ - order lots should be opend basis lots * 3

Note for - Up orders works only normal Lots and Multipiler - not hedge and Hedge Multipiler.



How to place Hedge wiht normal Lots and how to place Hedge with Multipiler:

EA does check differenz of buy and sell orders and if there not more orders in direction of Basis *3 EA does place an normal Hedge on the Level with normal Lots of Basis.

If there are more orders in direction as Basis *4 EA does place Hedge orders from basis with Multipiler.

Hedge and Hedge multipiler works only form Level X - so if there is inputet 6 - Level 1 to 6 can only place oders in direction and in direction Multipieled - from Level 7 on, EA can place also Hedge and Hedge Multipiled.
Hedge Multipieled does also not work in Levels better entry price.

 

Parameter:

Levels Long - Definat hov many distance Levels from Basis order  long - I want to definat how many Level long (if price goes better than opening price of Basis) EA should open on each distanc Level an order

Levels short - Definate how many sitanc Level from Basis order short - I want to definat how many Level short (if price goes worser than opening price of Basis) EA should open on each distanc Level an order.


-------------------------

Magic number excluding- EA should not Handel orders from this EA 

2-Magic number excluding- EA should not Handel orders from this EA

3-Magic number excluding- EA should not Handel orders from this EA

4-Magic number excluding- EA should not Handel orders from this EA

5-Magic number excluding- EA should not Handel orders from this EA

-----------------------------------------------


Magic number of EA -



Important Notes:

When Basis is closed all other Levels are closed too

EA musst handel more basis orders.

In Comments I want the informations Order number from Basis and witch Level this order is. Coments set activ or inactiv

EA has to check every xseconds if TP is the same as in Basis order.

Responded

1
Developer 1
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
2
Developer 2
Rating
(16)
Projects
18
44%
Arbitration
1
0% / 100%
Overdue
1
6%
Free
Published: 1 code
3
Developer 3
Rating
(64)
Projects
144
46%
Arbitration
19
42% / 16%
Overdue
32
22%
Working
Similar orders
Advanced Prop-Firm Compliant MT5 Expert Advisor (Capital Protection Focus) Project Overview I am looking for a high-quality Expert Advisor (EA) for MetaTrader 5 designed for prop firm challenges and funded accounts. The system must prioritize capital protection, strict rule compliance, consistency, and long-term stability. The EA must work on Gold (XAUUSD) and major Forex pairs. 🔐 Risk Management Requirements
Olá, Sou um comprador sério interessado em adquirir um Expert Advisor (EA) já existente, estável e rentável, projetado especificamente para: 👉 principalmente (XAUUSD) ou qualquer outro câmbio Trata-se de um pedido de compra integral. ⚠️ Não estou interessado em criar um novo EA do zero. Somente sistemas prontos para uso e comprovados, com histórico real de desempenho. ✅ Requisitos da EA (Rigorosos) 📌 Símbolo e
My EA (Expert Advisor) is a powerhouse! 💪 With rock-solid 100% risk management, it lets you trade stress-free while maximizing gains. Free to manage manually, it's designed to boost profitability. 🚀
Hello, Primary goal: convert the existing MQL5 strategy logic to Python as soon as possible and make it work for API trading (order management, exchange connection, basic bot structure). I want to keep the core logic unchanged . I haven’t chosen the exchange yet (must be usable in the EU ). Binance, OKX, Kraken, and Bybit are not options. Bitmart, pionex, gateio are options. Secondary goal (code reduction): the
This post is subject to developers response . Edit the post as you like . May be with me you can make a come back . So , , , Shift calculations . More to the calculation then you can comprehend is known . What else comes to your mind
This first robot I'm needing to order a robot that will help me with my trading and make it most efficient Help me with my margins my signals or anything I need to do associated to my trading or classroom
1- In the Universal EA that I currently have, in MA mode under the Take Profit options, when using the “Kill positions + clean one buy one” option, the counter resets itself before the accumulated loss is fully recovered while the loss stored in memory is being cleared. If fixing this is not possible, then I would like to modify the method as follows: Instead of clearing the accumulated losses in the Losses Pool one
1. Shift the Time Gate (Critical) Current start time: 08:30 New required start time: 08:35:01 The EA is currently triggering trades too early (between 08:25 – 08:30 ), which is causing incorrect entries. Please ensure the EA cannot enter any trade before 08:35:01 . 2. Change Order Execution Logic The current code is using Pending Orders . Please remove pending order logic completely . Replace it with Direct Market
Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period
Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows: market entries are performed when MACD's main and signal lines intersect in the current trend direction. 2. Trend is determined based on the Exponential Moving Average with the specified period

Project information

Budget
50+ USD
Deadline
from 1 to 5 day(s)