Need help with Hour Filter and Once a Day filter
-
The strategy is to buy 6 lots once every hour and then close all the open trades at a specific time. Say start buying at 0:00 till 6:00. Close the trades if profit is 50 pips. Any open trades should be closed at 23:00. Attaching my project here.
https://fxdreema.com/shared/9KeURAnH
If I run it for H1 timeframe for a month, it only creates 2 buy order and doesn't close the trades at 23:00. Please let me know what I'm doing wrong.
Thanks. -
Hi @sajjade . For the opening part, use time filter, once per bar and buy now block. The closing part you just use time filter and close trade block only. That should do it.
-
Thanks a lot for your help @biztet. It worked perfectly.
-
Good luck.