You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The check of "TimeHour(OrderOpenTime())<=hour_end)" allows trading until the end of hour_end (e.g. 18:59, not 18:00). Similarly, Roger's suggestion trades up until 06:59 (am, not pm).
Yes, that was my fault, I messed am and pm. But it's really till 6:00 not 6:59.
Just to say thx again, worked out for me.
After some more research I have found a very simple solution to reproduce what I was looking for: