An Expert Advisor based on deviation from Moving Average needed

MQL5 Asesores Expertos

Tarea técnica

Hello! I need an fully automated Expert Advisor for Meta Trader 5 that opens series of trades based on deviation from MA. Instruments: Forex pairs, metals, indices, oil. All time frames. Entry/Exit Logic: First trade triggers when price deviates from Moving Average for a preset number of pips and lot size. Trade closes when price returns and hits MA. If price goes further second trade opens with manually preset lot size and distance from the previous trade and so on. All trades close when price returns to MA. No SL for trades. All trades should be closed if account balance hits a certain percentage of Daily Drawdown.

*********************************************************

1. General Information

Trading platform: Meta Trader 5 (MT5)

Trading Instruments: All currency pairs (if not all, at least major), Gold, Silver, Oil Brent, Oil WTI, Indices: German DAX 40, Japanese NIKKEI JP225, US Dow Jones Industrial Average, UK FTSE100, Standard and Poor's 500, Australian All ordinaries ASX200, NASDAQ.

Chart: All timeframes (M1, M2, M3, M5, M10, M15, M30, M45, H1, H2, H4, Day)

2. Strategy and Entry/Exit Logic

Technical Indicator: Moving Average (all settings are as in MT5 i.e. Period, Shift, Method (Simple, Exponential, Smoothed, Linear Weighted), Apply to (Close, Open, High, Low, Median Price HL/2, Typical Price HLC/3, Weighted Close HLCC/4).

Entry Conditions: Trade opens when the price deviates from preset Moving Average to any direction for a preset number of pips and preset lot size. If price goes up from MA SELL trade opens backwards toward MA. If price goes down from MA BUY trade opens towards MA. Trade closes when price hits MA. If price doesn't return to MA second trade opens the same direction as the first trade. There should be maximum 7 trades. For each next trade distance from the PREVIOUS trade in pips and lot size are set manualy. No pending orders, only market execution.

Exit Conditions: No Stop Loss for any trade. Three options to close trades: i) Preset number of pips for each trade; ii) Close all trades when price returns to MA; iii) Close all trades when profit reaches xx% of the Balance.

Time Filter/Restrictions: EA should refer to a calendar (For instance, to forexfactory.com calendar) to avoid high impact news. Time interval to be discussed. There should be an additional option to select three time intervals to exclude sessions. Time refers to MT5 platform time.

3. Trades and Position Sizing.

Lot Size: from 0.01 to 10.0 lots. Lot sizes are set manually for each trade.

Distance from MA: Distance for a first trade is set as a "Distance from MA", distance for a second trade is set as a "Distance from the first trade". Distance for a third trade is set as a "Distance from the second trade" and so on. Maximum number of trades is seven.

4. Risk Management: No Stop Loss to any trade is set. There shoulld be three options to close trades: i) when the price returns and hits MA; ii) preset number of pips for each trade; iii) when the total profit of all trades reaches certain percentage (preset manually) of Account Balance. Last option is "Close all trades when the loss reaches certain percentage of Daily Drawdown (preset manually). If certain percentage of Drawdown is reached, no more trades that day.

5. Technical and MQL5 Specifics.

Use Magic Number for EA. (Can I open 2-3 charts of the same instrument, same timeframe but different settings? On one chart more aggressive trading with shorter distances, on the second chart larger distances for a more conservative trades).

Slippage and Spread: No trades if Spread exceeds xxx pips.

6. Testing and Optimization.

Backtesting Period: up to 5 years. Optimization Criteria: Lowest Drawdown, Highest profit. (Something else?) 

7. Additional Requirements.

a) There should be an option to turn on bands on both sides of MA. Colour, thickness and line type (line, dotted line). Bands should be strictly parallel to MA, not expanding or contracting like Bollinger bands. Distance from MA for bands should be set manually in pips.

b) If I interfere in EA work and close trades manually EA should not open new trades at a current price to replace closed trades.

c) Signal Lifetime: No restrictions. Trades are closed at Take profit (see Section 4) or at a certain maximum DailyDrawdown or manually by me.

d) I should receive all .ex5, .mq5, .set files for this EA and open MQL5 script.

Han respondido

