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
(97)
Projets
128
40%
Arbitrage
19
16% / 53%
En retard
19
15%
Occupé
4
Développeur 4
Évaluation
(193)
Projets
197
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
Tenho um endereço de API que retorna informações, a cada 1 minuto faremos uma consulta e mostraremos em um painel, é necessário validar se todos os tempos gráficos retornaram, em alguns momentos pode não retornar todos os dados. https://integra.tasdigital.com.br/GetIndicadoresForexDataAtualProducao/XAUUSD
Necesito un bot decente para prueba de fondeo y también cuenta personal, scalp, no grid, no martingale, no practicas prohibidas, algo objetivo, confiable y rentable... 5 Min mínimos de duración por operación, algo ya hecho y bactesteado en cuenta real y de fondeo
Would it be possible to get a custom offer for a custom indicator for the Tradovate platform? they use javascript. https://github.com/tradovate I'd like an indicator calculates and displays the quantity of transactions hitting the bid, the quantity of transactions lifting the offer, as well as the % difference between them in rolling 10 second intervals updated every 0.5 seconds. is this something you can do
Hi, Do you have an indicator or expert and would like to protect and control it? What you will get protection and control Customer control panel The number of products is unlimited. You can add any number of your own experts and consultations You can give a trial period for your product, for example a week or a month, after which the customer subscribes Monthly, annually, or for life, depending on the customer’s
Hi, how are you I want a good expert that works on the MT4 platform The total must be profitable and stable StopLoss and TakeProfit should be running, not TrailingStop TakeProfit must be greater than StopLoss If you have an expert with the previous specifications Please send a test executable file and send your price as well Thank you
Tradovate platform 300 - 400 USD
Would it be possible to get a custom offer for a custom indicator for the Tradovate platform? they use javascript. https://github.com/tradovate I'd like an indicator calculates and displays the quantity of transactions hitting the bid, the quantity of transactions lifting the offer, as well as the % difference between them in rolling 10 second intervals updated every 0.5 seconds. is this something you can do
Hello, I am looking for a good quality coder to create an EA based on the following specification: Entry using the super-arrow indicator. Needs to have as little lag and repainting as possible. Entry is on the buy or sell arrow. There must not be more than one active trade at a time. This strategy has no stop loss, therefore the reversal entry in the opposite direction is the stop loss. The TP is 5 pips (to be
An EA based on Fibonacci 100 - 750 USD
I am in need of 3 EA based on Fibonacci re-tracement after a high or low is made,each EA will have a hedge trade on it.the hedge trade will be at the 50 percent of the Fibonacci..this will be present on all 3 EA, all three EA will have different levels of re-tracement, while the hedge trade will be a continuation (buy/sell stop), while the re-tracement trades will be (buy/sell limit)This EA must work on timeframe
Smart Bot 30 USD
A bot that uses Smart Money Concepts in order to provide the best entry and exit strategies for the trader. It also recommends lot sizes paying attention to the amount in the accouny
I am writing to request the assistance of an expert who can develop a sophisticated trading system based on trend indicators. Specifically, I am looking for a solution that incorporates the following functionalities: 1. **Trend Indicator-Based System**: The expert should design a system that utilizes trend indicators to assess market conditions and direction. 2. **Pending Orders (Sell Stop and Buy Stop)**: The system

Informations sur le projet

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