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
Articles 1 How to create Requirements Specification for ordering a trading robot 28 MetaQuotes 225 289 Table of Contents Prerequisites for ordering a trading robot Why is it important to have a well-prepared Requirements Specification? Requirements Specification examples What is contained in the Requirements Specification? Where do I get Requirements Specification if I can't create it? Terms to use How to write an
HFT Directional Grid Scalper (Simple, Training Project) Overview We are looking for a developer to create a high-frequency grid scalper with a simple, deterministic logic. This is not a complex bot — the goal is to have a clean implementation for training, testing, and educational purposes. The bot should: Continually open trades in one direction only (BUY or SELL) Use ATR-based grid spacing Maintain a fixed lot size
i have a tradingview simple indecator of 40 lines of code ,i want it to convert it into mt5 EA strategy details given below AUTOMATED TRADING STRATEGY Multi-Lot Execution & Dynamic Trailing Stop Logic System Architecture & Operational Rules Trading Bot Strategy Profile Entry Conditions Buy Logic • • • Wait for Buy Signal candle. Confirmation: Future candle must break the signal high. Execution: Open 2 orders of 0.01
HFT Directional Grid Scalper (Simple, Training Project) Overview We are looking for a developer to create a high-frequency grid scalper with a simple, deterministic logic. This is not a complex bot — the goal is to have a clean implementation for training, testing, and educational purposes. The bot should: Continually open trades in one direction only (BUY or SELL) Use ATR-based grid spacing Maintain a fixed
I want a accurate indicator with buy and sell arrows or circle.. with exit points which trade xauusd and btcusd via weekend ... for small like R100 or 500 .... like which can grow small accounts with ... on for serious developer.. no bullshit ... I need on Friday please
I'd like to automate a relatively simple strategy in Sierra Chart, but I'd like to have it backtested and optimized first. Could we collaborate on this, and what would the cost be? Only bid if you think you can handle this project, and I want expert in sierra chart.. Thanks
I need an EMA crossover EA specifically for Boom and Crash. It should automatically buy and sell when crossovers happen. I want adjustable inputs for lot size, timeframe, and maximum loss. I’m keeping it simple because I’ve had bad experiences with EAs before. It should do only the job it is built for, properly and reliably. need someone who have already build EA or Indicator for Boom and Crash befor atleast 10
//+------------------------------------------------------------------+ //| ProTradingEA MT5 | //| Fully MT5-compliant with MACD, Trailing Stop, Break-Even | //+------------------------------------------------------------------+ #include <Trade\Trade.mqh> CTrade trade; // Optional override input string SymbolOverride = ""; // leave blank to auto-detect struct EASettings { int
I have access to an MT5 account. I have investor access. I would like to know if someone could help me create a bot that copies only the trades made on XAU/USD in that account but in my MT4 account. In that account, many trades are made across various pairs, and I realize that the conditions of their account are not very favorable for the type of trading they do, as the commissions are very high. I have an account
Good day, I would like to have an expert advisor for my MT4 indicator (Major key alert) that can scan and provide push notification messages for entry opportunities across different time frames when a when a signal is identified

Informations sur le projet

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