1. I told you - because if you make a flag at the start - it will be checked every time.
2. how to wait and remember the time of the first tick in milliseconds I do not see
Proposed codes check if it is the first input or not by the flag FirstStart. If it is the first tick, value tik=GetTickCount() is assigned. With further ticks, the value of the global variable FirstStart=false, the condition if(FirstStart) is not executed, and re-assignment of the new value to the global variable tik is not performed; its first and only value is saved. Isn't this what was required?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Good afternoon? How do you open a tpl file?
With any editor.
This comes from the word template.
Good afternoon? How do you open a tpl file? What is it anyway?
it's the graphic template file in the client terminal
Thank you!!! I'm sorry, can you be more specific?
1. I told you - because if you make a flag at the start - it will be checked every time.
2. how to wait and remember the time of the first tick in milliseconds I do not see
Isn't this what was required?
notepad.exe
Roman.:
is a file - a chart template in the client terminal
I can't open them with the archiver and notepad.
You don't need to open it... Choose a template, load (save), choose the right one and go.