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
Hi everyone, I've a question.
In this days I tried to code an EA that detect the sessions and highlight it with a rectangle, after that opens a position when a session go over the previous. I used time structures to convert an integer number in a time and when time current is between a starting and ending time it do every tasks. But, of course, if I set a starting time that it's major than the ending time, the EA isn't able to do nothing, because it's not possible to draw a rectangle with a starting time that is major than the ending time (for example starting time 23:00, ending time 8:00). Did you have some similar problems? Anyone can help me?
Thank you.