[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 193

 
Good afternoon? How do you open a tpl file? What is it anyway?
 
Dimka-novitsek:
Good afternoon? How do you open a tpl file?

With any editor.


This comes from the word template.

 
Thank you!!! I'm sorry, can you be more specific?
 
Dimka-novitsek:
Good afternoon? How do you open a tpl file? What is it anyway?

it's the graphic template file in the client terminal
 
Dimka-novitsek:
Thank you!!! I'm sorry, can you be more specific?
notepad.exe
 
I can't open them with the archiver and notepad.
 
eddy:

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?
 
 
alsu:
notepad.exe
Or with MetaEditor )))


Roman.:


is a file - a chart template in the client terminal
And also templates of Expert Advisors, indicators etc. in the experts\templates folder
 
Dimka-novitsek:
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.
Reason: