Algorithms, solution methods, comparison of their performance - page 4 1234567891011...23 New comment Sergey Dzyublik 2017.12.10 16:33 #31 Add magic: 3, 4, 5, 6 and find the 3rd in the list. Vasiliy Sokolov 2017.12.10 16:33 #32 Реter Konow: Then you add three and you get the beginning of the megic.Why three? Where did that magic number come from? Реter Konow 2017.12.10 16:40 #33 Vasiliy Sokolov: Why three? Where does that magic number come from?Because the transaction number is written between two dashes so as not to merge with the magic numbers: " _" + transaction_number + "_"Combine the 3 characters together. First we find the line with the number of the deal we want. Then we add 3 to get the beginning of the megic string. But we don't have the end of the megic. Find beginning of next trade (our trade + 1) to get the end of the megaxisSubtract from the start of the next trade line the beginning of the megic line, and obtain the megic line length.Completely extract megic string from the common string using StringSubstr()Convert the megic string to int and return it to the user. Equity and balance graph StringSubstr()'s limit Any questions from newcomers Vasiliy Sokolov 2017.12.10 16:43 #34 Реter Konow: Because the transaction number is written between two dashes so as not to merge with the magician numbers: " _" + transaction_number + "_"The 3 characters are combined together. OK, we have recorded the transaction as _847700854723_ where is the number three here? Реter Konow 2017.12.10 16:46 #35 Vasiliy Sokolov: OK, we have recorded the trade as _847700854723_ where is the number three here?The overall line looks something like this:_1_12323452_2_123412_3_23432456_4_123452The order numbers of the trades are highlighted in red.In blue, the medians are highlighted.the number 3 is the number of characters in the trade number substring : _2_ Vasiliy Sokolov 2017.12.10 16:49 #36 Реter Konow: The general line looks something like this:The order numbers of the trades are highlighted in red.For those who are particularly gifted, I ask again: Where is the number three!!! ???? If the sequence number of the deal is _25_ - where here the number is three!? Реter Konow 2017.12.10 16:54 #37 Vasiliy Sokolov: For the very gifted, I ask again: Where is the number three!!! ???? If the sequence number of the transaction is _25_ - where the number is three!?The number three is the number of characters in the substring _25_.It has three characters - a dash, 25 and another dash. Vasiliy Sokolov 2017.12.10 16:55 #38 Apparently my question has caused a critical error of division by zero in Petya's head. Let's wait for him to reboot...:)) Sergey Dzyublik 2017.12.10 16:56 #39 The army of MQL blacklisted supporters sincerely thank Reteg Konow for the work he has done in recruiting volunteers. Vasiliy Sokolov 2017.12.10 16:57 #40 Реter Konow: The number 3 is the number of characters in the substring _25_It has three characters - a dash, 25 and another dash.Peter, are you drunk? In the substring of ..._25_... is four characters: _, 2, 5, _. 1234567891011...23 New comment
Add magic: 3, 4, 5, 6
and find the 3rd in the list.
Then you add three and you get the beginning of the megic.
Why three? Where did that magic number come from?
Why three? Where does that magic number come from?
Because the transaction number is written between two dashes so as not to merge with the magic numbers: " _" + transaction_number + "_"
Combine the 3 characters together.
Because the transaction number is written between two dashes so as not to merge with the magician numbers: " _" + transaction_number + "_"
The 3 characters are combined together.
OK, we have recorded the trade as _847700854723_ where is the number three here?
The overall line looks something like this:
The order numbers of the trades are highlighted in red.
In blue, the medians are highlighted.
the number 3 is the number of characters in the trade number substring : _2_
The general line looks something like this:
The order numbers of the trades are highlighted in red.
For those who are particularly gifted, I ask again: Where is the number three!!! ???? If the sequence number of the deal is _25_ - where here the number is three!?
For the very gifted, I ask again: Where is the number three!!! ???? If the sequence number of the transaction is _25_ - where the number is three!?
The number three is the number of characters in the substring _25_.
It has three characters - a dash, 25 and another dash.
Apparently my question has caused a critical error of division by zero in Petya's head. Let's wait for him to reboot...:))
The army of MQL blacklisted supporters sincerely thank Reteg Konow for the work he has done in recruiting volunteers.
The number 3 is the number of characters in the substring _25_
It has three characters - a dash, 25 and another dash.
Peter, are you drunk? In the substring of ..._25_... is four characters: _, 2, 5, _.