Create a code for counting terminal total open or pending orders

MQL4 Indicators Experts

Job finished

Execution time 4 days
Feedback from customer
good++++

Specification

I have an ea which is placed  on  10  different charts in mt4. The problem is it sometimes opens many trades. I just want it to place a maximum of xx positions. So for example, if I specify on the input that I want a  maximum  of 3 trades  if the chart 1 trade is  buy EURUSD , chart 2 is buy USDJPY and chart 3 is Buy USD/CAD and  on chart4 there is a signal to buy usd/chf, then the EA does not buy usd/chf because there are 3 trades already opened.

The EA sometimes opens 2 or more orders  of the same symbol, if this happens, then count them as 1 order e.g  if chart 1 has 2 EUR/USD orders these should  be counted as 1 order not 2 because they are of the  same symbol.

  So on my EA  include an input: like:

Max number of market or pending orders= xx

Then a function that counts these orders is placed somewhere on the programme and then  included on the  code that  opens sell or pending orders in order to prevent or enable it not to open pending or market orders.

Responded

1
Developer 1
Rating
(365)
Projects
412
36%
Arbitration
35
26% / 57%
Overdue
63
15%
Free
2
Developer 2
Rating
(43)
Projects
89
66%
Arbitration
10
50% / 50%
Overdue
28
31%
Free
3
Developer 3
Rating
(258)
Projects
395
28%
Arbitration
69
19% / 49%
Overdue
120
30%
Free
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I need someone who can code a new EA from scratch and also know how to integrate AI into the EA and use AI and market sentiments along with news to then open positions. I have the description of the job ready. Need someone serious, with experience and who will help optimize the current strategy with their expertise. Thanks
I’m looking for an experienced MQL5 developer to create a custom Break of Structure (BoS) Indicator for MetaTrader 5. This indicator should automatically detect and mark key market structure breakpoints in real-time, offering traders clear visual signals when the market experiences a structural shift. The indicator should include the following features: Automatic detection of Break of Structure (BoS) and Change of
I need someone who can make an expert advisor for me using the high and low of certain sessions or time frames. All orders should be market orders It's based on high and lows (LONGS) When a session low is created I wait until the 14 ema crosses above the 20 ema for comfirmation of going long, and I enter when price touches on the 14 ema. My SL automatically is placed on the session low. (SHORTS) When a session high
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
I need a tested and profitable EA. I don’t want backtested EA but real live tested. At least, 5~10 % per month. Name your price!!! I also have a backtested EA that can’t make profit at the end of the month
Hello my developer colleagues, am also a developer like you but i just hear about this mql site and i will like to sell, develop and build bots for buyer. But i don't know how to become a seller here please i need help in helping me to create a seller account on mql and i will be very glad if you can help me out and i will appreciate you
Preciso de um EA que abra ordens a mercado a partir de um indicador, Ele precisa obter take e stop loss fixos, spread máximo, horários de início e final das operações, meta e stop diário, martingale, painel e a função no script para que eu possa ceder o EA apartir do id do mt4 de terceiros
Hello Investors, I'm selling a profitable and stable expert advisor trading on the Gold (XAUUSD) pair using a cutting-edge scalping strategy. The EA is able to generate a stable monthly income without using martingale strategy, and with an optional cut loss in place. Particularly the average monthly gain can go from 2-3% (at a relatively low risk, with an historical max DD of 6%) to 20-30% (with an aggressive style
Atomic Analyst Indicator to EA. I have an mt4 indicator called Atomic Analyst. The indicator gives buy/sell signals as shown in the screenshot. I want to know if you can take this indicator, and create an EA that automatically takes the signals. The indicator puts in the SL and TP1, TP2, TP3, TP4, TP5 automatically. I would like the option to put in my lot size parameter and I would also like an automatic trail stop
can you help me with Ctrader i need modification on the linkhttps://docs.google.com/document/d/1fggk49xWbnwahtfOlE-U7G6muZB1FT8eWmftGiY7R-s/edit?usp=sharing can you assist with cTrader modifications to enhance functionality and improve performance. do text me if you a professional on it i will be looking forward to your response best regards

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
to 5 day(s)