An MT5 Expert based on Stop orders - Long direction only

MQL5 Эксперты C++

Работа завершена

Время выполнения 2 дня
Отзыв от заказчика
Excellent programming skills, ability to find solutions and very prompt.
Отзыв от исполнителя
Good and honest employer. Thanks 😊

Техническое задание

Will need the Expert Advisor (EA) source code in MQL5 (runs Metatrader 5) for the below description. It is only for long-direction. Will need it to be tested to make sure the code running on Forex pairs without any issues or errors, and that it follows the logic described in each input. If there are any questions please text me anytime to make this experience as good as possible!  

The below text in Bolt font are the inputs needed. A 

Assumption: The trading accounts equity is $500 

Inputs for Long Direction: the numbers used in the inputs below are examples and are applied on other inputs to make the logic clearer and for calculations purposes  

Distance to place buy stop order(s) from current bid-price in points: i.e 100 points (10 pips 

Explanation: Once the EA is loaded, the first buy stop order is automatically submitted at a distance of i.e 100 points from the market price (bid price). If the EA is then disabled, the metatrader user will have to remove the order manually. 

Number of times to repeat the above buy stop order: i.e 

Explanation: So if first order is filled, then the strategy adds a second buy stop order that is 100 points above the market price (bid price). This process repeats up to 4 times in this example) 

Stoploss: i.e. 150 points (fixed distance)  

Explanation: The stoploss is automatically inputted when the order is filled and is at a fixed distance of i.e 150 points below the current market price (bid price) 

TrailingStop amendment move: i.e. 130 points  

Explanation: when the buy stop order is filled due to market moving higher, then if the market price rises higher by another i.e 130 points from long entry price, then the TrailingStop moves according to below input. Once it rises, the market price then needs to move higher by another 130 points so that the TrailingStop moves higher for a second time, and then another 130 points e.t.c) 

TrailingStop’s new Stoploss distance from current price: i.e. 70 points 

Explanation: When the TrailingStop of an existing long position is to be amended due to the market moving higher by i.e 130 points (according to the input above this one), then the TrailingStop’s new Stoploss is to be 70 points below the market price (bid price) at the time the amendment is made. This fixed distance of 70 points repeats for all TrailingStop amendments following the 130 points moves. 

Risk per each trade applied to current equity balance (used to calculate position size per trade): i.e 1%  

Explanation: 1% is $500 of equity in the account, so the risk is $5 per trade and since the Stoploss is set to be 150pts, then the position size is automatically calculated to be $5/150 = 0.03 rounded to nearest second decimal. 

Additional inputs: 

Price level: 

Place order only if current-bid price is below this price level: i.e 1.11235  

Explanation: if the market price is above this price, no buy stop-order is placed, can still enter manually and stoploss/trailstop can still operate on the manual entry, any positions from this EA that are open remain open). Also we need to add the option to close all positions and open buy stop orders if this input occurs 

Place order only if current-bid price is above this price level: i.e 1.11000 (if the market price is below this price, no buy stop-order is placed, any positions from this EA that are open remain open). Also we need to add the option to close all positions and open buy stop orders if this input occurs 

Equity rule: 

Current account’s equity must be below this level: i.e. $650  

Explanation: if the account’s equity rises from say $500 to $650 then no more buy stop orders to be placed, stop/trailing stops still active). Also we need to add the option to close all positions and open buy stop orders if this input occurs 

Current account’s equity must be above this level: i.e. $400  

Explanation: if the account’s equity drops from say $500 to $400 then no more buy stop orders to be placed, stop/trailing stops still active). Also we need to add the option to close all positions and open buy stop orders if this input occurs 

There are a few more additions that will be added on the formal requirements specification file. Only the selected developer will be able to see that.

Откликнулись

