All the bikes have been invented before you - connect the functions intelligently and that's it. It would also be a good idea to read a textbook on order closures as well.
Как правило, обычный эксперт содержит несколько торговых функций. Их можно разделить на две категории - управляющие и исполнительные. В большинстве случаев в эксперте используется всего одна управляющая функция и несколько исполнительных. Торговая стратегия в обычном эксперте реализуется на основе двух функций - функции определения торговых...
@Roman Shiredchenko Sorry, I wrote as best I could using books and the internet, I do not understand more, please help and advise me where I made a mistake.
Have you tried my programme? I do not quite understand the 300... If you put 300 instead of 60, is it true? If you tell me how to get profit from it, I'll look more carefully!
Yes, your programme writes to the files every 60 seconds. But the opening times of positions are different and should be counted from the opening times of each position separately, i.e. the time of entries will be different, but it turns out that the data is written almost simultaneously on all positions. For 300 seconds, the difference can be seen more clearly. Profit?) Perhaps, it is important to know at what time from the position opening the number "P" is greater than "L", it is for BOO.
Can you tell me how to read the last line of a file ?
Изменение Уровней BlueLine RedLine
2018.02.2612:421.241401.223912018.02.2612:421.249191.220292018.02.2612:431.254711.220292018.02.2612:431.253951.216492018.02.2612:481.245391.216492018.02.2612:491.243681.22581
Can you tell me how to read the last line of a file ?
WithFileReadDouble?
I only need theBlueLine andRedLine values ofthe last line. ????
I was writing it this way:
When opening the file for writing you specified TXT or CSV. This is a text file. Read it as a string, select StringSubstr and convert it to what you need
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.
once. Doesn't want to close positions , what's wrong???
Didn't see where you are trying to close orders?
or is it wrong?
All the bikes have been invented before you - connect the functions intelligently and that's it. It would also be a good idea to read a textbook on order closures as well.
IMHO.
Have you tried my programme? I do not quite understand the 300... If you put 300 instead of 60, is it true? If you tell me how to get profit from it, I'll look more carefully!
Yes, your programme writes to the files every 60 seconds. But the opening times of positions are different and should be counted from the opening times of each position separately, i.e. the time of entries will be different, but it turns out that the data is written almost simultaneously on all positions. For 300 seconds, the difference can be seen more clearly. Profit?) Perhaps, it is important to know at what time from the position opening the number "P" is greater than "L", it is for BOO.
Can you tell me how to read the last line of a file ?
WithFileReadDouble?
I only need theBlueLine andRedLine values ofthe last line. ????
I was writing it this way:
Can you tell me how to read the last line of a file ?
WithFileReadDouble?
I only need theBlueLine andRedLine values ofthe last line. ????
I was writing it this way:
When opening the file for writing you specified TXT or CSV. This is a text file. Read it as a string, select StringSubstr and convert it to what you need