Add seasonality function to my existing template

MQL5 专家 积分

工作已完成

执行时间2 小时
客户反馈
Great work.
员工反馈
Clear requirements good person, Thanks

指定

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



反馈

1
开发者 1
等级
(429)
项目
626
54%
仲裁
30
53% / 23%
逾期
6
1%
繁忙
2
开发者 2
等级
(126)
项目
151
48%
仲裁
6
83% / 17%
逾期
2
1%
空闲

项目信息

预算
45+ USD
截止日期
 1 天