string StartTime = "5:55"; string EndTime = "6:10"; if (TimeCurrent() >= StrToTime(StartTime) && TimeCurrent() <= StrToTime(EndTime)) { //do something }

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,
i'm struggling with time function. What i need to do is quite basic:
need to check if current time is between 5.55 am and 6.10 am
had a look at all the functions, but still bit puzzled.
thanks