Modify existing EA to add safety feature

Tâche terminée

Temps d'exécution 3 minutes
Commentaires de l'employé
Pleasure working with you! Thank you!
Commentaires du client
Freelancer is a great guy. He was able to complete the project as described. If there are more stars in the rating, I would give him 10 for perfect programming he did in my EA.

Spécifications

The project for the existing EA and is as follows:

Add safety feature to avoid over trade from different 8 SIGNAL NAME.

 example:
this EA enters a trades with BUY and pending predetermine SELL order. when, SELL pending price is hit, EA opens BUY pending order and so on and so forth like a zigzag.

the safety feature I want to be added to this EA is to limit of opening pending orders.  I'm open to suggestion to make it easy, but current functions should not be affected with the modification.

Safety Feature is as follows:

Check money balance before EA opens another pending order. if balance is below required to open pending order, calculate difference between all BUYs and SELLs order.

example:
Order TypeLot SizeTrade Comment
BUY0.01SIGNAL NAME_BUY
SELL0.02SIGNAL NAME_SELL_Recover-Sell
BUY0.04SIGNAL NAME_BUY_Recover-Buy
SELL0.08SIGNAL NAME_SELL_Recover-Sell
BUY0.16SIGNAL NAME_BUY_Recover-Buy
SELL0.32 terminal message = ERR_NOT_ENOUGH_MONEY

Total BUY   -   Total SELL
0.01                0.02
0.04                0.08
0.16
__________________

0.21           -    0.10    =   0.11  + LOTSTEP = SafetyLotSize

if terminal still returns ERR_NOT_ENOUGH_MONEY

subtract SafetyLotSize by LOTSTEP => (0.11 + LOTSTEP) - LOTSTEP = SafetyLotSize

do this until terminal accepts lot size, then Lot size = SafetyLotSize

change trade comment = Signal Name_SafetyMoney. then, no pending order will be open with this SIGNAL NAME until all open trade of SIGNAL NAME are close.

when SIGNAL NAME profit = $ 0.00, close all trade for this SIGNAL NAME.


PLEASE test EA in tester before sending for demonstration.  Thank you.



Répondu

1
Développeur 1
Évaluation
(45)
Projets
59
42%
Arbitrage
5
0% / 60%
En retard
12
20%
Gratuit
2
Développeur 2
Évaluation
(2409)
Projets
3026
66%
Arbitrage
77
48% / 14%
En retard
340
11%
Gratuit
3
Développeur 3
Évaluation
(98)
Projets
129
40%
Arbitrage
19
16% / 53%
En retard
19
15%
Occupé
4
Développeur 4
Évaluation
(194)
Projets
198
27%
Arbitrage
0
En retard
3
2%
Gratuit
5
Développeur 5
Évaluation
(88)
Projets
143
39%
Arbitrage
21
19% / 48%
En retard
30
21%
Gratuit
6
Développeur 6
Évaluation
(49)
Projets
134
27%
Arbitrage
62
13% / 53%
En retard
58
43%
Gratuit
7
Développeur 7
Évaluation
(365)
Projets
412
36%
Arbitrage
35
26% / 57%
En retard
63
15%
Gratuit
8
Développeur 8
Évaluation
(298)
Projets
427
26%
Arbitrage
18
61% / 33%
En retard
26
6%
Gratuit
9
Développeur 9
Évaluation
(356)
Projets
632
26%
Arbitrage
89
73% / 13%
En retard
12
2%
Gratuit
10
Développeur 10
Évaluation
(119)
Projets
127
41%
Arbitrage
3
33% / 67%
En retard
0
Gratuit
11
Développeur 11
Évaluation
(1853)
Projets
3455
88%
Arbitrage
73
40% / 15%
En retard
265
8%
Gratuit
12
Développeur 12
Évaluation
(1)
Projets
2
0%
Arbitrage
0
En retard
1
50%
Gratuit
13
Développeur 13
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
Commandes similaires
Hello there, I need a mql4 EA based on pine script custom indicator. You need to do pine script indicator convert into mt4 advisor. If you are able to do please contact. Thanks
Can you get my drafts to work? Have to conditions in RSI and Stoch oscillators ,,,I have a draft but its not run,, you can help me? if iRsi <30 ordersend op_sell iStoch > 80 ordersend op_sell Period_15M Send Orders_Buy limit Pivot Price Send Orders_Sell Limit Pivot Price
I recently bought an indicator, that sends out notifications for trades i need to place, on the notification these and SL and TP, so i want an EA that would automate that for me
I want to develop bot for MT4 and i will send pdf to explain in detail and you have any questions on it https://drive.google.com/drive/folders/1TPtn-THkqbLqf6kL_w09OD4vcmhOerIc?usp=sharing I will be looking for great developer to bid for it best regard
CGG Bands 60+ USD
I need you to create a mt4 indicator that will work exactly like the Dark Bands indicator. The dark bands indicator is located in the market in codebase and is free
Hello great developer here am looking for expert developer will convert convert this Trading View Code to Mt4 Indicator and this is a simple indicator i will be expecting your bid peace be unto you
Using Bollinger Band only. When price closes above upper BB, open Buy. If the length of the candle body that closed above the upper BB is more than Y pips, then do not Buy and remove the EA. Otherwise, continue to open Buy if crosses and close above upper BB and the number of positions is not more than Max No of Positions. The user will choose either Buy or Sell only. When price closes below the lower BB, close all
Hello freelancers here, I need an expert to help me with coding my script which is already working in pinescript, Moreover, i want a system whereby i can sell my trading bot and can give access with a license, I need an expert that can help me with this
hello great developer Can you make a high/low ticker tape on a table for 100 stock symbols? As a symbol makes a high or low throughout the day, it will appear on the table. i will be expecting great developer to bid for this project
Hello freelancers here, I need an expert to help me with coding my script which is already working in pinescript, Moreover, i want a system whereby i can sell my trading bot and can give access with a license, I need an expert that can help me with this, and my budget is $20, Thank you

Informations sur le projet

Budget
30 - 150 USD
Pour le développeur
27 - 135 USD
Délais
de 1 à 10 jour(s)