Filtering Days of the Week
4 replies
daveM
8 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.
0
Tomas Matejka
8 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)
0
daveM
8 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!
0
Shelton Mariwa Paulino
3 years 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!
0
Shelton Mariwa Paulino
3 years ago #281507
This post is awaiting moderation.
for referente, I’m using SQX 135.868
0
Viewing 4 replies - 1 through 4 (of 4 total)