I need some help please,
I have an indicator,which it create an object on the chart,which in the parameters it has a time value like this: 2017.09.20 12:00
1.I want to save in a variable the current date and time,which it will have value like this too:2017.09.19 17:00
Then i want to compare that too values,this i can do it,i have done that code.
2.Can i compare it without problem that values?
- Help you with what? You haven't stated a problem. Show us
your attempt and state the nature of your problem.
No free help
urgent help. - You have an indicator. You need to find out the name of the object, or the pattern if it creates multiple objects and find the name of the one you want.
- So read the time. Perhaps you should read the manual.
ObjectGetInteger - Object Functions - MQL4 Reference - Make up your mind, either you know how to compare them ("i have done that code,") or you don't ("Can i compare it.")
Hello,
I need some help please,
I have an indicator,which it create an object on the chart,which in the parameters it has a time value like this: 2017.09.20 12:00
1.I want to save in a variable the current date and time,which it will have value like this too:2017.09.19 17:00
Then i want to compare that too values,this i can do it,i have done that code.
2.Can i compare it without problem that values?
Thanks