Filtering Days of the Week
4 replies
daveM
5 years ago #234693
I would like to devise a means to trade on the best days of the week.
I have been unable to figure out how to code that.
Can you provide a sample?
Thank you.
tomas262
5 years ago #234741
Hello,
this can be done easily like this.
Mon = 0/1 (trading on Monday disallowed/allowed). Now you can optimize each day whether it should trade (1) or not (0)
daveM
5 years ago #234810
Wow, that seems simple enough… thank you……
I spent quite a while wondering how to do this and I was stumped.. lol
Thanks again!
Shelton Mariwa Paulino
1 year ago #281506
Hello
Sorry I didn’t understand how and where to add this filter. I want my strategy to only trade from Monday to Thursday.
Thank you!
Shelton Mariwa Paulino
1 year ago #281507
This post is awaiting moderation.
for referente, I’m using SQX 135.868
Viewing 4 replies - 1 through 4 (of 4 total)