Modification of an existing MT4 EA

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

Время выполнения 16 часов
Отзыв от заказчика
Great job, thanks very much.
Отзыв от исполнителя
Excellent customer. Clear specifications and fast payment. Thank you.

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

I have an MQL4 EA that works on 2 charts at the same time.  On the settings section the EA asks for a variable called ‘Maximum delay’.  And based on the number I give there, it creates a random number between 1 and that number.  Ex: If the Maximum delay is 10,000, it creates a random number between 1 and 10,000. Ex: 4516

It then puts that number on the chart and starts counting down from that number. As soon as the count down goes to zero, it opens the trades.

You can see the count down functionality on the video here:
https://gyazo.com/a23597b242fcfd3de09d802d43cb5fbb


Change 1:

The problem is that the countdown continues even on Saturdays and Sundays but it cannot open a trade as the market is closed. So, the countdown continues and goes to zero during the weekend.  As soon as the market opens it opens the trade as the count down is already waiting at zero.

It should actually stop where it is when the MT4 date/time turns to Saturday (or maybe when it stops receiving ticks?).  So, if the counter shows 2555 when the date turns to Saturday I want the counter to stop there and continue from 2555 when the market re-opens. So, the new trade is opened only after the counter goes to zero during market hours.

The settings of the EA has a section for trading days below and it actually works in terms of opening trades but it doesn’t stop the counter when the date is outside of trading dates.

http://prntscr.com/1z08f4t

Ex: Today is Tuesday. If I set Tuesday trading as 'false' on the EA it continues to count down. It shouldn't. 

Can a solution be created for this?

 

Change 2:

The counter start is determined based on this number on the settings section:
http://prntscr.com/1z09gk3

It basically picks a random value between 1 and that number on settings section and counts down for that many seconds before it opens a new trade.  Ex: if the random value is 3000, it counts down 3000 seconds before it opens a trade. 

There are 2 problems here. One of them is that the random value is never exceeding 30,000.  I made a research on that and fond that the EA the programmer used mathrand() function and it seems to support a number only up to 32767. So, I need a fix there. When I put a number like 650000 I need it to find me a random number up to 650000.  Ex: 375969. Currently it only finds me a number smaller than 32767.

The other problem is:

On top of the Maximum delay field I would like to add another field: Minimum delay(seconds): [TEXTBOX]

And  I would like the random value to be calculated from minimum delay to maximum delay instead of between 1 to the maximum delay.
Ex: Minimum delay(seconds) = 1000
      Maximum delay(seconds)= 8000

In this case it should create the random number from 1000 to 8000 instead of 1 to 8000.

When the random value is created I would like the trades opened when the count down from that number goes down to zero. (it already does this at the moment and I would like this functionality to be protected so it continues working the same way)

I will share the EA source codes with the selected programmer. 

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

1
Разработчик 1
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(172)
Проекты
195
11%
Арбитраж
37
38% / 35%
Просрочено
5
3%
Загружен
3
Разработчик 3
Оценка
(513)
Проекты
776
63%
Арбитраж
33
27% / 45%
Просрочено
23
3%
Свободен
4
Разработчик 4
Оценка
(204)
Проекты
209
28%
Арбитраж
0
Просрочено
3
1%
Свободен
5
Разработчик 5
Оценка
(42)
Проекты
47
30%
Арбитраж
12
17% / 75%
Просрочено
6
13%
Свободен
6
Разработчик 6
Оценка
(132)
Проекты
176
39%
Арбитраж
4
25% / 50%
Просрочено
14
8%
Свободен
7
Разработчик 7
Оценка
(356)
Проекты
377
71%
Арбитраж
4
100% / 0%
Просрочено
0
Работает
8
Разработчик 8
Оценка
(586)
Проекты
1049
49%
Арбитраж
39
28% / 41%
Просрочено
49
5%
Свободен
9
Разработчик 9
Оценка
(67)
Проекты
144
34%
Арбитраж
10
10% / 60%
Просрочено
26
18%
Свободен
Похожие заказы
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Thanks in advance."
I need someone who can code a new EA from scratch and also know how to integrate AI into the EA and use AI and market sentiments along with news to then open positions. I have the description of the job ready. Need someone serious, with experience and who will help optimize the current strategy with their expertise. Thanks
I’m looking for an experienced MQL5 developer to create a custom Break of Structure (BoS) Indicator for MetaTrader 5. This indicator should automatically detect and mark key market structure breakpoints in real-time, offering traders clear visual signals when the market experiences a structural shift. The indicator should include the following features: Automatic detection of Break of Structure (BoS) and Change of
I need someone who can make an expert advisor for me using the high and low of certain sessions or time frames. All orders should be market orders It's based on high and lows (LONGS) When a session low is created I wait until the 14 ema crosses above the 20 ema for comfirmation of going long, and I enter when price touches on the 14 ema. My SL automatically is placed on the session low. (SHORTS) When a session high
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
I need a tested and profitable EA. I don’t want backtested EA but real live tested. At least, 5~10 % per month. Name your price!!! I also have a backtested EA that can’t make profit at the end of the month
Hello my developer colleagues, am also a developer like you but i just hear about this mql site and i will like to sell, develop and build bots for buyer. But i don't know how to become a seller here please i need help in helping me to create a seller account on mql and i will be very glad if you can help me out and i will appreciate you
Preciso de um EA que abra ordens a mercado a partir de um indicador, Ele precisa obter take e stop loss fixos, spread máximo, horários de início e final das operações, meta e stop diário, martingale, painel e a função no script para que eu possa ceder o EA apartir do id do mt4 de terceiros

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

Бюджет
30 - 150 USD
Исполнителю
27 - 135 USD