Moving Average Crossover EA

Trabalho concluído

Tempo de execução 18 dias
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.
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!!

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
(381)
Projetos
490
23%
Arbitragem
59
54% / 25%
Expirado
56
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
169
44%
Arbitragem
3
67% / 0%
Expirado
5
3%
Trabalhando
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
(1296)
Projetos
1723
49%
Arbitragem
52
71% / 12%
Expirado
38
2%
Trabalhando
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
(273)
Projetos
402
27%
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
(39)
Projetos
54
61%
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
62
23%
Arbitragem
8
25% / 38%
Expirado
10
16%
Trabalhando
16
Desenvolvedor 16
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
17
Desenvolvedor 17
Classificação
(362)
Projetos
435
54%
Arbitragem
20
55% / 15%
Expirado
30
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
(448)
Projetos
709
34%
Arbitragem
34
71% / 9%
Expirado
22
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
(77)
Projetos
243
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
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
(308)
Projetos
313
70%
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
(541)
Projetos
818
62%
Arbitragem
33
27% / 45%
Expirado
23
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
Pro firm setup 30+ USD
Hi, I am starting a futures prop firm. Are you able to help me get data feed for this with no delays and can handle many traders on the platform. Additionally, are you able to handle charts for us
Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
I am looking for an experienced developer to create a custom Expert Advisor (EA) for trading. The developer should have strong knowledge of MT4/MT5, strategy logic, indicators, risk management, and backtesting. Experience in building reliable and professional trading robots is preferred. Please contact me if you have done similar projects before. 9817724000
5.20buy-20.5sell 50 - 1000 USD
⸻ 🧠 Professional AI Prompt (Clear English Version) Act as a professional algorithmic trading engineer with deep expertise in developing automated trading systems for TradingView and MetaTrader. You have strong knowledge of market behavior, trend analysis, and risk management. Your task is to design a fully automated trading strategy based on the following requirements: ⸻ 🎯 Entry Conditions: • Open a BUY trade
I need a skilled MQL5 developer to build a fully functional Expert Advisor (EA) for MetaTrader 5 based on a simple but strict trading strategy. The EA will use EMA 50/200 trend detection combined with breakout and retest logic for entries. It must operate only during London and New York sessions and include solid risk management (fixed % risk, SL/TP, trade limits, and basic protection rules). APPLY ONLY IF YOU HAVE
VWAP BB Sniper EA Quantum VWAP Scalper SmartFlow FX Bot Institutional Edge EA 🧠 PRODUCT OVERVIEW VWAP + Bollinger Bands Auto Trading System A high-precision forex scalping bot designed to capture institutional price movements using: VWAP (fair value tracking) Bollinger Bands (volatility & entry timing) 👉 Built for fast, consistent intraday profits
Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only
EA for prop firms 30 - 500 USD
Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
I WANT TO CONVERT MY INDICATOR TO ROBOT, BUT I DONT HAVE THE SOURCE CODE , THE PROGRAMMER WILL DEVELOP THE SOURCE CODE FOR THE JOB. THE STRAGY IS SIMPLE , THE ROBOT WILL EXECUTE A TRADE WHEN THE SIGNAL FROM THE INDICATOR APPEARS. BUY SIGNAL IS WHEN THE ARROW APPEAS ON THE LOWER ZONE ( SUPPORT ZONE) SELL SIGNAL WHEN THE ARROW APPEARS ON THE UPPER ZONE ( RESISTANCE ZONE).THE ROBOT WILL HAVE THE FOLLWING FEATURES (1)

Informações sobre o projeto

Orçamento
30 - 40 USD