1
Разработчик 1
Оценка
(618)
Проекты
1428
59%
Арбитраж
31
81% / 0%
Просрочено
10
1%
Свободен
2
Разработчик 2
Оценка
(152)
Проекты
228
80%
Арбитраж
22
27% / 50%
Просрочено
11
5%
Свободен
Опубликовал: 24 статьи, 1882 примера
3
Разработчик 3
Оценка
(298)
Проекты
427
26%
Арбитраж
18
61% / 33%
Просрочено
26
6%
Свободен
Опубликовал: 8 примеров
4
Разработчик 4
Оценка
(7)
Проекты
14
21%
Арбитраж
1
0% / 100%
Просрочено
3
21%
Свободен
5
Разработчик 5
Оценка
(1)
Проекты
2
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
6
Разработчик 6
Оценка
(2630)
Проекты
3345
67%
Арбитраж
77
48% / 14%
Просрочено
342
10%
Свободен
Опубликовал: 1 пример
7
Разработчик 7
Оценка
(19)
Проекты
33
55%
Арбитраж
5
80% / 20%
Просрочено
3
9%
Свободен
8
Разработчик 8
Оценка
(249)
Проекты
255
30%
Арбитраж
0
Просрочено
3
1%
Свободен
Опубликовал: 2 примера
9
Разработчик 9
Оценка
(542)
Проекты
624
33%
Арбитраж
39
36% / 49%
Просрочено
11
2%
Занят
10
Разработчик 10
Оценка
(295)
Проекты
472
40%
Арбитраж
102
40% / 24%
Просрочено
78
17%
Занят
Опубликовал: 2 примера
11
Разработчик 11
Оценка
(116)
Проекты
137
36%
Арбитраж
16
13% / 69%
Просрочено
9
7%
Свободен
12
Разработчик 12
Оценка
(2298)
Проекты
2893
63%
Арбитраж
122
44% / 25%
Просрочено
429
15%
Свободен
13
Разработчик 13
Оценка
(69)
Проекты
146
34%
Арбитраж
13
8% / 62%
Просрочено
26
18%
Свободен
Опубликовал: 6 примеров
Похожие заказы
I am looking for a professional developer to build a custom trading analysis software for me. This tool is NOT an automated trading bot (EA); it is an analysis dashboard to help me identify high-probability setups based on my strategy. Key Requirements: Multi-Timeframe Analysis: The software should scan 4 different timeframes (M15, M30, H1, H4, D1, WK1, MTH1) and alert me when my conditions are met. Indicator
Core Requirements: Two selectable timeframes - dropdown inputs to choose from M1, M5, M15, H1, H4, D1, W1, MN1 Timeframe 1 = Chart's own timeframe (if chart is M5, TF1 should be M5) Timeframe 2 = Higher timeframe for confluence All Ichimoku components displayed for both timeframes: Tenkan-sen Kijun-sen Senkou Span A Senkou Span B Chikou Span Cloud (bullish and bearish) Technical Settings: All buffers accessible for
Hello everyone, I am looking for a highly experienced MQL5 developer to build a fully automated Expert Advisor (EA) based strictly on Smart Money Concepts (SMC) 🔍 Core Strategy Requirements (SMC Only) The EA must be based on Advanced Smart Money Concepts , including: ✅ Market Structure (BOS & CHOCH) ✅ Liquidity concepts (equal highs/lows, stop hunts)✅ Trap Blocks / Fake Order Blocks detection ✅ Valid Order
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
Hello I want to convert my tradingview indicators into Ninja trader can anyone help me with it it is urgent and I will like to discuss more about it to you if you can help me Kindly do well to bid on it
📌 JOB DESCRIPTION – FULLY AUTOMATED TRADING SYSTEM I am looking for an experienced developer to build a fully automated end-to-end trading system for MetaTrader 5. This is not an indicator-based bot and not a discretionary or black-box AI system. The system must follow a strict, deterministic rule-based trading framework that is already defined. 🎯 PROJECT GOAL Build a system where: A backend continuously evaluates
EA with Zones 30+ USD
Good day! I have an indicator .mq5 this indicator calculates and draw zones on the chart. My request is to add these specific zones drawn and calculated exactly as the indicator in the EA. A replicate behavior of the zones from the indicator to the EA. Thank you
I need a fully automated end-to-end system where a backend continuously runs my deterministic CORE EDGE validator on live market data, generates numeric JSON trade tickets (GO) or alert levels (NO-GO), and automatically pushes those instructions to the MT5 EA for execution. There are no manual signals. ROLE SPLIT (IMPORTANT) Backend (analysis & decision engine): Continuously evaluates live data using my CORE EDGE
I am looking for an experienced MQL4 / MQL5 developer to create a custom Expert Advisor (EA). Trading details: - Symbol: XAUUSD (Gold) only - Platform: MT4 or MT5 - Strategy type: Scalping (fast trades) - Timeframes: M1 / M5 - Fixed Stop Loss and Take Profit - Risk management: - Lot size based on balance OR fixed lot (user configurable) - Maximum trades per day (user configurable) - Spread and slippage filter -
For a buy case, ea will set buy stop order at the high of the current 4H candle, if the close of the current 4h candle is higher than the open and if the close is less than the high of the 4H candle , then ea will set a buy stop at the high of the current 4h candle. Reverse of this is the sell case. , - -- sell SL to 1800point for gold pair only, set 4500 point for TP, --- , BE the SL to 50points when price moved

Информация о проекте

Бюджет
50 - 75 USD
Сроки выполнения
от 5 до 20 дн.