Creating and updating Orders for Scaling-in Tool

Job finished

Execution time 4 days
Feedback from employee
Very nice customer. Thank you
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!

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
(161)
Projects
208
61%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
Similar orders
1. Contexte Gomez Stratégie développe une stratégie de trading propriétaire nommée ABCD Fibonacci, basée sur des retracements de Fibonacci et des moyennes mobiles. Cette stratégie est déjà documentée dans un livre de stratégie professionnel et une première version de l'EA existe. Le projet consiste à développer (ou faire évoluer) un Expert Advisor MQL5 robuste, fidèle à 100 % à la logique décrite ci-dessous, pour un
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I am looking for a developer experienced in EAs, MT5 and trade management optimization to help me add an intelligent early-exit system to my existing XAUUSD trading robot. The EA is already fully functional and performs best on the M15 timeframe. The entry strategy, BUY/SELL logic, sessions and core structure are already implemented. The work should focus exclusively on adding early exits for trades that are
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Wanna Create A Trading Robot That Uses Liquidity Sweep And Smart Money Concept EA That Works On PC. I want A Developer Who Can Program Exactly My Strategy That Will Be Shared on A Video Upon The Selection. it Should Follow My Rules .It has To be able To Read Price Action, followed By Liquidity Sweep Areas And Combine with Smart Money Concept Knowledge. We Will Talk about Parameters later on . The robot should be able
1. Overview: I need an Expert Advisor (EA) for MT5 called "Gold Sniper" specifically optimized for XAUUSD (Gold). The EA should be a sniper scalper that takes high-probability trades on M5 and M15. It must work on any broker with low spread. 2. Strategy Logic: The EA should combine 3 confirmations: a) Trend Filter: EMA 50 & EMA 200. Only Buy if EMA 50 > EMA 200, only Sell if EMA 50 < EMA 200. Sniper Entry: Use RSI
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis

Project information

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