Develop EA

MQL4 Experts

Termos de Referência

I´m looking for an EA which is opening after definated candle numbers in a row and trend, on a definated Mode (3 possible modes) a Pending order, which will be then good for xhours.
EA should then restart and wait for the next possible candle numbers in the row.
EA should have a magic number

We have three different order modes on which EA is placing the orders under defenated criteria:


Order mode should be selected in sets
Normal Mode 
Hedge mode

Third mode is place orders against trend

Note, on all order modes, orders will be placed as pending orders.


Normal Mode
EA is opening after defined candles "x numbers of candles in a row in trend" in direction (+xpips over high or low) a pending order.
Order must be placed in trend direction. 
And a second order, in direction of candle trend but xpips better (but only in the trend direction). If this order xpips better is in market, the first order stays. Only if the normal order (first order) is executed, the order xpips better will be deleted.

So if we have a buy trend, EA is placing on High +xpips a buy order - and a second order buy + xpips better order. So if third order is executed - orders stay under pending till Order will be canceled of hours expire.

If the normal order is executed, the order xpips better should be deleted.

Pharamters for Normal Mode:
Candels in trend - Number
+xpips on first order
Xpips better second order

Expire hours can be defined for each mode.
After Expire or orders are done, EA starts again with strategy and does wait for new placing of the three pending orders.

Example for Normal Mode - set 3 candels in trend (for example buy trend) - so EA is using the last candel (third high) High was 1.2020 
We have plus Xpips example 5 pips EA is placing a pending buy at 1.2025 and a buy order Xpips better if we have normal mode with fix lots.
So a buy order example 40 pips better . So 1.1985- this is second order.

The first buy order is executed, the second buy order (in this example) will be deleted.

If second order Xpips better is executed - first order stay


Second Mode - EA should also have a Hedge mode - so order will be only open in Hedge direction, with the same second order as in Normal mode and same handling  (xpips better) and always only in Hedge direction.
EA is placing if there is xcandles in a row a trend and if there are already orders in Market (only the Hedge volume). EA is placing the hedge volume in open Hedge direction +xpips better or worse on basis of candle before.

If we have Hedge mode, EA is placing the right amount as Pending order on definated limits in Hedge direction

Order is good for x hours.

Plus second order first as pending xPips better as in Normal mode. Also if second order is executed the first order stay in Market - but if the first order is executed the Second order will be deleted.

Again Hedge Mode:Note EA does placing a Pending order in Hedge direction (if there is a Hedge - plus the order xpips better) if there are already a volume in Terminal. If nothing in Marke - so no order.
Note - EA is also placing a Order Xpips better. If the order Xpips better is executed - the first order stay in Markegt till god as. If first order is in the Market, the second order must be deleted.

Parameter: same candles in a row - example 2 Candles - EA placing after the definated candles a pending order in direction with fewer Lotsorder in direction of lower order sice (hedge) . Depends on where is fewer lot amount. Placing on high xpips better, or on low xpips worser - on low always a sell and on high always a buy.

Example: We have 6 lots long and 4 Lots short - the order volume is 2 lots If now 2 candles long in a row came - but we have to open 2 lots short - nothing happens If now 2 candles in a row came short - EA is placing a pending on low +xpips as pending. This will be updating every x hours

Third mode is place against trend
This mode has no SL - does work as normal mode, but places only in the definated Trend an order against trend.
Same as normal mode - EA is placing the order just against trend.
If we have an trend of xcandels- can be definated under sets.

EA is placing on High or low (depends on existing candl trend) xlots against trend of trend candels.
Pending orders are good till - xhours


Example - we have 3 candles logng in a row - on high of 3 candel high EA is placing a sell order




Lot definition:
Fix lot - EA is always using the fix lots only for normal mode
Or Hedge amount - EA checks all open trades and does placing the right size for hedge - updating every x hoursUpdating ever x hours
EA does only place the pending order in direction of fewer lots - so if the order is in Market, the orders in Terminal are hedged.

and if candel before opening order High low is in range of Xpips. EA should juse second lots. 

Closing of the Order:
We have partial close of the order. If we can not make partial closing - EA has to open for fix lots just 4 orders - were I can definated in sets the Percent of Fix lots for each order.

  1. Closing 20 Percent of the order at xpips TP
  2. Closing 20 Percent of the order at xpips TP
  3. Closing 20 Percent of the order at xpips TP
  4. Closing 20 Percent of the order at xpips TP
SL
Is other side High or Low of candle - +xpips
Only third mode does have no SL
After first candl trade is done: SL does change to next candle High or Low and EA does also close orders on closing candl before.


Expiere of pending order - xhours


Pharameter:

Mode selection 1, 2 or 3
Hours which will be pending good till -xhours

Mode activafter xcandles - number of candles
Xpips better normal mode - xpips

Xpips which will be calculated on the order high and low - so if low ist - 1.2020 - sell liit will be placed 1.2020 - xpips 




Respondido

1
Desenvolvedor 1
Classificação
(279)
Projetos
378
72%
Arbitragem
19
32% / 47%
Expirado
16
4%
Livre
Publicou: 15 códigos
2
Desenvolvedor 2
Classificação
(568)
Projetos
641
41%
Arbitragem
25
48% / 36%
Expirado
46
7%
Trabalhando
3
Desenvolvedor 3
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
Pedidos semelhantes
I need an ea send news low medium or high to my telegram channel or group with topic news news news news news n n n j j i i i o
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
I have few EAs that I want to place on market, but I can't due to some errors, please help me, because I am not a programmer. Source of code required, bug free version, ony my computer it must works not only on your computer
Hello dear all developers, I will find here python programmers? I would like to create an Expert Advisor, if you can you can convert, because I already have Expert Advisor written in mql5 or maybe you will create a bridge? it's up to you, but I need 1:1 copy
Hello! I am searching a professional programmer for regular works. I don't care if you have 1 projects done or 1000, show me your skills. I need to create an EA based on Zig Zag indicator and candlestick patterns, EA must works on all time frames, source of code required
My EA have bug 30+ USD
Expert Advisor have a bug, I tried to fix it somehow with searching on google, but I couldn't fix find a solution. Please fix it, I will send you erorr type, what line etc. Only serious programmers, not amateur please. My time is precious
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007

Informações sobre o projeto

Orçamento
50+ USD