EMA Crossover Strategy

MQL5 Experts Scripts

Termos de Referência

Hi.

I have currently written the basis of a simple EMA cross strategy using TradingView Pine script, however it needs work, and I'd like it to be done on MLQ5 for use on metatrader.


The criteria is as follows:


Based on 1H timeframe

Uses 55 and 110 ema's


Entry Criteria

Short: 55 ema cross over 110 ema

Long: 110 ema cross over 55 ema


Exit Criteria

Short TP: -0.4% price difference from entry

Short SL: +0.4% price difference from entry

Short Alt Exit: If Long is signalled


Long TP: +0.4% price difference from entry

Long SL: -0.4% price difference from entry

Long Alt Exit: If Short is signalled


Risk Parameters

2% risk on every trade

No Pyramiding, ie. only 1 open trade for any one currency pair at a time.

Optional trailing stop?


Instruments & Directions

I want to be ably to apply the code on specified pairs in specified directions based on previous backtesting. For example, below are the profitable combinations for 2019, so I'd like to be able to do a similar thing but on a larger backtesting period to maximise profitability.


AUDCAD - Short Only

AUDCHF - Short Only

AUDJPY - Long & Short

AUDNZD - Short Only

CADJPY - Long & Short

CHFJPY - Short Only

EURAUD - Short Only

EURCHF - Short Only

EURGBP - Long & Short

EURJPY - Short Only

EURNZD - Long Only

EURUSD - Long & Short

GBPAUD - Short Only

GBPCAD - Short Only

GBPCHF - Long & Short

GBPJPY - Long & Short

GBPNZD - Short Only

GBPUSD - Short Only

NZDCAD - Long & Short

NZDCHF - Short Only

NZDJPY - Long & Short

NZDUSD - Long & Short

USDCHF - Long & Short

USDJPY - Long Only

XAUUSD - Long Only

USOIL - Long Only

US30 - Short Only

Respondido

