Simple EA based on 2 Moving Average Crosses

Spécifications

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.


Dossiers :

Répondu

1
Développeur 1
Évaluation
(39)
Projets
50
18%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(390)
Projets
416
30%
Arbitrage
74
19% / 72%
En retard
52
13%
Travail
3
Développeur 3
Évaluation
(19)
Projets
26
27%
Arbitrage
3
0% / 100%
En retard
2
8%
Gratuit
4
Développeur 4
Évaluation
(457)
Projets
795
49%
Arbitrage
71
17% / 54%
En retard
139
17%
Gratuit
5
Développeur 5
Évaluation
(43)
Projets
54
50%
Arbitrage
6
83% / 0%
En retard
1
2%
Travail
6
Développeur 6
Évaluation
(279)
Projets
341
37%
Arbitrage
6
50% / 17%
En retard
7
2%
Gratuit
Publié : 5 codes
7
Développeur 7
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
8
Développeur 8
Évaluation
(64)
Projets
83
28%
Arbitrage
9
33% / 56%
En retard
9
11%
Gratuit
Publié : 1 code
9
Développeur 9
Évaluation
(311)
Projets
557
35%
Arbitrage
79
32% / 43%
En retard
202
36%
Travail
10
Développeur 10
Évaluation
(161)
Projets
286
35%
Arbitrage
18
22% / 61%
En retard
42
15%
Travail
11
Développeur 11
Évaluation
(30)
Projets
34
50%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(298)
Projets
427
26%
Arbitrage
18
61% / 33%
En retard
26
6%
Gratuit
Publié : 8 codes
13
Développeur 13
Évaluation
(568)
Projets
641
41%
Arbitrage
25
48% / 36%
En retard
46
7%
Travail
14
Développeur 14
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
16
Développeur 16
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
Commandes similaires
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

Informations sur le projet

Budget
50+ USD
Délais
à 3 jour(s)