Работа завершена
Техническое задание
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