Add OrderSend limits to existing EA

MQL4 Experts Autre

Tâche terminée

Temps d'exécution 31 jours
Commentaires de l'employé
thanks

Spécifications

The project for the existing EA is as follows:

Add limits to OrderSend when RecoverType=Manual or Automated
EA should check for Brokers' limit, maximum open orders and maximum volume per trade

if Brokers have limits for maximum open orders and maximum volume per trade, EA should not trade over the limits, but go around it
Add a log for EA to remember trades when computer/VPS is inadvertently shutdown or lose power. 


limit for maximum open trades
close trades incrementally to open new trades
example:
if Brokers maximum open trades=10
EA should close trades at stop order price, starting at minimum lot size and keeping 10 open trades only

Buy_0.01______ & open SellStop (Recover1), 2 open
Buy_0.02______Recover1 & open BuyStop (Recover2), 3 open
Buy_0.04______Recover2 & open SellStop (Recover3), 4 open
Buy_0.07______Recover3 & open BuyStop (Recover4), 5 open
Buy_0.12______Recover4 & open SellStop (Recover5), 6 open
Buy_0.21______Recover5 & open BuyStop (Recover6), 7 open
Buy_0.37______Recover6 & open SellStop (Recover7), 8 open
Buy_0.65______Recover7 & open BuyStop (Recover8), 9 open
Buy_1.14______Recover8 & open SellStop (Recover9), 10 open
Buy_2.00______Recover9 &  close Buy_0.01__ & open BuyStop (Recover10), 10 open
Buy_3.50______Recover10 & close Buy_0.02___Recover1 & open SellStop (Recover11), 10 open
Buy_6.13______Recover11 & close Buy_0.04___Recover2 & open BuyStop (Recover12), 10 open
Buy_10.73______Recover12 & close Buy_0.07___Recover3 & open SellStop (Recover13), 10 open
Buy_18.78______Recover13 & close Buy_0.12___Recover4 & open BuyStop (Recover14), 10 open



maximum volume per trade
open multiple trades per Brokers maximum volume per trade
example:
if Brokers maximum volume per trade=5pips
EA should break lot size and open multiple (Brokers maximum volume per trade) trades with same trade comment

0.1 Buy_______
0.2 Buy_______Recover1
0.4 Buy_______Recover2
0.7 Buy_______Recover3
0.12 Buy_______Recover4
0.21 Buy_______Recover5
0.37 Buy_______Recover6
0.65 Buy_______Recover7
1.14 Buy_______Recover8
2.0 Buy_______Recover9
3.5 Buy_______Recover10
6.13  break and open 2 trades => 5.0 + 1.13 Buy_______Recover11 & Buy_______Recover11
10.73 break and open 3 trades => 5.0 + 5.0 + 0.73 Buy_______Recover12 & Buy_______Recover12 & Buy_______Recover12

18.78 break and open 4 trades => 5.0 + 5.0 + 5.0 + 3.78 Buy_______Recover13 & Buy_______Recover13 & Buy_______Recover13 & Buy_______Recover13

 

On compilation of the ea, no warnings or errors should be exhibited. 

Répondu

1
Développeur 1
Évaluation
Projets
0
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(91)
Projets
144
38%
Arbitrage
67
15% / 48%
En retard
55
38%
Gratuit
3
Développeur 3
Évaluation
(64)
Projets
144
46%
Arbitrage
20
40% / 20%
En retard
32
22%
Gratuit
Commandes similaires
Make a Robot for mt5 using supertrend indicator for entry in trade with period 2 and multiplier 1.1 using Heiken Ashi candle also with martingle of 2 with maximum step for martingle is 15 step until profit reaches double of total loss. Select time frame 1 minute.Always close the previous trade if in loss then take next trade with martingle of 2 of previous lot in loss. All parameter have the option to change it
Robot que combine 2 indicadores en la ejecución automatica: 1 el Gann High Low y el Donchian Channel (DC) ACTIVO: XAU/USD EN UNA HORA PARA EL DC: período DC = 55 velas displacement/shift = 1 Mas Detalles en este video : https://youtu.be/3jI3cZY89T4?si=YEZAkMvWiq9O8-u9
Hello, I need an Expert Advisor for both MT4 and MT5 based on a recovery/grid trading strategy. Strategy Logic: User manually opens either a Buy or Sell market order. Once the first trade is opened, the EA automatically places an opposite pending order at a user-defined distance. If the pending order gets triggered, the EA places another opposite pending order at the original order price. This cycle continues
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity
We are seeking an experienced MQL5 developer to build the Guardian EA, a focused circuit-breaker module for MetaTrader 5. Objective Protect capital during adverse moves by temporarily exiting positions at a defined drawdown threshold, while virtually tracking those positions as open. Re-establish the positions only when market conditions stabilize (via ADX) and drawdown recovers to a lower threshold. The goal is full
Hi basically I'm wanting an already made EA scalper that's constantly in and out of trades on the M1 time frame that has good risk management. It knows what it's doing. Most of its trades are profitable and that can start with £100. I am willing to pay up to £1000 for the right scalping bot. If you please have one and you're very confident in it, please allow me to use a live version to see how it does and if I'm
hello good evening All professional programmers! I'd like to request a special services I need a Gold and Silver trading bot like the one in the video, one that works on real accounts. My only request is that I don't pay any money until the bot is built and tested. Thank you very much please contact me as soon as possible for more information
https://youtu.be/mUoczuxL0XE?si=2IzxX4jhML_-4f47&nbsp ; ...... “Secret London Session CRT Model - Insane Accuracy | ICT Secrets.” The model is called London Twilight and focuses on quick scalps near the end of London session. Source summary notes it uses CRT + Turtle Soup + PO3/AMD , mainly between 3:00 AM and 5:00 AM EST/New York time . ( Video Highlight | AI Video Summarizer ) Give your MQL5 coder these rules
I'm looking for a buy sell indicator that places signals at candle close doesn't repaint. Looking for strategy too as part of this project. Will want to see it before I create the contract. Please don't send me stuff you know isn't good. If done well will pay well and it can turn I to a long term collaboration
Hello, professional programmers! I'd like to request a special service. I need a trading bot like the one in the video, one that works on real accounts. My only request is that I don't pay any money until the bot is built and tested. Thank you very much

Informations sur le projet

Budget
10 - 20 USD
Délais
de 1 à 5 jour(s)