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% / 20%
Overdue
32
22%
Free
Similar orders
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave
Project: Fib Grid Entry — Automated Trading Strategy (Sierra Chart / ACSIL, C++) I need a Sierra Chart custom study (Advanced Custom Study, C++/ACSIL) that automates a Fibonacci-based split-entry strategy. The core idea: I draw a Fibonacci Retracement on the chart by hand using Sierra Chart's own Price Retracement tool (Tools → Price Retracement), and the strategy should read that drawing's two anchor points
Online Ordering System para sa Milk Tea Shop* *1. Layunin ng Project* Gumawa ng website at mobile app kung saan makaka-order ang mga customer ng milk tea online. Para hindi na pumila at para mas madali i-track yung mga orders. *2. Mga Kailangan / Features* - *Para sa Customer:* - Mag-register at mag-login gamit ang email at number - Makita ang menu na may picture, presyo, at description - Makapag-customize ng
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I need a custom MT5 Expert Advisor (MQL5) for XAUUSD. Strategy: 1. Trend Filter (H1) - EMA 20, EMA 50 and EMA 200. - Buy only when EMA20 > EMA50 > EMA200 and price is above EMA200. - Sell only when EMA20 < EMA50 < EMA200 and price is below EMA200. 2. Confirmation (M15) - M15 trend must confirm the H1 trend before taking any trade. 3. Entry (M5) - Wait for price to pull back to EMA20 only. - After touching EMA20, wait
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
I I would like to create a trading robot based on 2 ema crossing. The robot is pretty simple, it should open buy position when fast ema cross slow ema and vise versa. Also it should use martingale after the loss position. It should has expiration period inside the code and alerts l
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
MT5 Global Stop Loss & Take Profit Manager for Manual Trades I need an Expert Advisor (EA) for MetaTrader 5 that manages ONLY existing manual trades. GENERAL REQUIREMENTS - Works only on the current chart symbol (example: XAUUSD). - Supports Hedging accounts. - Detects all manually opened market positions. - Never opens trades automatically. - Never closes trades automatically. - Never places pending orders. - Never
Supply and Demand EA 50 - 250 USD
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), area based on Fibonacci. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure or Fibonacci. Money management are based on fix volume or

Project information

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