Creating and updating Orders for Scaling-in Tool

Job finished

Execution time 4 days
Feedback from customer
There were 3 experienced developers who could not do the job. One said it's too complicated. This developer could do it. Some MQL language limitations too. But I am very happy with the result!
Feedback from employee
Very nice customer. Thank you

Specification

I want to have an EA for MT5 that creates opening orders and updates trailing stoplosses based on given input settings.

It should be a scaling-in tool based on Euler Figure compounding. The Euler Figure is 2.71828 which needs to be implemented in this tool.

The following input settings from me as user I need to have before any orders should be created:

1. Risk in US-Dollar (or Euro currency based on the currency the MT5 account has)

2. Stoploss in Pips (for FX pairs) for Indices like SPX (SP500) it should be in points (so if I say 50 points SL for SPX it should be from e.g. 4900 entry price, then SL is here 4850 on a long position).  Therefore pip value needs to be implemented.

3. Number of steps (number of steps per Factor = in my Excel sheet I call it "Divisor", which is number of steps based on Euler Figure on Factor = 1)

So number of 20 steps I give as input it means 20 orders needs to be created here for scaling-in

4. Number of Factor (this is the number of how many runs I want to have steps for it. For example Factor of 4 means that for 50 points SL I want to have 4*50 = 200 points Profit Target. With 20 steps for each Factor it means that 80 Orders needs to be created in total here).

Because I use MT5 hedge accounts, the trailing stop of (here 50 points as example) needs to be updated each time once an open order gets executed and gets filled. So in that example on 20 steps for 50 points Sl it means once 4902.5 will get executed it means the new SL is not 4850 but now needs to be updated for all open positions to 4852.50. Each time an order gets filled it needs to be updated. 

There is also a broker limit of 100 lots on SPX, so if the calculation get for example 123 lots to be opened on the next step, then it needs to create 2 orders here, one of 100 lots and one of 23 orders, because 100 lots is limit per order on this broker.

The calculation of what lot size to be added must respect the minimum order size of the broker. So if the broker allows minilots only instead of microlots like other brokers, then this needs to be rounded here. Usually microlots precision I want.

Last I need a button where I can exit all open positions at once and delete all open orders. Because if I make different scaling-in setups for different FX pairs or on same symbol but from different entry price level. It needs to be comfortable for me here to do so easily with one click. So in case I have SPX and EURUSD scaling in open orders of 100 orders each, I need to exit positons and delete order fast for one symbol sometimes, like EURUSD.

The limit I know is 200 open orders from MT5. So this needs to be possible as maximum for creating opening orders.

I will attach an Excel File where you can see how I calculate the scaling-in Tool I want to have as an MT5 EA please, 

if you get chosen to do this project.


Responded

1
Developer 1
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
2
Developer 2
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
3
Developer 3
Rating
(32)
Projects
42
43%
Arbitration
2
100% / 0%
Overdue
4
10%
Free
4
Developer 4
Rating
(43)
Projects
49
29%
Arbitration
4
25% / 25%
Overdue
0
Free
5
Developer 5
Rating
(45)
Projects
46
24%
Arbitration
34
9% / 85%
Overdue
10
22%
Free
6
Developer 6
Rating
(162)
Projects
210
61%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
Similar orders
I need an already developed EA with proven ability to grow small accounts for day trading. It can trade any specific instrument like gold, EURUSD or more than one instrument. Any strategy is welcomed, including scalping in lower timeframes A test version is required before concluding the deal or being selected. Only those with ready products apply No fake EAs needed
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
I'm looking for an experienced MQL5 developer to create a Opening Range Breakout EA. The EA should identify the high and low of a configurable trading session and open trades when price breaks out of this range. It should include configurable Stop Loss, Take Profit, fixed lot size, break-even option and trading hours. Full mq5 required
Matosfx 30 USD
Am called martin sselubiri I need a robot for trading forex and stock and I want know how this robot works and how much it costs for me to use it
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Name: SteelEdge Platform: MetaTrader 5 (MQL5) Expert Advisor Instruments: XAUUSD, EURUSD, US30 Timeframe: H1 (inputs to change it) STRATEGY - Trend filter: buy only when price is above the 200 EMA, sell only when below - Entry: price pulls back to the 50 EMA and a bullish (buy) or bearish (sell) engulfing candle closes - Confirmation: RSI(14) above 50 for buys, below 50 for sells - Stop loss: 1.5 x ATR(14) - Take
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
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)

Project information

Budget
30 - 150 USD
Deadline
from 1 to 8 day(s)