An Expert Advisor based on deviation from Moving Average needed

MQL5 Experts

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
Projects
1
0%
Arbitration
0
Overdue
1
100%
Working
2
Developer 2
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
3
Developer 3
Rating
(61)
Projects
89
28%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
4
Developer 4
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Free
5
Developer 5
Rating
(313)
Projects
559
35%
Arbitration
80
31% / 44%
Overdue
203
36%
Free
6
Developer 6
Rating
(104)
Projects
125
24%
Arbitration
23
26% / 52%
Overdue
8
6%
Working
7
Developer 7
Rating
(362)
Projects
435
54%
Arbitration
21
52% / 14%
Overdue
30
7%
Loaded
8
Developer 8
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
9
Developer 9
Rating
(23)
Projects
29
31%
Arbitration
0
Overdue
2
7%
Free
10
Developer 10
Rating
(1)
Projects
2
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(458)
Projects
796
49%
Arbitration
73
16% / 52%
Overdue
139
17%
Loaded
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(6)
Projects
5
0%
Arbitration
3
33% / 67%
Overdue
2
40%
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
(5)
Projects
9
11%
Arbitration
2
0% / 50%
Overdue
2
22%
Working
17
Developer 17
Rating
(74)
Projects
84
27%
Arbitration
8
13% / 63%
Overdue
4
5%
Free
18
Developer 18
Rating
(3)
Projects
5
20%
Arbitration
1
100% / 0%
Overdue
2
40%
Free
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
(19)
Projects
24
8%
Arbitration
9
33% / 33%
Overdue
1
4%
Loaded
21
Developer 21
Rating
(40)
Projects
43
58%
Arbitration
1
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
22
Developer 22
Rating
(640)
Projects
863
48%
Arbitration
29
38% / 17%
Overdue
63
7%
Working
23
Developer 23
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
(1)
Projects
3
33%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
26
Developer 26
Rating
(197)
Projects
253
20%
Arbitration
22
50% / 18%
Overdue
0
Loaded
27
Developer 27
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Published: 1 article
28
Developer 28
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
(46)
Projects
53
32%
Arbitration
15
20% / 60%
Overdue
1
2%
Loaded
30
Developer 30
Rating
(242)
Projects
285
77%
Arbitration
12
75% / 0%
Overdue
4
1%
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
477
40%
Arbitration
105
40% / 24%
Overdue
81
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
(24)
Projects
31
19%
Arbitration
4
50% / 25%
Overdue
4
13%
Free
36
Developer 36
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I have Source Code.. the Drawdown section is not working as it should. For example, "Maximum Drawdown of 5% is giving me 50% equity drawdowns. There's either a problem with the code, or its looking for drawdown of balance instead of Equity. I'd like a programmer to add drawdown and show it works for Equity before it's sent back. Nothing crazy
Dear developers. We seek experienced developer in PHP, MySQL, JavaScript. we want to publish custom chart and CSV to our website Homepage. Our MQL5 Script contains custom layout we seek to publish on the website. we are looking for experienced developer in the field of website engineer. we want to broadcast our custom pairs in our website, as outlined in our MQL5 Script. we need React developers
Need a Profitable with a good trading system or strategy. would test the product first Looking for a professional MT5 Expert Advisor based on smart strategies. The EA should include session filters, risk management, trailing stop, multi-pair support, and low drawdown protection. I need a consistent, high-probability automated trading system optimized for long-term profitability and funded account compliance
I need an experienced MT4/MT5 user or MQL4/MQL5 developer to test the MT4/MT5 sender EA used by Signalator Notify . The EA does not open trades, does not provide trading signals, and does not decide when to buy or sell. Its role is to run inside MT4/MT5 and report terminal status and trade-related events, so the purpose of this job is to check whether that monitoring workflow works correctly in a real terminal
Junior EA 30+ USD
1. EA for MT5, hedging allowed. 2. Entry: 50 EMA crosses 200 EMA on H1. Buy on bullish cross, sell on bearish. 3. SL: 100 pips, TP: 200 pips. No trailing stop. 4. Lot size: 0.01 fixed. Max 3 trades at once. 5. Trade only 08:00-18:00 GMT. No trades if spread > 20 points. 6. Inputs: EMA periods, SL, TP, lot size, start/end time
I am looking for a highly skilled and honest MQL4 developer to optimize and improve my existing MT4 Expert Advisor called Blue System . The EA already performs very well on both demo and live accounts, but the live results are still not matching the profitability achieved during demo testing and backtesting. The strategy currently uses a trailing stop system, and I need an expert who truly understands live market
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

Project information

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

Customer

Placed orders1
Arbitrage count0