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
Title: Advanced Manual Hedge EA with Multiplier & Multiple Trade Support Project Requirements: I need a professional Expert Advisor (EA) for XAUUSD and Forex to manage manual trades with the following logic: Lot Multiplier: The EA must automatically detect my manual trade size. There should be a "Multiplier" input (e.g., 3.0). If I open 1.0 lot Buy, the EA must auto-place a 3.0 lot Sell Stop at the set Gap
1. I will pay 3000+ USD (negotiable) for an EA for existing MT4/5 that generates a minimum of 5% or higher a month consistently (provide source code after final deal) 2. Looking for a highly profitable EA 3. Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward
Hello, I am looking for a professional programmer to build an EA that can be able to take trades effectively in the correct direction with adequate indices that can help to predict the market move in advance. The EA will also be able to manage multiple trades to ensure that profits activated are closed before any major market reversals. The EA will have a maximum of 3 price indices at the start, and then the
I need an Expert Advisor (EA) programmed and designed to help me with trading. Requirements: * The programmer must have experience in implementing software projects. * The code must be high-quality, clean, clear, and editable at any time, with ownership of the code provided. * It must work on MT4 and MT5 platforms. * The maximum project completion time is 3 days. * The programmer must be cooperative and flexible
I am looking for an experienced MQL5 developer to complete the optimization and structural refinement of an existing MT5 Expert Advisor (source code ~2.5MB). Phase 1 (audit and baseline testing) has already been completed. The remaining work focuses on correcting core system behavior without changing the strategy. Key issues identified: • Scenario gate logic is not correctly structured at the entry decision level •
A robot 30+ USD
Hy l am looking for someone who can make a robot for me using one minute strategy.i want in every candle to have entry n take profit..you must know how the candles behaviour..to see weather we can enter sell or buy in that candle
Hello, I am looking for an experienced developer to create a MetaTrader 5 (MT5) Expert Advisor (EA) for a prop firm system. The EA must be designed to manage and monitor multiple trading accounts, each with different account sizes and risk parameters. 🎯 Core Requirements: The EA must: Monitor account equity in real-time Apply Daily Drawdown Limit (e.g., 5%) Apply Maximum Drawdown Limit (e.g., 10%) ⚙️ Multi-Account
I am looking for an experienced MQL5 developer to build a fully automated MT5 Expert Advisor based on Session Breaks and Inverted Fair Value Gap (iFVG) logic. The EA must be coded professionally, optimized for backtesting, and written with clean, organized inputs and modular code. Core Strategy The EA should: Mark previous session highs and lows Wait for the current session to break the previous session high or low
IF ANYONE IS INTERESTED IN GETTING ANY KIND OF CUSTOM BOT FOR TRADING I WILL ADD THE STRATEGIES ACCORDING TO YOUR CHOICE MINE BEST BOT IS SCALPING AND HEDGING BOT YOU CAN CONTACT ME FOR SERVICES
Hi, Im looking to purchase or build an EA that can open many trades or big lot size to churn out IB commission, it doesn't have to be super profitable but will need to have the number of trades on going in order to earn IB commission. If you have any EA or strategy that are gearing towards this, let me know and i would be glad to purchase it. If you are applying and asking me to build one from scratch, I need you to

Informations sur le projet

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