Modify existing EA to add safety feature

Работа завершена

Время выполнения 3 минуты
Отзыв от исполнителя
Pleasure working with you! Thank you!
Отзыв от заказчика
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.

Техническое задание

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.



Откликнулись

1
Разработчик 1
Оценка
(45)
Проекты
59
42%
Арбитраж
5
0% / 60%
Просрочено
12
20%
Свободен
2
Разработчик 2
Оценка
(2413)
Проекты
3033
66%
Арбитраж
77
48% / 14%
Просрочено
340
11%
Свободен
3
Разработчик 3
Оценка
(102)
Проекты
132
41%
Арбитраж
19
16% / 53%
Просрочено
20
15%
Загружен
4
Разработчик 4
Оценка
(194)
Проекты
198
27%
Арбитраж
0
Просрочено
3
2%
Свободен
5
Разработчик 5
Оценка
(88)
Проекты
143
39%
Арбитраж
21
19% / 48%
Просрочено
30
21%
Свободен
6
Разработчик 6
Оценка
(49)
Проекты
134
27%
Арбитраж
62
13% / 53%
Просрочено
58
43%
Свободен
7
Разработчик 7
Оценка
(365)
Проекты
412
36%
Арбитраж
35
26% / 57%
Просрочено
63
15%
Свободен
8
Разработчик 8
Оценка
(298)
Проекты
427
26%
Арбитраж
18
61% / 33%
Просрочено
26
6%
Свободен
9
Разработчик 9
Оценка
(356)
Проекты
632
26%
Арбитраж
89
73% / 13%
Просрочено
12
2%
Свободен
10
Разработчик 10
Оценка
(119)
Проекты
127
41%
Арбитраж
3
33% / 67%
Просрочено
0
Свободен
11
Разработчик 11
Оценка
(1853)
Проекты
3455
88%
Арбитраж
73
40% / 15%
Просрочено
265
8%
Свободен
12
Разработчик 12
Оценка
(1)
Проекты
2
0%
Арбитраж
0
Просрочено
1
50%
Свободен
13
Разработчик 13
Оценка
(1)
Проекты
1
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
Похожие заказы
Hi there - Overview We are seeking an experienced developer to create a Forex Robot Expert Advisor (EA) tailored to specific trading strategies and conditions. The EA will focus on the London trading session and will automate trades based on pre-defined calculations and market movements. *Responsibilities:* 1. *London Session Analysis:* - Develop functionality to highlight the London trading session on the forex
MT4 Developer Needed 30 - 35 USD
Hey greetings. Am in need of a programmer that can find the best configuration for best profit/ risk of mt4 EA . All I have is the ex4 file of the EA . Kindly bid for it if it is what you can do for me . Thanks
I have two not very sophisticated bots that need to be converted from python to MQL5. The bots are very similar, they use 99% of the same methodology, the only difference being that one is a trend-following bot, and the other is a mean reversion bot. I need the parameters to be at the top of the script so that they can be easily changed and optimised. The entire codebase is already done in python (sl,tp, trailing
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
I already have a Fibonacci based indicator which give precise entry as well as take profit and stop loss levels without repainting. I want to convert this to an EA so as to enable it pick trades automatically. Pay attention to the attached Images for entry and exit description. The EA will be protected with password or any other security protocols. THE EA OUTPUT will be in MQ4 & MQ5
// Define the properties input int ShortPeriod = 12; input int LongPeriod = 26; input double LotSize = 0.1; // OnTick function is called every time there is a price update void OnTick() { double shortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 0); double longMA = iMA(NULL, 0, LongPeriod, 0, MODE_SMA, PRICE_CLOSE, 0); double prevShortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
hey friends, I am looking to build a smart trading robot, for the capital market. He knew how to trade in all the different types of trade. Example - in shares, currencies, index, indices, ETFs, funds, commodities, options, futures and so on. Suitable for trading on all stock exchanges in the world. It will be possible to install the trading robot in the MetaTrader 5 trading software. But it will also be possible to
i Want to convert this Trading View Code to Mt4 Indicator indicator("NEOM Smart Money Concepts ", "NEOM Smart Money Concepts " , overlay = true , max_labels_count = 500 , max_lines_count = 500 , max_boxes_count = 500 , max_bars_back = 500) //-----------------------------------------------------------------------------{ //Constants //-----------------------------------------------------------------------------{ color
Hello Amazing developer am looking for profitable EA for mt4 and made for some past year and i will be looking forward for your bid if you have mt4 EA let negotitate in the contact box best regartds
1. **Timeframe and Liquidity:** Focus on the 5-minute timeframe for liquidity analysis.(timeframe for liquidity should be editble) 2. **Candlestick MSS:** Monitor 1-minute candlestick patterns for entry signals.(should be editble) 3. **Swing Points:** Identify swing points using the high and low of the last three candles.(ict swimg high and low) 4. **Sell Setup:** - Wait for a 5-minute candle to take out the swing

Информация о проекте

Бюджет
30 - 150 USD
Исполнителю
27 - 135 USD
Сроки выполнения
от 1 до 10 дн.