Bug Fix

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

Время выполнения 11 дней
Отзыв от заказчика
great communication and quick reply
Отзыв от исполнителя
great customer pleasure to work with him look forward to work with him again

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

Objective: Find/fix 3 Bugs

Tasks:


1)       Bug find/fix: automatically identify and exclude orders in the “placed” status

2)       Bug find/fix: understand why sometimes the position opens with double volume and solve it

3)       “Force close” positions after the max position time (existent parameter)


EA details:

The EA monitors 75 symbols identified in a CSV file placed on the FILE folder. The same CSV also contains a series of parameters that are used to control when to open and close positions.

The code contains 1200 rows, and the open signal is on the following part:

 

And the close signal is on this part:

 

Other important aspects of the EA:

-          Whenever MultiSymbol = False, EA will only runs for the graphic where the EA was apply to (single symbol) and all inputs will come from the input screen. This should also be the choice when backtesting.

-          Whenever MultiSymbol = True, EA will search for the for the .csv file and get the customized inputs for each symbol

-          When using the MultiSymbol, the graphical lines (TP, SL, etc) will only appear for the graph where the EA is applied. If you open another screen, the lines will not appear, but if you drag another symbol to the same graph, the lines will change to reflect the scenario of this new symbol

-          None of the issues happens in the backtest, meaning that the issue happens when interacting with the broker, which is something that makes the fixing more difficult, also because the issues are not consistent

 

Why ALL issues happen:

When the buy signal is open, EA sends the order, but sometimes, this order does not get processed because:

·         Something is wrong in the broker for that particular Symbol

·         There is no more volume available at that price

All this will lead the order to stay in a “Placed” status. The big problem is that EA only checks if there is no position open for a Symbol, before sending a new order for that Symbol. This is expected, to have only one position open for each Symbol.

By not checking these placed positions, if the signal stays open, EA will keep sending orders, causing a big risk to the user if the case is that of opening a position. If the case if trying to close a position, the placed get there, never is processed and EA seems to “forget” about that position, never closing it, even after the Max time is reached

 

1)       Bug find/fix: automatically identify and exclude orders in the “placed” status

Sometimes, the buy/sell signal opens, the order is sent, but the order remains in the “placed” status, causing a lot of issues later. This happens in rare occasions, usually when the symbol “freezes” for some reason, right when the signal opens.

These placed positions might also be the reason why the EA malfunction regarding an open position, not closing for any of the “close triggers”

The expect solution (open to suggestion) is to constantly look for this status and remove them (on tick)

Also, in order to avoid more issues, if a symbol is on placed status, check and do not send other orders for the same symbol while this situation is not changed.


 

2)       Bug find/fix: understand why sometimes the position opens with double volume and solve it

The volume to fill the order is calculated based on the lot size defined in the parameter. Example: If the lot size = $10k and price of the stock is $35, the EA should try to buy 10k/35 volume, or 285 units. Then the lower next multiple of 100 need to be select, in this case 200.

In this market, all order must be in multiples of 100 (100, 200, 300, etc). This is controlled by the Lot_Min parameter.

Must of the time, this process works well, and the right volume is sent as an order, but in 1% of the cases, the order is sent with double the volume. There is apparently no relation to a specific symbol or price

After many testing, it seems that when the order takes time to be processed, EA sends another order (because the signal still open) and when broker manages to process the order, it process both of them.

 

3)       Force EA to close positions after the Max time is reached

It seems that when above issues (previously explained) happen, that particular Symbol are not monitored anymore for SL,TP and Time limit. Apparently that symbol might be getting out of the EA array that checks the open positions.

Closing a position after X minutes, should not be linked to anything else, for safety purposes, any position open more than X minutes should be closed

 

How to test the Fixes:

Backtest can be used to check basic keyl aspects of the code, but only in Single Symbol mode.

As mentioned before, these issues only happen in real accounts in live mode, since the issue is related to the interaction with the broker

Once the project starts I will share user/password to an demo account with the correct broker that will allow you to better test the EA


Файлы:

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

1
Разработчик 1
Оценка
(3)
Проекты
4
0%
Арбитраж
2
0% / 100%
Просрочено
1
25%
Свободен
2
Разработчик 2
Оценка
(250)
Проекты
400
38%
Арбитраж
82
41% / 20%
Просрочено
69
17%
Загружен
3
Разработчик 3
Оценка
(102)
Проекты
127
44%
Арбитраж
7
43% / 43%
Просрочено
6
5%
Свободен
Похожие заказы
Trading robot 30+ USD
3 graphs that hit the same point to indicate buy/sell. please inquire for the exact graph names for further development. please let me know how much it will cost. thank you for your time
Hello everybody, I need a bot for MT5 on Martingale and MA logic. Equity rise, DD, News filter, Time trading filter, SL, TP, Martingale cut=off, panel chart etc. are some of the main features. Only serious and experienced developers should offer. Details on one-to-one chat
I need 1 EA based on arrows that prints according to the indicator. EA must open a new order when a new arrow printed and candle closed. - Buy and sell by the direction of the arrows (only after candle closed) - Close on opposite signal ( only after candle closed) - Stop loss option if true, highest point of previous candle plus pips - Breakeven, stop loss, lot management, trailing stop, start, and distance - magic
Hey, having privilege to discuss my trading ideas with a skilled programmer will be the best, I wanted to build a well automated expert advisor that run perfectly on both MT4 and MT5, I would be glad to work with an expert who is able to turn ideas into a well automated mt4 mt5 trading robot, expert advisor EA in Metatrader 4 and 5, reach out if you can help me in achieving my trading target thanks
I need a software developer to make a robot using Zig and Zag on high - low trend.V2 and fibo-pivots-alerts-levels indicators. Management must be based on the account size. The developer must be able to complete the job in 3 days. I will send files to the developer who'll do the job for me
i want an EA that enters based on the form of a candle if the lower wick is bigger then the rest of the candle i want buy and if the upperwick is bigger then the rest of the candle i want a sell single, i want it to enter with the sl 1 tick lower or higher then the lower or upperwick depening on buy or sell trade. then the stoploos needs to move when the trade goes to 0,5% sl too break even, when trad eis on 1% sl to
óla amigos precisos de uma específica de programas gratuitos em um único indicador ja tenho a combinação pornto presciso apenas de um amigo desenvolvedor que conseguir unir todos em uma única aplicação
Hello guys, two EAs, one on MT4 the other is on MT5 First EA I need to convert a trading view indicator "Pine script" into mql4 indicator and I want to use it in an EA. You can find the indicator at this link and this is the indicator name “demand and supply zones”. the indicator shows rectangles on the chart those are the support and resistance area, we will take a trade from those rectangles. Drawing are
I need trading view developer to help me with building a strategy from scratch. Trying to create a indicator that will allow me to backtest grid bot performance on trading view
Hello to all developers, I need someone that can help me with my ea project. I want to do ea Only reverse engineering (writing from scratch by analyzing the algorithm), without decompilation Here are the files https://drive.google.com/folderview?id=1A9uJNbvFM1pvYHRLTIDf5ThgeJu88eJp

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

Бюджет
50+ USD
Исполнителю
45 USD
Сроки выполнения
от 1 до 2 дн.