An Expert Advisor based on deviation from Moving Average needed

MQL5 Experts

Job finished

Execution time 30 days

Specification

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.

Responded

1
Developer 1
Rating
(1)
Projects
2
0%
Arbitration
0
Overdue
1
50%
Working
2
Developer 2
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
3
Developer 3
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
4
Developer 4
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
5
Developer 5
Rating
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
6
Developer 6
Rating
(106)
Projects
129
25%
Arbitration
25
28% / 56%
Overdue
8
6%
Free
7
Developer 7
Rating
(370)
Projects
460
55%
Arbitration
24
58% / 17%
Overdue
31
7%
Working
8
Developer 8
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
9
Developer 9
Rating
(29)
Projects
36
39%
Arbitration
0
Overdue
2
6%
Free
10
Developer 10
Rating
(1)
Projects
2
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(465)
Projects
815
49%
Arbitration
76
21% / 50%
Overdue
142
17%
Loaded
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(10)
Projects
17
18%
Arbitration
2
0% / 50%
Overdue
3
18%
Loaded
17
Developer 17
Rating
(83)
Projects
99
33%
Arbitration
9
22% / 56%
Overdue
5
5%
Working
18
Developer 18
Rating
(6)
Projects
8
38%
Arbitration
2
50% / 50%
Overdue
2
25%
Free
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
21
Developer 21
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
22
Developer 22
Rating
(648)
Projects
876
48%
Arbitration
29
38% / 17%
Overdue
63
7%
Free
23
Developer 23
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
24
Developer 24
Rating
(4)
Projects
7
57%
Arbitration
1
100% / 0%
Overdue
0
Free
25
Developer 25
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
26
Developer 26
Rating
(215)
Projects
282
21%
Arbitration
28
57% / 14%
Overdue
0
Working
27
Developer 27
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Published: 3 articles
28
Developer 28
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
(55)
Projects
68
43%
Arbitration
15
27% / 60%
Overdue
1
1%
Working
30
Developer 30
Rating
(265)
Projects
313
75%
Arbitration
16
75% / 0%
Overdue
6
2%
Working
31
Developer 31
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
32
Developer 32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
33
Developer 33
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
34
Developer 34
Rating
(16)
Projects
20
0%
Arbitration
10
0% / 80%
Overdue
6
30%
Free
35
Developer 35
Rating
(25)
Projects
33
18%
Arbitration
6
50% / 33%
Overdue
4
12%
Free
36
Developer 36
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Phixfx 30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement ​1. Project Overview & Objective ​I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. ​The primary goals of this project are: ​Debug existing logic
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
HFT EA 70+ USD
I need an experienced MQL5 developer to build a High-Frequency Trading (HFT) EA for MT5 , designed to generate high returns from small capital through fast scalping. Important: Attached videos must be watched and analyzed before applying. The EA should follow the trading concepts demonstrated in the videos, with proper risk management and optimized execution. https://vt.tiktok.com/ZSgp9jsFM/
I’m looking for an experienced MQL4/MQL5 developer with proven expertise in genuine high-frequency trading (HFT) or ultra-fast scalping Expert Advisors. Project requirements: Develop MT5 versions with complete source code and no restrictive licensing. Implement fast execution, selective entries, and rapid trade exits. Support XAUUSD Include robust risk controls: stop-loss, drawdown limits, spread/slippage filters
I am commissioning the development and reverse-engineering of a commercial-grade, multi-strategy quantitative trading portfolio modeled on proven institutional frameworks (Reference methodology: https://whop.com/the-agent-algo/products/ ). The goal is to develop a standalone, fully owned commercial trading system covering Nasdaq (NQ) and Gold (XAUUSD) with an integrated licensing engine ready for commercial
Hello, I already have an MT5 Expert Advisor for XAUUSD based on Fibonacci, market structure, BOS/CHoCH and swing trading. I need an experienced MQL5 developer to modify my existing EA, not develop a completely new one. Required modifications: Partial take-profit system with multiple TP levels. Keep profit targets conservative, using Fibonacci extension levels. Stop-loss placement beyond liquidity areas, not exactly
Exir AI 30 - 200 USD
I need an experienced MQL5 developer to build a custom AI-assisted Expert Advisor (EA) for MetaTrader 5. The EA will run on a live MT5 account with Tickmill and must support Forex and Crypto CFDs. Required instruments: - EURUSD - GBPUSD - USDJPY - XAUUSD - BTCUSD - ETHUSD Required timeframes: - M5, M15, and M30 Trading logic: - M30 determines the overall trend. - M15 identifies entry zones, support/resistance, and
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
I am a serious buyer looking to acquire an existing, stable, and consistently profitable Expert Advisor (EA) specifically designed primarily for Gold (XAUUSD). This is an outright purchase. I am not interested in developing a new EA from scratch. I am only interested in ready-to-use systems with a genuine, verifiable track record of performance. ✅ EA Requirements Mandatory Demo Testing on DuraMarket Testing on a

Project information

Budget
30 - 50 USD
Deadline
from 1 to 15 day(s)