Moving Average Crossover EA

Trabalho concluído

Tempo de execução 18 dias
Comentário do desenvolvedor
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!!
Comentário do 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.

Termos de Referência

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.


Respondido

1
Desenvolvedor 1
Classificação
(404)
Projetos
523
24%
Arbitragem
62
58% / 24%
Expirado
60
11%
Carregado
2
Desenvolvedor 2
Classificação
(50)
Projetos
64
20%
Arbitragem
11
27% / 55%
Expirado
5
8%
Livre
3
Desenvolvedor 3
Classificação
(64)
Projetos
83
28%
Arbitragem
9
33% / 56%
Expirado
9
11%
Livre
Publicou: 1 código
4
Desenvolvedor 4
Classificação
(9)
Projetos
19
16%
Arbitragem
3
67% / 0%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(85)
Projetos
175
44%
Arbitragem
3
100% / 0%
Expirado
5
3%
Livre
Publicou: 1 código
6
Desenvolvedor 6
Classificação
(75)
Projetos
80
6%
Arbitragem
46
11% / 54%
Expirado
7
9%
Trabalhando
7
Desenvolvedor 7
Classificação
(1305)
Projetos
1735
49%
Arbitragem
55
67% / 16%
Expirado
38
2%
Livre
8
Desenvolvedor 8
Classificação
(279)
Projetos
341
37%
Arbitragem
6
50% / 17%
Expirado
7
2%
Livre
Publicou: 5 códigos
9
Desenvolvedor 9
Classificação
(5)
Projetos
8
13%
Arbitragem
3
0% / 33%
Expirado
2
25%
Livre
Publicou: 1 código
10
Desenvolvedor 10
Classificação
(274)
Projetos
403
28%
Arbitragem
40
40% / 50%
Expirado
1
0%
Livre
11
Desenvolvedor 11
Classificação
(20)
Projetos
32
9%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
13
Desenvolvedor 13
Classificação
(40)
Projetos
55
62%
Arbitragem
2
50% / 50%
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(2)
Projetos
5
0%
Arbitragem
3
0% / 100%
Expirado
1
20%
Trabalhando
15
Desenvolvedor 15
Classificação
(43)
Projetos
63
24%
Arbitragem
10
30% / 50%
Expirado
10
16%
Livre
16
Desenvolvedor 16
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
17
Desenvolvedor 17
Classificação
(370)
Projetos
460
55%
Arbitragem
24
58% / 17%
Expirado
31
7%
Trabalhando
18
Desenvolvedor 18
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
19
Desenvolvedor 19
Classificação
(457)
Projetos
725
34%
Arbitragem
35
71% / 9%
Expirado
23
3%
Livre
20
Desenvolvedor 20
Classificação
(16)
Projetos
22
14%
Arbitragem
8
38% / 63%
Expirado
6
27%
Livre
21
Desenvolvedor 21
Classificação
(5)
Projetos
7
0%
Arbitragem
8
13% / 75%
Expirado
3
43%
Livre
22
Desenvolvedor 22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(78)
Projetos
248
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 2 artigos, 1 código
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
(10)
Projetos
10
20%
Arbitragem
3
33% / 33%
Expirado
3
30%
Livre
26
Desenvolvedor 26
Classificação
(330)
Projetos
335
72%
Arbitragem
2
100% / 0%
Expirado
0
Livre
Publicou: 1 código
27
Desenvolvedor 27
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
(562)
Projetos
858
61%
Arbitragem
33
27% / 45%
Expirado
24
3%
Livre
Publicou: 1 código
29
Desenvolvedor 29
Classificação
(17)
Projetos
22
36%
Arbitragem
5
0% / 100%
Expirado
4
18%
Livre
30
Desenvolvedor 30
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
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)

Informações sobre o projeto

Orçamento
30 - 40 USD