Add OrderSend limits to existing EA

MQL4 Experts Other

Job finished

Execution time 31 days
Feedback from employee
thanks

Specification

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. 

Responded

1
Developer 1
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
2
Developer 2
Rating
(91)
Projects
144
38%
Arbitration
67
15% / 48%
Overdue
55
38%
Free
3
Developer 3
Rating
(64)
Projects
144
46%
Arbitration
19
42% / 16%
Overdue
32
22%
Working
Similar orders
I need a MetaTrader 5 Expert Advisor (EA) built based on a clear, rule-based strategy for XAUUSD on the M5 timeframe. Indicators used: EMA 50 (Exponential, Close) EMA 200 (Exponential, Close) RSI (14) Stochastic Oscillator (14,3,3) BUY rules: Price above EMA 50 and EMA 200 RSI between 10 and 25 Stochastic crosses upward from below 20 Bullish candle close SELL rules: Price below EMA 50 and EMA 200 RSI between 80 and
IF no open trades AND trading session is London or New York THEN IF price > EMA50 AND price > EMA200 SET trade_direction = BUY ELSE IF price < EMA50 AND price < EMA200 SET trade_direction = SELL ELSE EXIT (do nothing) IF trade_direction = BUY AND RSI >= 10 AND RSI <= 25 AND Stochastic_K crosses above Stochastic_D AND candle closes bullish THEN Open BUY trade Set Stop Loss Set Take
Nhân bản vô tính 30 - 70 USD
Tôi có 1 mt4 được chia sẻ, bạn có ai giúp tôi sao chép chiến lược của mỗi cái này không? Đặc biệt: _ phù hợp tài khoản vốn nhỏ _ vào nhiều lệnh _ không có tính năng né tin nhưng dù có tin ra thì vẫn giao dịch an toàn. I have an MT4 trading platform that was shared with me. Can anyone help me copy the trading strategies for each of these platforms? Specifically: _ Suitable for small capital accounts _ Allows for
Platform: MT5 | Instrument: XAUUSD | Broker: IC Markets (ECN) Style: High-speed scalping / short-term momentum | Timeframes: M1 & M5 | Operation: Fully automated, 24/5 Overview We seek an experienced MQL5 developer to build a fast, reliable EA for live trading. The EA must: Detect symbol specifications automatically (digits, tick size, contract size) Operate continuously without manual intervention Follow logical
I want recovery zone system to attach with any other ea on chart to manage per trade by zone recovery strategy with management of sl tp to cover in profits or neutral
Monthly >Previous month High and Low.High is Resistance and Low is Support level Daily > Demand and supply zones. Demand Below Support Level and Supply Above Resistance Level. 4HOUR >Up-Tren,Down-Trend and Cosolodation >Market Structure CHOCH,BOS >3 phase movement HH,HL and LL,LH. Entry
Our EA was martiangle on EURUSD that double lot size in every 20 pips we want to change parameters for what to do in trending market so we want devloper who can help us to modify the and guide us what parameters we can change in trending market
We are looking for an experienced cTrader (cAlgo) developer to port and implement AI Gold Sniper , an advanced automated trading system originally built for MT4/MT5, to cTrader . System Overview: AI Gold Sniper is a XAU/USD (Gold) trading EA that uses GPT-4o AI , deep learning (CNN), recurrent networks (RNN), and natural language processing (NLP) to analyze: Historical price data Macroeconomic indicators (interest
EA Development mentor 30 - 40 USD
am looking for a Mentor that has verifiable experience trading forex and commodities. Somebody who has a couple years experience in failures and successes. I am not a beginner. I have modest success already with discretionary trading. I have had an EA created that is very promising. It has extensive testing with very good results. The idea would be to work together advancing the existing EA and build additional EA's
Existing EA 30 USD
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or

Project information

Budget
10 - 20 USD
Deadline
from 1 to 5 day(s)