Add time settings to a MQ4 expert advisor

Completed Posted 7 years ago Paid on delivery
Completed Paid on delivery

I have an expert advisor that works on related pairs, monitoring the spread between two pairs.

Once reached a spread level specified in the settings, two trades are open, one for each pair, in opposite directions, if the correlation is positive, or in the same direction, if the correlation is negative.

I noticed that the expert advisor, used with certain pairs gives excellent results in the afternoon and evening hours (CET) and then loses much of the profits accumulated in the following 8-10 hours.

I would then need to integrate the expert with these settings:

1. Start trading hour (at what time allow the opening of new trades)

2. Do not open trades after hour (not open more trades after a certain time)

3. Close all trades hour (closing time of all open trades)

all expressed in CET

If, for example, the following parameters are respectively:

1. 09:00

2. 22:00

3. 23:00

it means that after 22.00 will no longer be open trades, at 23.00

still open trades will be closed and no trades will be open until

9:00 am of the following day (or the following Monday).

At 9:00 am, when it will be possible to reopen trades, the spread between the

two pairs (which regulates the opening of trades) will restart from zero.

C Programming PHP Software Architecture

Project ID: #11053564

About the project

4 proposals Remote project Active 7 years ago

Awarded to:

€55 EUR in 3 days
(10 Reviews)
4.5

4 freelancers are bidding on average €153 for this job

ohboyel

Hi, I can do exactly what you wish to do, but because of daylight savings and other time conversions, I always advice my clients to set everything in terms of server time, because the resulting input mt4 accepts is More

€138 EUR in 3 days
(9 Reviews)
4.5
damasterbdz

Dear Hiring Manager, First of all thanks for creating an opportunity. Hope you are doing well. I will not propose what the maximum Freelancer do. I dont believe in copy paste Cover letter. I read your project details, More

€176 EUR in 3 days
(7 Reviews)
2.8