Modify existing EA to add safety feature

Lavoro terminato

Tempo di esecuzione 3 minuti
Feedback del dipendente
Pleasure working with you! Thank you!
Feedback del cliente
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.

Specifiche

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.



Con risposta

1
Sviluppatore 1
Valutazioni
(45)
Progetti
59
42%
Arbitraggio
5
0% / 60%
In ritardo
12
20%
Gratuito
2
Sviluppatore 2
Valutazioni
(2405)
Progetti
3019
65%
Arbitraggio
77
47% / 14%
In ritardo
340
11%
In elaborazione
3
Sviluppatore 3
Valutazioni
(97)
Progetti
128
40%
Arbitraggio
19
16% / 53%
In ritardo
19
15%
Occupato
4
Sviluppatore 4
Valutazioni
(192)
Progetti
196
27%
Arbitraggio
0
In ritardo
3
2%
Gratuito
5
Sviluppatore 5
Valutazioni
(88)
Progetti
143
39%
Arbitraggio
21
19% / 48%
In ritardo
30
21%
Gratuito
6
Sviluppatore 6
Valutazioni
(49)
Progetti
134
27%
Arbitraggio
62
13% / 53%
In ritardo
58
43%
Gratuito
7
Sviluppatore 7
Valutazioni
(365)
Progetti
412
36%
Arbitraggio
35
26% / 57%
In ritardo
63
15%
Gratuito
8
Sviluppatore 8
Valutazioni
(298)
Progetti
427
26%
Arbitraggio
18
61% / 33%
In ritardo
26
6%
Gratuito
9
Sviluppatore 9
Valutazioni
(356)
Progetti
632
26%
Arbitraggio
89
73% / 13%
In ritardo
12
2%
Gratuito
10
Sviluppatore 10
Valutazioni
(119)
Progetti
127
41%
Arbitraggio
3
33% / 67%
In ritardo
0
Gratuito
11
Sviluppatore 11
Valutazioni
(1853)
Progetti
3454
88%
Arbitraggio
73
40% / 15%
In ritardo
265
8%
In elaborazione
12
Sviluppatore 12
Valutazioni
(1)
Progetti
2
0%
Arbitraggio
0
In ritardo
1
50%
Gratuito
13
Sviluppatore 13
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
Ordini simili
Expert Advisor "Breakeven Manager" Magic 1234; Magic 1234; An expert advisor that manages open hedged trades using a magic number. In a hedged position for example "BUY/Sell, EUR/USD". If the buy or sell trade closes then the remaining open trade automatically goes to break even. This break even price will be hidden. BUY if SELL Trade Closes then (Ask <=OrderOpenPrice()+0) SELL if BUY Trade Closes then (Bid
I need help with my indicator which is Wave. I'd like to have some changes made to my base code Also I need cooperation for later projects... Thanks alot in advance
1. **Trade Execution:** - The bot should be capable of entering and exiting trades based on predefined signals from my trading strategy. 2. **Take Profit:** - Implement mechanisms to take profit at specific levels as defined by my strategy. ### Additional Features: - The bot should be able to handle multiple trades simultaneously. - It must have a user-friendly interface for monitoring and adjustments. -
can anyone here help me with develop a Pine script on TradingView's Pine Editor for a trading strategy based on certain variations of the Morning Star candlestick pattern which I have been noticing from last 2 years
hi.. i have a pin script (TV) but some lines in the code needs to be fixed,,, i will attach the file, Also I will be paying $20 for the project cause i just need you to adjust some Minor things in it, i will explain more further in the message side
I want to clarify some points, such as: When entering into a buy deal, he opens three deals, each deal has a different take profit and one stop loss. When you look at the code, you will know that there are three take-profit. It opens one deal, taking one profit and adding risk management as well An information screen on the chart shows all the information, I only have $10 for this now, and also I still have more
I need an experienced person who can help to convert my existing code from MQL4 to MQL5 (HFT EA). I will assist with testing, and the expert must work like the MT4 version and passes the MQL5 checker
Hey greetings My pleasure to met you all .I would like to convert a public tradingview pinescript indicator to MT5 Expert Advisor based on my. Requirements/specification.Kindly bid and let discuss about the project
hi.. i have a pin script (TV) but some lines in the code needs to be fixed,,, i will attach the file thanks very much in advance, Also there will be more project in front, so I need a very dedicated developer
I am looking for a developer to assist in testing my Sierra Chart Indicator code. The task involves checking the code for any errors and ensuring it functions perfectly. Your expertise in identifying and fixing potential issues will be invaluable. If you have experience with Sierra Chart and are skilled in debugging, please get in touch. Thank you

Informazioni sul progetto

Budget
30 - 150 USD
Per lo sviluppatore
27 - 135 USD
Scadenze
da 1 a 10 giorno(i)