Assume that I want to buy at 091500 to 114500(morning) and 130000 to 160000(afternoon) and sell before 115500(morning) and 161000(afternoon) respectively.
How can write it in formula correctly? I could only partly write the following language. When I try to add the morning period, the system only trade in either morning or afternoon. I tried many ways but they didn't work. Could anyone help? Thank you!
Buy=(Strategy) AND TimeNum()<=160000;
Sell=(Strategy) OR TimeNum()>=161000;
How can write it in formula correctly? I could only partly write the following language. When I try to add the morning period, the system only trade in either morning or afternoon. I tried many ways but they didn't work. Could anyone help? Thank you!
Buy=(Strategy) AND TimeNum()<=160000;
Sell=(Strategy) OR TimeNum()>=161000;