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
20
40% / 15%
Overdue
32
22%
Working
Similar orders
Hello, im offering my Flip EA as a service. Real numbers. Live account. No BS. Verified Stats (live MT5): • Growth: +78–81% in days • Max Drawdown: 3.05% only • Best trade: +6,872% profit on single position Runs fully automated on XAUUSD 24/5. Small account friendly – built for fast, aggressive flipping with tight risk control. Tell me your capital, I’ll tell you what’s realistic
I am looking for an experienced MQL5 developer to build a fully automated trading bot (Expert Advisor) for MetaTrader 5 . The bot will focus on trend-following scalping and must be designed to trade XAUUSD and BTC on the M1 timeframe . The objective is to create a stable and efficient EA that can open multiple trades per day while managing risk using proper stop-loss, take-profit, and trailing stop
martingale base on each position close. eg: open a position with TP set at $100 and trail SL . if this position hit trail SL i lose $50 then the next position will open target at $150 profit. entry price base on from lower and up by XXX% then can open position i want to choose only buy or sell position. example this chart i only want buy position
I have a specific channel need to copy and modify signal from that channel. It will buy and sell from signal and modify based on signal. I’ll add few more functions in the ea
[Automatic Level Detection Group] - Enable Auto Detection: Yes/No - Number of Levels Required: (Number) 3-5 - Lookback Bars: (Number) 100-200 - Minimum Touches for Strong Level: (Number) 2 - Use Zig Zag Algorithm: Yes/No - Use Level Clustering: Yes/No - Max Cluster Distance (points): (Number) [Display and Drawing Group] - Resistance Line Color: (Color) - Support Line Color: (Color) - Show Info Labels: Yes/No - Lines
Hello, I am searching a good programmed to convert EA from mql5 into pinescript and DX TRADE made automatisation. Source of code required. Budget is negotiable. Thanks for attention and have a nice day
Profitable EA for sell 200 - 1000 USD
I am having 2 very proven and profitable EA which will give you profit and at the end of week you are always in profit. 1 This bot is safe bot and it generates handsome amount of profit with very less drawdown and high accuracy of 75-85%. 2. This bot is very aggressive and will suggest to go with only when you are having big capital and wanted to take more risk. It can make your account multiple fold
Looking for a Marketing Partner for my EAs! I am a developer looking for an experienced partner to help promote and market my Expert Advisors (MT4/MT5). How it works: > * I handle the coding, updates, and technical support. You handle the marketing, outreach, and bringing in traders. Compensation: We work on a Revenue Share / Profit Split basis. If you have an audience of traders or know how to market forex tools
Money wizard 30 - 200 USD
I Malwande Linda require a trading bot that would for me because I don't usually get ft time to seat and analyze the chat. I want a robot that would analyze the market and take trades for me. I want a robot that will make money weekly because I'm a student so Fridays are not busy days for me I want a robot that I can trust. I also would appreciate some indicators on my live account so that even when I'm not using a
EA based on CSV 50+ USD
Hello Developers, I need some consultation to help narrow down an idea and develop an EA. I have a csv file that stores data like this: Date portfolio portfolio_value 18/11/2025 ['EURNZD', 'EURCAD', 'EURJPY', 'EURCHF', 'AUDNZD', 'AUDCAD', 'AUDJPY', 'AUDCHF', 'USDNZD', 'USDCAD', 'USDJPY', 'USDCHF', 'GBPNZD', 'GBPCAD', 'GBPJPY', 'GBPCHF'] 1.7970698812202368 19/11/2025 ['CHFAUD', 'CHFNZD', 'CHFGBP', 'CHFJPY', 'EURAUD'

Project information

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