Add seasonality function to my existing template

MQL5 Experten Integration

Auftrag beendet

Ausführungszeit 2 Stunden
Bewertung des Kunden
Great work.
Bewertung des Entwicklers
Clear requirements good person, Thanks

Spezifikation

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



Bewerbungen

1
Entwickler 1
Bewertung
(427)
Projekte
621
53%
Schlichtung
29
55% / 24%
Frist nicht eingehalten
6
1%
Beschäftigt
2
Entwickler 2
Bewertung
(126)
Projekte
151
48%
Schlichtung
6
83% / 17%
Frist nicht eingehalten
2
1%
Frei

Projektdetails

Budget
45+ USD
Ausführungsfristen
bis 1 Tag(e)