Grid EA

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 5 días

Tarea técnica

Hello,

I'd like to create a grid/basket EA based on moving averages. 

All buy orders should act as one basket/group. All sell orders should act as a separate basket/group.

======

Here is the logic for opening new baskets/groups:

Open a buy order group - At the start of a new candle if the 6 period EMA is above the 21 period EMA the EA should place one market buy order.

Open a sell order group - At the start of a new candle if the 6 period EMA is below the 21 period EMA the EA should place one market sell order.

There should only ever be one buy order group and one sell order group. For example if our conditions are met to open a new buy order group, but there are previous buy orders still open the EA should not open a new order. The EA should only ever add orders to the buy/sell order groups when it is following the grid rules.

It is ok to have both one buy and one sell order group open at the same time. For example we have one buy order group open. The 6EMA crosses below the 21 period EMA, the EA should open a sell order at the start of the next candle.

======

There should be two options to close orders/groups. 

Option 1: Take profit = when all orders combined = the take profit pips input all orders should close (typical grid/martingale system)

Option 2: Drawdown reduction mode = when drawdown reached a specific %, the EA will close only the oldest and the newest orders. For example we have 5 buy orders open. When order 1 and 5 reaches a specific profit (let's say $1) it will close just order 1 and 5 leaving 2, 3, 4 open. The EA will then work to close 2 & 4 once profit reaches $1 for those two combined orders. If there is an odd number of orders, the last order will also close when it reaches the minimum profit ($1 in this example).

======

Here are the EA input settings:

==General==

Order Type: both / buy only / sell only / none

Use Hedge: yes / no (if yes the EA will allow for both buy and sell order baskets. If no, the EA will only have one basket open - either buy or sell. It will not open an opposite basket, even when the conditions are met)

Start Lot Size: opening order lot size

Use Money Management: true/false 

Money Management Risk %: (calculation for opening lot size if MM is set to true)

Lot Multiplier: the amount to multiply the lot size for orders in the grid

==Grid Settings==

Grid Step: distance between orders in the grid

Grid Step Multipler: multiplier for the grid order distance

TP: take profit for both the first order or the entire grid

SL: stop loss from the first order (example if 200pips is entered, all trades in the grid will be closed once the first order is -200 pips)

==Reduce Downdraw Settings==

Enable DD Reduction: yes / no (if no, TP settings from above will always be used)

DD Percentage Enable: The account drawdown percentage required in order to enable the reduction closing method (as described above)

Profit For Close: the profit needed between the oldest and newest order for the EA to close them

==Other Settings==

Magic Number

Start - End Hour For Trading

Maximum Lot

Maximum Spread


Han respondido

1
Desarrollador 1
Evaluación
(258)
Proyectos
460
35%
Arbitraje
57
37% / 37%
Caducado
168
37%
Trabaja
2
Desarrollador 2
Evaluación
(48)
Proyectos
80
28%
Arbitraje
8
75% / 13%
Caducado
41
51%
Libre
3
Desarrollador 3
Evaluación
(187)
Proyectos
329
32%
Arbitraje
33
42% / 27%
Caducado
98
30%
Trabaja
4
Desarrollador 4
Evaluación
(23)
Proyectos
45
20%
Arbitraje
24
29% / 46%
Caducado
12
27%
Libre
5
Desarrollador 5
Evaluación
(68)
Proyectos
72
21%
Arbitraje
6
50% / 33%
Caducado
1
1%
Libre
6
Desarrollador 6
Evaluación
(145)
Proyectos
258
35%
Arbitraje
12
25% / 58%
Caducado
42
16%
Libre
7
Desarrollador 7
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
8
Desarrollador 8
Evaluación
(42)
Proyectos
88
14%
Arbitraje
31
29% / 55%
Caducado
36
41%
Trabaja
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(33)
Proyectos
49
12%
Arbitraje
16
0% / 88%
Caducado
10
20%
Libre
11
Desarrollador 11
Evaluación
(48)
Proyectos
51
43%
Arbitraje
1
0% / 0%
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(1864)
Proyectos
3467
88%
Arbitraje
73
40% / 15%
Caducado
265
8%
Trabaja
13
Desarrollador 13
Evaluación
(96)
Proyectos
143
76%
Arbitraje
0
Caducado
2
1%
Libre
14
Desarrollador 14
Evaluación
(67)
Proyectos
144
34%
Arbitraje
11
9% / 55%
Caducado
26
18%
Trabaja
15
Desarrollador 15
Evaluación
(267)
Proyectos
543
50%
Arbitraje
55
40% / 36%
Caducado
226
42%
Trabaja
16
Desarrollador 16
Evaluación
(2465)
Proyectos
3103
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Trabaja
17
Desarrollador 17
Evaluación
(564)
Proyectos
933
47%
Arbitraje
303
59% / 25%
Caducado
125
13%
Trabaja
18
Desarrollador 18
Evaluación
(87)
Proyectos
114
26%
Arbitraje
7
29% / 57%
Caducado
5
4%
Libre
Solicitudes similares
Hi, I'm a developer, and I'm looking for a freelancer to help me create a custom criterion in the OnTester function. I want this function to return the result of (Profit Factor - Z Score) . In other words, I need the OnTester function to calculate and return (Profit Factor - Z Score)
Hey, are you familiar with the trading software called PREDATOR? If yes, are you also familiar with the automated reversal fitcher? I really need to get connected with someone who's well skilled in coding to help me out, thanks
Copy signals 30+ USD
I need 2 robots that copy mt5 signals to mt5. 1 master robot that will be installed on an MT5 platform and will send entry, exit and pending order signals 1 slave robot that will be installed on another platform that will receive the signals The slave robot must also have the option to reverse orders and change the batch
Hi all talented coders among you. Very simple ask. enum Strats { RSI_Overheat = 0, //RSI Overheated CCI_Overheat = 1, //CCI Overheated Stochs_Overheat = 2, //Stochs Overheated NONE //No strategy } input Strats S1 = 0; input Strats S2 = 2; input Strats S1 = 3; //use default inputs for these built in indicators input RSI_OH = 80; input CCI_OH = 100; input Stoch_OH = 80; Declare handles Populate buffers Function for RSI
Two Phase EA 50 - 100 USD
Please, try and read till the end. Thanks. T he EA should have a customized Login Page - Account and Password protection, ownership plus Expiry Date. The EA should have 2 Buttons. (A) for "Automatic Execution” (AE) and (B) manual mode for "Send Signal Only” (SSO) Basically, it’s the same EA, but should have automated trade execution and a manual mode which will send signals, only. Both should not be activated at the
Fix my EA errors and compile it and run it so that every coding is working perfectly I need to check your work on Demo after you fix the errors and if every thing is ok send me the Demo to check and confirm your work
buy order should be placed when ema 9 crossed over sma 20 and price retrace below or equal to ema 9 and stochastic %k length 50 and smooth 1 is above 50 . after buy stoploss should be trailed by lower donchian channel of period 16. Exit position when price crossing down lower donchoan channel. sell order should be placed when ema 9 crossed below sma 20 and price retrace above or equal to ema 9 and stochastic %k
hi are you familiar with the trading software called "PREDATOR" by sabar trading .?(probably building a new bot that works with the" predator" software ) if you do i want to add a condition for the automatic function of the reversal pattern trigger a condition of different time frame/renko , to the trade . is that something you can do
I have an MT4 expert advisor with source code. When I put the EA on, it only buys. I have no idea what the problem could be. Could you check and fix the problem. It is unable to identify the trend as in the code
I have an indicator-based Expert Advisor (EA) for MetaTrader 5 that needs the following corrections: --Note This is an easy job this should take a few hours, I dont want to wait until you finish 4 jobs and have me waiting I need this job completed ASAP, Important Allow the EA to open all trades immediately AFTER the indicator lines COMPLETELY CROSS, t he trade should trigger as soon as a complete indicator crossover

Información sobre el proyecto

Presupuesto
100+ USD
Para el ejecutor
90 USD