Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 553

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 have sketched and tested a script which will check the history of closed orders (I don't have a market order right now, you can redo it yourself) and find the last closed order and log the information about it:
result:
21:12:07.558 test EURUSD,H1: Last order closed: day 27, 21h, 17 min
What does it look like Taras ?
check the current time
and probably need to add an end of sessioncheck the current time
and probably need to add an end of sessionThank youTars!
Just try to give up the old spelling right away.
It will be easier to switch to MQL5
Just try to get rid of the old spelling right away.
It will be easier to switch to MQL5
What would the new spelling of this construction look like?
What will this construction look like in the new writing?
It will look as I have written in TimeToStr, StrToTime
'TimeToStr' - function not defined file N N
'StrToTime' - function not defined file N NGood day to all. Can you tell me if it is possible to create an indicator that works based on the data you enter into it? if so, tell me how to do it. thank you in advance
So any indicator works on the data that is entered there. Or is the question something else?