What are the warnings?
Keith Watford:
What are the warnings?
What are the warnings?
see previous declaration of 'StartTime' squarecomment.mq4 15 17
declaration of 'EndTime' hides global variable squarecomment.mq4 36 37
see previous declaration of 'EndTime' squarecomment.mq4 16 17
variable 'StartTime' not used squarecomment.mq4 35 39
variable 'EndTime' not used squarecomment.mq4 36 37
0 errors, 4 warnings, 223 msec elapsed 1 5
string time1sttext = "Start Time is " + TimeToString(StartTime); // Name of Object for color comment string time2ndtext = "End Time is " + TimeToString(EndTime); // Name of Object for color comment
Marco vd Heijden:
Thank you very much... I never think of + TimeToString...
Solved. Closed case.
Thank
You also have optional keys you can specify.
TIME_DATE //gets result as "yyyy.mm.dd" TIME_MINUTES //gets result as "hh:mi" TIME_SECONDS //gets results as "hh:mi:ss"
Marco vd Heijden:
You also have optional keys you can specify.
noted, I will try this later. Thank
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
I got 4 warning messages in variables.
I want extern for Time into object rectangle
Here code: