Simple EA based on 2 Moving Average Crosses

Specification

When 100 candle/period exponential moving average (Source: Close) crosses under 50 candle/period exponential moving average (Source: Close), Open a Market Buy at the next candle open (depending on timeframe for the chosen chart) with 2% of Account Size, Set Stop Loss to 20 Pips under entry, and a Take Profit at 70 pips above entry.

Take 50% profit (close half the position) at 30 pips above entry and move stop loss to entry position.

Leave remaining of the trade open until it hits stop loss or take profit, or if the 100 day and 50 day ema cross again, close position and take opposite position (if original position was a Market Buy, with 100 day ema under the 50 day ema, and now it crosses and 100 day is above 50 day, close position and open a sell position with the same parameters).


Also add a feature where I can split up the position entry into 2 different entries. So if the ema’s cross, I enter 75% of the risk % (defined by a different parameter), and then a certain amount of pips later, enter the remaining 25%. There would have to be 2 additional parameters/variables for this: the % split of the two entries, and at which price/pip change.


For example, (with a default risk of 2% per trade), if this new feature is set to 75%/25% and -10 pips, and there’s an buy triggered at 1.0020, the bot enters a buy position of 75% of 2% at 1.0020, then at 1.0010 (10 pip drawdown), it enters the remaining 25% of the 2% risk.


To clarify: Initial entry (based on ema crossings) is done on the following candle of the timeframe the ea is in, all other entrys or exits are done immediately.


Please make sure the following are variables:

Entry size is % of account size

Original stop loss position in pips

Original take profit position in pips

Additional take profit at 50 % is a variable with percentage and the position above/below entry can be adjusted in pips

Both EMA values in days

% of entry (regarding last paragraph)

Price/pip change for second additional entry (regarding last paragraph)


Note: I have added the indicator from tradingview that this strategy is based on. It can help understand parts of my explanation.


Files:

Responded

1
Developer 1
Rating
(39)
Projects
50
18%
Arbitration
6
33% / 50%
Overdue
0
Free
2
Developer 2
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
3
Developer 3
Rating
(19)
Projects
26
27%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
4
Developer 4
Rating
(457)
Projects
795
49%
Arbitration
71
17% / 54%
Overdue
139
17%
Free
5
Developer 5
Rating
(43)
Projects
54
50%
Arbitration
6
83% / 0%
Overdue
1
2%
Working
6
Developer 6
Rating
(279)
Projects
341
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
Published: 5 codes
7
Developer 7
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
8
Developer 8
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
9
Developer 9
Rating
(311)
Projects
557
35%
Arbitration
79
32% / 43%
Overdue
202
36%
Working
10
Developer 10
Rating
(161)
Projects
286
35%
Arbitration
18
22% / 61%
Overdue
42
15%
Working
11
Developer 11
Rating
(30)
Projects
34
50%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
13
Developer 13
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
14
Developer 14
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
Similar orders
I am looking for an experienced MQL5 developer to improve an existing forex EA, not build a completely new robot from zero. Important note: I use GPT to help me write because my English is limited. The wording may be assisted by GPT, but the trading issues, testing observations, and improvement goals are real from my side. I need a developer who is patient, understands strategy logic well, and can explain the
Fair Value Gap Expert , Optimize the core logic for live chart . [Filters are working] Lets ace the trailing stop . Change points to pip . Project will start from next week
I am looking to develop a highly optimized and fully modular script in MQL5 specifically for detecting RSI Divergences. This script will serve as a foundational building block to be integrated into a larger, comprehensive Expert Advisor (EA) later. Therefore, execution speed, strict logic, and a clean codebase are my absolute top priorities. Here are the core technical requirements for this project: 1. MQL5
I hope to acquire a profitable and existing expert advisor (EA) from the gold market, with complete source code, to add to our client portfolio. you can WECHAT: Faca7898 Please note EA when adding friends. It should be clarified that this does not require you to formulate or design new strategies. If you already have a verified, consistent, and production-ready EA, I am willing to purchase it immediately and engage
I’m looking for an experienced developer to help build a trading bot for Polymarket , focused on short-term crypto prediction markets (e.g. 5–15 minute intervals). The strategy is fully rule-based and operates on binary outcome markets (YES/NO shares). The bot should be able to: monitor live market prices and probabilities, execute trades based on predefined conditions, manage positions dynamically before market
Hola, estoy buscando un desarrollador MQL5 con experiencia real en trading algorítmico. Necesito un EA para XAUUSD con: Control de Drawdown filtro de mercado (tendencia vs rango) gestión de riesgo dinámica optimización para sesiones específicas Antes de avanzar quisiera saber: ¿Qué experiencia tienes con EAs en MT5? ¿Has trabajado con estrategias de oro (XAUUSD)? ¿Cómo gestionas el drawdown en un bot? ¿Puedes mostrar
There is a programming god without EA here. I want to find someone to make an EA to operate gold and silver. There is a model, but it can't run. So I want to find someone to make professional improvements to make my EA run. If you are interested, you can WECHAT: 15113958263. Please note EA when adding friends
Iam seeking for a good trade robot/indicator debugging developer to finalize and close profits for me,in both my exneas blocker and MT5,for expert advisor for trading both gold xausd and sliver xagusd,l really want a perfect robot that can herence and risk management principles,not to leave out am a beginner
Overview I am seeking a high-level MQL5 developer to develop and finalize a professional-grade MetaTrader 5 Expert Advisor (EA) for trading XAUUSD (Gold) . This is not a beginner project — the EA requires structured logic, efficient coding, and strict adherence to risk management principles. Strategy Summary The EA is based on a multi-indicator confluence system combining: Parabolic SAR → trend direction MACD →
Title: SEEKING: Proven SMC/Order Block EA for XAUUSD – Live Track Record Required (<5% Max DD) ​ Job/Request Description: I am looking to acquire or license a high-performance, fully automated Expert Advisor (EA) specifically optimized for XAUUSD (Gold) . The strategy must be strictly based on Smart Money Concepts (SMC) , utilizing Order Blocks, Liquidity sweeps, and Market Structure Shifts (MSS). ​ Technical

Project information

Budget
50+ USD
Deadline
to 3 day(s)