I see a lot of people asking about how to only trade during the week, between certain times etc. This should help. Apologies if the exact times aren't to your specifications, double check they are right for you. This project trades M-F and closes trades at a certain time on Friday, not tested live, only for helping.
D
Best posts made by doperthancereal
-
Weekday Filtersposted in Tutorials by Users
-
Partial close only ONCEposted in Questions & Answers
Hello--
Was wondering how to only partially close half of my volume out on a trade, but do this only once, when I have done it in the past the condition is constantly happening and therefore closes the volume 50% many times instead. Semi familiar with looping, but not sure how to only close out the position once. Perhaps a boolean? Any help appreciated. Thank you.
Daniel