Moving Average Crossover EA

Trabajo finalizado

Plazo de ejecución 18 días
Comentario del Ejecutor
One of the best client ever! Knows exactly what he want. He is able to communicate his need perfectly without ambiguity, really nice to talk to! The Dream of every developer!! Highly recommend!!
Comentario del Cliente
Yerim is one of the most amazing developers I have found here. Excellent communication skills, adds great value and goes for the extra mile. Besides, his code is really well structured and commented.

Tarea técnica

I need an EA that opens trades according to the crossover of Moving Averages. The EA is based on two Moving Averages MA1 and MA2: 
  • For every new candle the EA attempts to open a new position, according to the MA crossover direction:
    • If MA1>MA2, open a BUY position
    • If MA1<MA2, open a SELL position
  • There is a limit for current open trades which is also set in the settings. If the number of open trades reaches that limit, the EA can’t open any new positions until another open trade closes.
    • If the new position was not opened due to this limit, the EA simply moves on and attempts to open another new position on the next candle.
  • Each created position has a Take Profit and Stop Loss value. Both values are set in the EA settings.
  • The candle timeframe is set in the EA settings, NOT the current chart timeframe.
  • The trading instrument used (e.g. EURUUSD) is also set in the EA settings, NOT the current chart instrument.
  • Lot Size is specified in the EA settings.
So, the EA main settings are:
  • Instrument (free text)
  • Timeframe: M1, M5, M15, M30, 1H, H4, D1 (text options list)
  • Lot Size (float)
  • Stop Loss (points, as an integer)
  • Take Profit (points, as an integer)
  • Open Positions Limit (integer)

Also, Both Moving Averages are configured in the EA settings as follows:

  • MA1 Period (integer)
  • MA1 Method (text options list):
    • Simple
    • Exponential
    • Smoothed
    • Linear Weighted
  • MA2 Period (integer)
  • MA2 Method (text options list):
    • Simple
    • Exponential
    • Smoothed
    • Linear Weighted

For simplicity, both Moving Averages have the following fixed setups (no need to be as settings but considered for the code):
  • Apply to: Close Candle
  • Shift: Always 0 (zero). No shift.

Additional Requirements:

  • If “Open Position Limit (integer)” is set to 0 (zero), this setting will be disabled, which means there will be no limit for current open positions. SETTING;
    • Open Positions Limit (0=unlimited) (integer)
  • Add a feature that turns off EA Auto Trading function when Open Position Limit is full, and that enables this function back again when Open Position Limit is below the limit after the closing one or more positions in the account. SETTING:
    • Turn On/Off EA Auto Trading if Open Positions unavailable/available (Boolean)

While running, the Expert Tab should keep a registry of the following events:

  • Every Attempt to open a new position specifying position type (BUY, SELL)
  • If the position WAS NOT opened due to max limit of open positions reached, add a note in the Expert Tab with the current number of open positions
  • If the position WAS opened, add a note in the Expert Tab with the position type, id and the updated number of open positions after the opening
  • If a position was closed, add a note in the Expert Tab with the position type, id and the updated number of open positions after the closing
  • If there is an MA1/MA2 crossover, add note in the EA Tab specifying the crossover direction and the current value of each MA.
  • Any other relevant event or information the developer may consider.

Final Remarks:
  • The code must be clean, efficient, commented AND, most importantly, organized in several separate subroutines. I plan to reuse this code as a filter in another EA in the future.


Han respondido

1
Desarrollador 1
Evaluación
(404)
Proyectos
523
24%
Arbitraje
62
58% / 24%
Caducado
60
11%
Trabajando
2
Desarrollador 2
Evaluación
(50)
Proyectos
64
20%
Arbitraje
11
27% / 55%
Caducado
5
8%
Libre
3
Desarrollador 3
Evaluación
(64)
Proyectos
83
28%
Arbitraje
9
33% / 56%
Caducado
9
11%
Libre
Ha publicado: 1 ejemplo
4
Desarrollador 4
Evaluación
(9)
Proyectos
19
16%
Arbitraje
3
67% / 0%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(85)
Proyectos
175
44%
Arbitraje
3
100% / 0%
Caducado
5
3%
Libre
Ha publicado: 1 ejemplo
6
Desarrollador 6
Evaluación
(75)
Proyectos
80
6%
Arbitraje
46
11% / 54%
Caducado
7
9%
Trabaja
7
Desarrollador 7
Evaluación
(1305)
Proyectos
1735
49%
Arbitraje
55
67% / 16%
Caducado
38
2%
Libre
8
Desarrollador 8
Evaluación
(279)
Proyectos
341
37%
Arbitraje
6
50% / 17%
Caducado
7
2%
Libre
Ha publicado: 5 ejemplos
9
Desarrollador 9
Evaluación
(5)
Proyectos
8
13%
Arbitraje
3
0% / 33%
Caducado
2
25%
Libre
Ha publicado: 1 ejemplo
10
Desarrollador 10
Evaluación
(274)
Proyectos
403
28%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
11
Desarrollador 11
Evaluación
(20)
Proyectos
32
9%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
13
Desarrollador 13
Evaluación
(40)
Proyectos
55
62%
Arbitraje
2
50% / 50%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(2)
Proyectos
5
0%
Arbitraje
3
0% / 100%
Caducado
1
20%
Trabaja
15
Desarrollador 15
Evaluación
(43)
Proyectos
63
24%
Arbitraje
10
30% / 50%
Caducado
10
16%
Libre
16
Desarrollador 16
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(370)
Proyectos
460
55%
Arbitraje
24
58% / 17%
Caducado
31
7%
Trabaja
18
Desarrollador 18
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
19
Desarrollador 19
Evaluación
(457)
Proyectos
725
34%
Arbitraje
35
71% / 9%
Caducado
23
3%
Libre
20
Desarrollador 20
Evaluación
(16)
Proyectos
22
14%
Arbitraje
8
38% / 63%
Caducado
6
27%
Libre
21
Desarrollador 21
Evaluación
(5)
Proyectos
7
0%
Arbitraje
8
13% / 75%
Caducado
3
43%
Libre
22
Desarrollador 22
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
(78)
Proyectos
248
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 2 artículos, 1 ejemplo
24
Desarrollador 24
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
25
Desarrollador 25
Evaluación
(10)
Proyectos
10
20%
Arbitraje
3
33% / 33%
Caducado
3
30%
Libre
26
Desarrollador 26
Evaluación
(330)
Proyectos
335
72%
Arbitraje
2
100% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
27
Desarrollador 27
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
28
Desarrollador 28
Evaluación
(562)
Proyectos
858
61%
Arbitraje
33
27% / 45%
Caducado
24
3%
Libre
Ha publicado: 1 ejemplo
29
Desarrollador 29
Evaluación
(17)
Proyectos
22
36%
Arbitraje
5
0% / 100%
Caducado
4
18%
Libre
30
Desarrollador 30
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
I'm looking for an experienced MQL5 developer to create a Opening Range Breakout EA. The EA should identify the high and low of a configurable trading session and open trades when price breaks out of this range. It should include configurable Stop Loss, Take Profit, fixed lot size, break-even option and trading hours. Full mq5 required
Matosfx 30 USD
Am called martin sselubiri I need a robot for trading forex and stock and I want know how this robot works and how much it costs for me to use it
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Hi there great developers I need someone who will test the ea from real account because it must cover up the spread first by calculating the next price movement points if it can cover up the spread cost using an atr, adx , if the next price movement is more then the spread after calculate it must place an order this is how the ea must work,, message me if you can , don't waste my time if you don't have an solution
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
Phixfx 30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement ​1. Project Overview & Objective ​I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. ​The primary goals of this project are: ​Debug existing logic
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)

Información sobre el proyecto

Presupuesto
30 - 40 USD