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
571
35%
Arbitration
83
31% / 45%
Overdue
206
36%
Free
6
Developer 6
Rating
(106)
Projects
129
25%
Arbitration
25
28% / 56%
Overdue
8
6%
Free
7
Developer 7
Rating
(369)
Projects
453
55%
Arbitration
24
54% / 17%
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
(28)
Projects
34
35%
Arbitration
0
Overdue
2
6%
Working
10
Developer 10
Rating
(1)
Projects
2
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(465)
Projects
815
49%
Arbitration
75
21% / 51%
Overdue
142
17%
Free
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
(9)
Projects
16
19%
Arbitration
2
0% / 50%
Overdue
3
19%
Loaded
17
Developer 17
Rating
(83)
Projects
95
32%
Arbitration
9
22% / 56%
Overdue
5
5%
Working
18
Developer 18
Rating
(6)
Projects
8
38%
Arbitration
1
100% / 0%
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
(645)
Projects
873
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
(211)
Projects
274
21%
Arbitration
24
54% / 17%
Overdue
0
Free
27
Developer 27
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Published: 2 articles
28
Developer 28
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
(52)
Projects
64
39%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
30
Developer 30
Rating
(260)
Projects
305
76%
Arbitration
13
77% / 0%
Overdue
5
2%
Loaded
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
I need EA Lil-MeProBot for MT5. Phone user, deliver .mq5 + .ex5. Symbols: XAUUSD EURUSD GBPUSD USDJPY BTCUSD, M15, Magic 777001 Strategy 6X Confluence score 4/6: 1. EMA 50/200 trend 2. Break of Structure 3. RSI 14 4. Strong body FVG/Order Block 5. Session 8am-9pm GMT+2 6. ATR filter Money Management LASTING: Lot 0.01 fixed, NO martingale, NO grid, Max 1 per symbol Max 2 total, SL ATR*2 TP ATR*3, Daily loss R40 stop
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
I am looking for an experienced MQL5 Expert Advisor (EA) developer to analyze an existing trading setup and develop a similar automated trading robot. Project Overview I have access to a demo trading account where trades are being executed automatically. The trading results look very promising, but I do not know exactly what strategy, logic, indicators, or trade-management rules are being used. I will provide access
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Modification of existing ea …. Add ema filter, add risk percentage per trade, and modify the pips per day filter. I already have the ea code I just need these things added and modifified
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
MQL5 Developer 30+ USD
📄 وثيقة المواصفات الفنية لروبوت التداول (MQL5 EA Specification) 📌 1. ملخص المشروع والهدف * اسم المشروع: Gold Cent Grid-Hedge EA * المنصة: MetaTrader 5 (MQL5) * أداة التداول: الذهب (XAUUSD) * نوع الحساب: حساب سنت (Cent Account) * فكرة الاستراتيجية: تداول شبكة هيدج متوازنة (Grid-Hedging) تفتح صفقات تعزيز كل مسافة محددة، وتغلق الطرف الأكثر ربحاً عند تحقيق هدف مالّي مجمع بالدولار/السنت لإعادة هيكلة التوازن. ⚙️ 2
I need a developer who also understands trading. I have a Telegram copy-trading bot that reads signals from a Telegram channel via a Python script and converts them into trading orders. I want to create a program that analyzes Gold (XAUUSD) charts specifically and sends signals in this exact format: #XAUUSD BUY 4324-4321 TP 4327 TP 4330 TP 4334 TP 4339 TP 4344 TP 4354 TP 4364 SL 4311 If the # symbol is missing at the

Project information

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