Add seasonality function to my existing template

MQL5 Experts Integração

Trabalho concluído

Tempo de execução 2 horas
Comentário do cliente
Great work.
Comentário do desenvolvedor
Clear requirements good person, Thanks

Termos de Referência

Hi,

The task is to create a function that would allow me to choose my bias (long, short & none) for each month.

In other words, I want to choose whether I only take buys, sells or don't trade for the current month.

For example:

input string Months Bias;

input string January = short;

input string February = short;

input string March = long;

input string April = long;

input string May = short;

input stringJune = long;

input string July = none;

input string August = short;

input string September = none;

input string October = short;

input string November = short;

input string December = long;

I only fit into my loop of buy conditions if the current month is set to long || I only enter my loop of sell conditions if the current month is set to short || I fit into none of the loops if the month is set to none.


Secondly, I want the EA to look to take trades at specific times.

There will be four blocks of time where I want to accept the signals.

Killzones =

TOK=00:03 to 05:00

LDN=09:00 to 12:00

NY=14:00 to 16:00

LDN CLOSE=17:00 to 19:00



Respondido

1
Desenvolvedor 1
Classificação
(434)
Projetos
638
53%
Arbitragem
32
59% / 22%
Expirado
6
1%
Trabalhando
2
Desenvolvedor 2
Classificação
(126)
Projetos
151
48%
Arbitragem
6
83% / 17%
Expirado
2
1%
Livre

Informações sobre o projeto

Orçamento
45+ USD
Prazo
para 1 dias