1
Desenvolvedor 1
Classificação
(590)
Projetos
789
71%
Arbitragem
9
33% / 33%
Expirado
22
3%
Livre
Publicou: 8 códigos
2
Desenvolvedor 2
Classificação
(19)
Projetos
24
17%
Arbitragem
7
0% / 71%
Expirado
3
13%
Livre
Publicou: 2 artigos, 4 códigos
3
Desenvolvedor 3
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
4
Desenvolvedor 4
Classificação
(119)
Projetos
127
41%
Arbitragem
3
33% / 67%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(28)
Projetos
30
63%
Arbitragem
0
Expirado
4
13%
Livre
Publicou: 1 código
6
Desenvolvedor 6
Classificação
(94)
Projetos
148
59%
Arbitragem
16
38% / 13%
Expirado
25
17%
Livre
Publicou: 1 código
7
Desenvolvedor 7
Classificação
(45)
Projetos
91
13%
Arbitragem
34
26% / 59%
Expirado
37
41%
Livre
8
Desenvolvedor 8
Classificação
(55)
Projetos
92
24%
Arbitragem
8
75% / 13%
Expirado
44
48%
Livre
9
Desenvolvedor 9
Classificação
(512)
Projetos
551
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
10
Desenvolvedor 10
Classificação
(349)
Projetos
463
51%
Arbitragem
41
24% / 49%
Expirado
149
32%
Livre
11
Desenvolvedor 11
Classificação
(1931)
Projetos
3552
88%
Arbitragem
73
40% / 15%
Expirado
268
8%
Livre
12
Desenvolvedor 12
Classificação
(29)
Projetos
49
22%
Arbitragem
14
29% / 21%
Expirado
13
27%
Livre
13
Desenvolvedor 13
Classificação
(96)
Projetos
143
76%
Arbitragem
0
Expirado
2
1%
Livre
14
Desenvolvedor 14
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
15
Desenvolvedor 15
Classificação
(3)
Projetos
2
0%
Arbitragem
7
0% / 86%
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(564)
Projetos
844
73%
Arbitragem
15
53% / 13%
Expirado
193
23%
Trabalhando
17
Desenvolvedor 17
Classificação
(298)
Projetos
477
40%
Arbitragem
105
40% / 24%
Expirado
81
17%
Carregado
Publicou: 2 códigos
18
Desenvolvedor 18
Classificação
(135)
Projetos
163
40%
Arbitragem
11
27% / 73%
Expirado
24
15%
Livre
19
Desenvolvedor 19
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
(8)
Projetos
13
85%
Arbitragem
1
0% / 100%
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
23
Desenvolvedor 23
Classificação
(1)
Projetos
1
0%
Arbitragem
2
0% / 100%
Expirado
0
Livre
Pedidos semelhantes
AI Stategy: 1.Trend identify by MA(perid 21,50, 100 customiseable) If Market above MA treated up trend If Market down MA trated down trend Above pictue shown as example Entry for uptrend buy & down trend sell Conditions for Sell entry with down trend Condition 1:Previous candle H1time bearish candle must Condition 2: 2 or more bulish candle then 1 bearish candle with 5 minit time frame ABOVE PICTURE SHOWN
Automatically placed at the swing high or swing low of the last 3 closed candles. Take Profit Calculation: Automatically calculated at a fixed 1:2 Risk-to-Reward ratio based on the Stop Loss distance. Spread Filter: The bot must check that the current spread is below Max_Spread_Pips before entry. PART 4: TIME FILTERING & AUTOMATION The bot must stop opening new entries on Friday afternoon. At Friday_AutoClose_Time
# H4 Zone Retest EA (MQL5) An automated trading Expert Advisor (EA) for MetaTrader 5, developed in MQL5. The EA trades gold (XAUUSD) using a multi-timeframe breakout and retest strategy: it defines the first H4 candle of each day as a trading zone, detects breakouts on the M5 chart, waits for a retest, and executes trades with risk management, trailing stops, and optional news filtering. --- ## Features - H4 → M5
so copy trading system Create an EA-based copy trading system in English. It should support copying trades between accounts reliably and in real time. The system should include essential broker-side functions such as market orders, stop orders, limit orders, limit offset, SL/TP handling, order modification, and cancellation . The code should be clean, simplified, and production-ready
🔍 Strategy Logic 📌 Indicators Used 21 EMA RSI (Upper Level: 61, Lower Level: 39 – Customizable) 📈 Buy Side Setup (Long Entry) Step 1 – Trend Confirmation A Green candle must close above 21 EMA. Step 2 – Pattern Formation After the green candle, observe next 4 candles. At least one Red candle must form (opposite candle). That Red candle must also close above EMA. Step 3 – Key Level Marking Mark the High of the Red
Dear Developer, I am looking to hire an experienced Meta Trader4 and 5 (MQL5) Expert Advisor developer to build a custom Expert Advisor for XAUUSD (Gold). This project is based on a structured swing trading system using market structure analysis and multi-timeframe confirmation. PROJECT OVERVIEW The Expert Advisor must be designed to trade XAUUSD using the following multi-timeframe approach: • Daily (D1): Optional
Requirements Specification: Custom Trading Robot (Expert Advisor) I am looking for a qualified developer to design and build a fully automated trading robot (Expert Advisor). The system should be reliable, beginner-friendly, and capable of running with minimal manual input once installed. 1. General Purpose The robot should automatically analyze the market and execute trades. It must work on MetaTrader 4 or
Hi, I need a professional MetaTrader 5 Expert Advisor (Pure MQL5, no Python) with a built-in GUI panel and ultra-fast OnTick execution. The strategy is based only on the last two digits after the decimal point and must work in real time with high accuracy. ### Main Requirements * Pure MQL5 Expert Advisor. * Real-time OnTick processing. * Support XAUUSD and any MT5 symbol. * No fixed price levels; price must be
I am looking for an experienced MQL5 developer to build a robust, high performance Expert advisor (EA) designed specifically for passing and managing funded accounts.The primary focus is to make some good money and also focus on risk management, consistent equity growth
Expert Advisor (EA) Requirements – MT5 (MQL5) Project Overview Develop an automated Expert Advisor (EA) for MetaTrader 5 based on EMA crossover signals combined with strict risk management and trade management principles. The EA must be optimized for Forex pairs and indices and should operate automatically without manual intervention. Entry Conditions Buy Setup Fast EMA crosses above Slow EMA. Current candle closes

Informações sobre o projeto

Orçamento
50 - 200 USD
Prazo
para 14 dias