Add OrderSend limits to existing EA

MQL4 Esperti Altro

Lavoro terminato

Tempo di esecuzione 31 giorni
Feedback del dipendente
thanks

Specifiche

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. 

Con risposta

1
Sviluppatore 1
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(91)
Progetti
144
38%
Arbitraggio
67
15% / 48%
In ritardo
55
38%
Gratuito
3
Sviluppatore 3
Valutazioni
(64)
Progetti
144
46%
Arbitraggio
20
40% / 20%
In ritardo
32
22%
Gratuito
Ordini simili
//+------------------------------------------------------------------+ //| 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
"I need an MT5 EA based on price action — liquidity sweep + hammer/shooting star reversal strategy. TREND: Identified by HH/HL for uptrend, LL/LH for downtrend on selected timeframe. No trade in ranging conditions. BUY SETUP: In uptrend, price retraces to swing low zone, wicks below it (liquidity sweep), hammer forms (lower wick min 2x body, closes above swept low). Buy stop entry at hammer high. SL below hammer
I need a professional MQL5 developer to finalize a Gold (XAUUSD) trading bot. The core layering and support-filter logic is already drafted. Key Requirements: Refine a hybrid Martingale/Layering volume calculation (1-10 / 11-20 reset logic). Implement a robust "Safety Mode" based on Daily Low price breaks. Ensure precise 6:00 AM Server Time reset for logic variables. Add professional error handling (Slippage
I want a gold order management ea that should be like the below... Pending orders When I open one manual order, ea should be able to set 3 pending orders at x amount of pips below (if buy order) or above (if sell order) manual order entry. So like this Pending order 1 true or false Pending order pips away: 20. Pending order lot size:0.3 Pending order 2 true or false Pending order pips away: 40 Pending order lot
EA SPECIFICATION SHEET OBJECTIVE: Build a transparent, non-martingale, non-grid breakout EA for XAUUSD that trades only high‑quality breakouts during London + New York sessions. 1. TRADING INSTRUMENT - XAUUSD only - MT4 platform - 5‑digit ECN broker 2. CORE STRATEGY LOGIC (BREAKOUT + CONFIRMATION) A trade is allowed ONLY when ALL conditions are true: - Candle closes beyond previous high/low (no wick breakouts) -
I am looking to develop a custom Expert Advisor (EA) for MetaTrader (MT4/MT5) based on a defined technical analysis strategy and flexible risk management rules. The EA should operate on a chart and timeframe that I manually specify, with the ability to adapt its behavior dynamically when the timeframe is changed. Core Strategy Logic The EA will execute trades based on predefined technical analysis zones
MT5 Manager API 30+ USD
make an api for mt5 and a trade copier eith the api thst uses local computer no cloud trader api ea mt5 that saves all trade data nd logs time and entry and exit tp sl logs delted pending order api that uses market execution not pending orfer
Hello, we have an existing EA, and are building a new one. We want our EA to connect via API to an AI provider like Chat GPT, Claude, or perplexity. Can you connect a meta trader EA to an AI agent? if you can then i would like to speak. The system is quite simple, for example the EA would ask perplexity where the support is on EURUSD then place a trade, thank you, Rob

Informazioni sul progetto

Budget
10 - 20 USD
Scadenze
da 1 a 5 giorno(i)