En cours

Modification to Metatrader 4 EA to manage maximum number of trades open

I need to build a quick and simple modification to an existing EA that I'm using.

The EA does everything I want but I need to add a new function that will control the maximum number of trades that can be opened on all charts, not just the chart where the EA is dragged.

This new variable would be called:

MAX_TOTAL_ORDERS: 4. If I have EA on 50 pairs and there are 4 trades opened, if MAX =4 it will mean that no new trades can be opened UNLESS any of the opened ones have the Stop Loss at breakeven minimum.

EMAIL_ORDER_NOT_OPEN: True. This will be a true/false variable that will allow the EA to send an email if a new order cannot be opened because the maximum number of concurrent orders is true.

The email functionality is already created and working for orders that are opened. I need you to update this email functionality so it can also send an email when an order was to be opened but it wasn't because the maximum total orders had been reached.

This is the kind of EMAIL I will receive when a new order cannot be opened:

Current SUBJECT:

USDHUF: BUY BO 0.02 at 288.333@D1 (this header is already sent when an order is opened, EA has this function)

NEW SUBJECT for orders that cannot be opened (EA must add the (MAX) keyword after the currency pair, so when I received the email I know it was not opened by the EA because the maximum number of trades was reached.

USDHUF (MAX): BUY BO 0.02 at 288.333@D1

BODY OF MESSAGE: same body used now by the email function built in the EA

The EA is taking screenshots of every single trade opened in different timeframes, this is done automatically. Since these trades won't be opened by the EA, I want to have a new variable called SCREENSHOT_MAX_ORDER (false). If set to true, it will keep on taking screenshots of those trades that are not opened because the MAX_TOTAL_ORDERS was reached. If set to false, it will not take screenshots of the orders that are bigger than the maximum allowed.

That's all I need.

Thanks in advance for your time. I will provide the source codes to the programmer I award the project.

Compétences : Metatrader

en voir plus : when to manage, to the maximum, set of pairs, maximum max, and bo, metatrader ea open source, metatrader ea bollinger, metatrader ea advisor system free, metatrader ea, manage exit ea, list metatrader ea, finding source codes metatrader ea, ecn broker metatrader ea adjustment, crack version metatrader ea, code writers metatrader ea

Concernant l'employeur :
( 138 commentaires ) San Bartolome de Geneto, Spain

Nº du projet : #9216511

Décerné à:


Greetings, my name Irwin. I am Specialize on MT4 strategy implementation programming since 2008 with more than 260 projects/reviews mark 5 stars just programming MT4/MQ4 software in this website.(Please check my profil Plus

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(271 Commentaires)

4 freelance font une offre moyenne de $76 pour ce travail


Hello. My name is Peter. I'm professional IT engineer. I've been working on Forex for the last 7 years. I'm very well familiar with MT platform and MQL, can provide you with codes which were written by me. I read th Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(189 Commentaires)

Hello! I will do this as you wanted. See my other work's: [login to view URL]

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(19 Commentaires)

Experience with metatrader 4 with over 4 years programming for a broker in [login to view URL] to begin immediately and provide quality EA

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)