EA that places multiple Pending Orders(Buy & Sell) based on SMA crosses

MQL4 Asesores Expertos

Tarea técnica

Dear All

I would like some help in coding an EA. I'm not good at it all.


My query, is it possible to make the EA Open hedge pending orders?

I only trade in Gold with the following 2 strategies:

1. if 12 SMA crosses above 20 SMA, then I want to open a set of buy stop & sell limit orders as below;

For e.g. the current price when SMA crosses is $1300.00 then;

1st buy stop @ 1302.00 & sell limit @ 1302.50

2nd buy stop @ 1303.00 & sell limit @ 1303.50

3rd buy stop @ 1304.00 & sell limit @ 1304.50

4th buy stop @ 1305.00 & sell limit @ 1305.50


2. if 12 SMA crosses below 20 SMA, then I want to open a sell stop & buy limit orders as below;

For e.g. the current price when SMA crosses is $1300.00 then;

1st sell stop @ 1298.00 & buy limit @ 1297.50

2nd sell stop @ 1297.00 & buy limit @ 1296.50

3rd sell stop @ 1296.00 & buy limit @ 1295.50

4th sell stop @ 1295.00 & buy limit @ 1294.50


I need the EA to check on regular intervals if there are any old orders present. EA shold accept the order size manually and then place the pending orders based on the above SMA crosses. I'm currently trading on the MT4 platform with a virtual server and have searched everywhere for an EA to do this. Only closest I have found is your EA for MT5 platform (https://www.mql5.com/en/articles/723) but I would rather stay on MT4.


Please I hope someone can assist me.

thanks

Dev

Han respondido

1
Desarrollador 1
Evaluación
(365)
Proyectos
412
36%
Arbitraje
35
26% / 57%
Caducado
63
15%
Libre
2
Desarrollador 2
Evaluación
(298)
Proyectos
427
26%
Arbitraje
18
61% / 33%
Caducado
26
6%
Libre
4
Desarrollador 4
Evaluación
(563)
Proyectos
932
47%
Arbitraje
302
59% / 25%
Caducado
124
13%
Ocupado
5
Desarrollador 5
Evaluación
(84)
Proyectos
149
31%
Arbitraje
32
34% / 41%
Caducado
43
29%
Libre
6
Desarrollador 6
Evaluación
(356)
Proyectos
632
26%
Arbitraje
89
73% / 13%
Caducado
12
2%
Libre
7
Desarrollador 7
Evaluación
(28)
Proyectos
47
23%
Arbitraje
13
31% / 15%
Caducado
12
26%
Libre
8
Desarrollador 8
Evaluación
(121)
Proyectos
134
66%
Arbitraje
36
25% / 56%
Caducado
22
16%
Libre
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(221)
Proyectos
369
66%
Arbitraje
10
50% / 0%
Caducado
46
12%
Libre
11
Desarrollador 11
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
12
Desarrollador 12
Evaluación
(251)
Proyectos
400
54%
Arbitraje
9
67% / 22%
Caducado
36
9%
Libre
13
Desarrollador 13
Evaluación
(66)
Proyectos
143
34%
Arbitraje
10
10% / 60%
Caducado
26
18%
Libre
Solicitudes similares
Hi, I have an scalping Expert Advisor for XAUUSD pair with Break Out strategy using iADX indicator and it seems other indicators too. Need a help to do reverse engineering on it. Thanks
I would like to create a bot based purely on the below fundamentals; Timeframe from 5M to 1Month. The bot will place a trade via a candlestick pattern and supply and demand zone approach, (NO RSI, Bollinger bands, or the like to be taken into account) just purely candlesticks based off the candlestick bible, buy and sell. Once a trade is made, the bot will continue to make trades in that position’s direction (locked
Dear Digital Intellectual, I’ll generally outline my idea with the intended instruments and their logic. Fundamental bias with multiple factors . I have this outside of MT. It's very easy to activate or deactivate the EA on MT if the fundamentals are not in line to be bullish or bearish. Later on, APIs would be needed to fully automate this (not yet needed). Logic : Fundamental factors on a higher timeframe drive the
CPI ROBOKING 30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due
I'm looking for a program that will work on ninja trader 8: 1. The program should start by giving me the maximum and minimum for the Monday and Friday previous to my current date. 2. The program will shift from the 1 day to the lower time frame as needed that has been selected. a. Then, the Fibonacci sequence will be added automatically from the beginning, and the Fibonacci graph will be adjusted from elliott wave
Hi there am looking for a programmer familiar with SMART MONEY CONCECPT to convert an mt5 into an EA based on its signal and order block formation. will give other details once i select a participant. My budget is fixed $30
Dear Programmer Go to this link https://www.youtube.com/watch?v=m1yJjAIzcp0 This video will explain everything about the strategy. I wanted to make an EA based on this strategy Draw standard deviation channels with 1 2 &3 standard deviation. The repainting should be minimal. In the mid line you have to buy and sell the same currency pair 1 lot each(or depending on the account size) If it goes up and hit the upper
Hello, I am looking for a skilled developer to help create a powerful trading strategy for the stock markets, specifically targeting the American market index. If you have experience in programming and developing effective trading algorithms, I would love to hear from you. Please let me know if you are interested, and we can discuss this further. Thank you
Tdi makes a divergence with moving average 2 in the indicator window above level 68 in crash indeces.... For boom the divergence should occur below level 32.... Timeframe preferably 5minutes but could be left to current..Applicant should have knowledge about synthetic indices... Please don't apply if you are not willing to show competence first through demo
I am seeking an experienced MQL5 developer to complete an incomplete EA that was previously developed but not finalized. The EA involves complex zone marking, multi-timeframe analysis, and various entry strategies (Engulfing, Divergence, Aggressive) with specific stop loss, take profit, and Martingale management. The previous developer has provided the progress made so far, including an EA file and documentation

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
de 2 a 4 día(s)