Forum: EasyLanguage Programming
April 14th, 2012, 03:20 AM
|
Replies: 3
Views: 7,686
Thanks, it works.
I also put in a false...
Thanks, it works.
I also put in a false condition for the rest of the month, don't know if it is needed:
If DayOfMonth(date) >= 6 and DayOfMonth(date) <= 20 then cantrade = false;
Perhaps...
|
Forum: EasyLanguage Programming
April 13th, 2012, 03:49 PM
|
Replies: 3
Views: 7,686
Code for trading a part of the month?
I want one of my signals only to be traded the periods between day 1 and 5 and day 21 and day 31 every month. Not the other days. I guess I should use the reserved word "DayOfMonth" but I dont know...
|