1
Desarrollador 1
Evaluación
Proyectos
1
0%
Arbitraje
0
Caducado
1
100%
Trabaja
2
Desarrollador 2
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(61)
Proyectos
89
28%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
4
Desarrollador 4
Evaluación
(8)
Proyectos
8
0%
Arbitraje
2
50% / 0%
Caducado
1
13%
Libre
5
Desarrollador 5
Evaluación
(313)
Proyectos
559
35%
Arbitraje
80
31% / 44%
Caducado
203
36%
Libre
6
Desarrollador 6
Evaluación
(104)
Proyectos
125
24%
Arbitraje
23
26% / 52%
Caducado
8
6%
Trabaja
7
Desarrollador 7
Evaluación
(362)
Proyectos
435
54%
Arbitraje
21
52% / 14%
Caducado
30
7%
Trabajando
8
Desarrollador 8
Evaluación
(32)
Proyectos
35
34%
Arbitraje
5
0% / 80%
Caducado
0
Trabaja
Ha publicado: 2 ejemplos
9
Desarrollador 9
Evaluación
(22)
Proyectos
28
29%
Arbitraje
0
Caducado
2
7%
Trabaja
10
Desarrollador 10
Evaluación
(1)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(458)
Proyectos
796
49%
Arbitraje
73
16% / 52%
Caducado
139
17%
Trabajando
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(6)
Proyectos
5
0%
Arbitraje
3
33% / 67%
Caducado
2
40%
Libre
14
Desarrollador 14
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
16
Desarrollador 16
Evaluación
(5)
Proyectos
9
11%
Arbitraje
2
0% / 50%
Caducado
2
22%
Trabaja
17
Desarrollador 17
Evaluación
(74)
Proyectos
84
27%
Arbitraje
8
13% / 63%
Caducado
4
5%
Libre
18
Desarrollador 18
Evaluación
(3)
Proyectos
5
20%
Arbitraje
1
100% / 0%
Caducado
2
40%
Libre
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(19)
Proyectos
24
8%
Arbitraje
9
33% / 33%
Caducado
1
4%
Trabajando
21
Desarrollador 21
Evaluación
(40)
Proyectos
43
58%
Arbitraje
1
100% / 0%
Caducado
1
2%
Libre
Ha publicado: 5 ejemplos
22
Desarrollador 22
Evaluación
(640)
Proyectos
863
48%
Arbitraje
29
38% / 17%
Caducado
63
7%
Trabaja
23
Desarrollador 23
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
24
Desarrollador 24
Evaluación
(1)
Proyectos
3
33%
Arbitraje
0
Caducado
0
Libre
25
Desarrollador 25
Evaluación
(45)
Proyectos
91
13%
Arbitraje
34
26% / 59%
Caducado
37
41%
Libre
26
Desarrollador 26
Evaluación
(196)
Proyectos
253
20%
Arbitraje
22
50% / 18%
Caducado
0
Trabajando
27
Desarrollador 27
Evaluación
(1)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
Ha publicado: 1 artículo
28
Desarrollador 28
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
29
Desarrollador 29
Evaluación
(46)
Proyectos
53
32%
Arbitraje
15
20% / 60%
Caducado
1
2%
Trabajando
30
Desarrollador 30
Evaluación
(242)
Proyectos
285
77%
Arbitraje
12
75% / 0%
Caducado
4
1%
Trabaja
31
Desarrollador 31
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
32
Desarrollador 32
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
33
Desarrollador 33
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
34
Desarrollador 34
Evaluación
(16)
Proyectos
20
0%
Arbitraje
10
0% / 80%
Caducado
6
30%
Libre
Solicitudes similares
I am searching professional strategy, not grid, not martingale, controlled risk, Please don't waste my time if you havent got nothing valueable to show, in first message please describe this strategy, if you will not do this, I will move you to rejected, Budget is negotiable
I am searching professional strategy, not grid, not martingale, controlled risk, Please don't waste my time if you havent got nothing valueable to show, in first message please describe this strategy, if you will not do this, I will move you to rejected, Budget is negotiable
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
cannot be opened/closed during the first attempt. How should the EA handle such a situation: should it make a pause or wait for a new tick? How many attempts are allowed? What information should be written to logs? In what format should information be written? Should a notification be sent to a trader? How often should messages be sent to avoid DDoS attack situations? Use comments to trading orders for quick analysis
There is a Pine Script with closed source code that I want to use on TradingView. I would like to have an exact replica of it created. I have the link and can share it with you if you're interested. Is this something you can do
I need a fully automated Expert Advisor (EA) for MetaTrader 4 or MetaTrader 5. Strategy Overview: Trading Instrument: User adjustable (input parameter). Default can be EUR/USD. Trade Time: Every day at exactly 11:00 AM (broker server time) . Position Size: Fixed lot size (NOT percentage-based). Default = 0.01 lot. This must be an adjustable input parameter . Trading Rules (Step by Step): Day 1 (Initial Trade)
Trading Strategy Specification 🟢 Buy Setup Conditions: Trend Identification: The overall trend must be Bullish (Upward). (Note for the programmer: Define the bullish trend using higher highs/higher lows structure or a specific Moving Average). Fibonacci Retracement: The price must correct downwards to touch or test the 61.8% Fibonacci level , drawn from the most recent swing low to the swing high. Entry
Hey I need help with the development of my ea. I am using a built in indicator and a custom indicator. It shouldn't take too long. I will tell you the conditions and then I just need some help with the coding but I have some experience. Thanks we can chat on whatsap or telegram
I need an experienced MQL5 developer to build a semi automated trading signal system for Gold (XAUUSD) on MT5. The system is NOT a martingale or grid EA. The goal is to build a clean rule based signal engine that detects high probability setups based on predefined strategy rules and sends trading alerts with optional pending order logic. Main Requirements: 1. Signal Generation - Buy and Sell signals - Buy Limit - Buy
Mambo 30+ USD
I need a bot that can trade weltrade synthetic indices that can be consistently making profits if you have one for deriv its also fine a bot that executes and closes trades automat Will be ideal

Información sobre el proyecto

Presupuesto
30 - 50 USD
Plazo límite de ejecución
de 1 a 15 día(s)

Cliente

Encargos realizados1
Número de arbitrajes0