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

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
There is a code:
It's supposed to create a trend line. And the code goes in and everything seems fine, but the line is nowhere to be seen on the chart or in the list of objects... And there's the exact same code right in front of it! It also draws a line and everything is OK, it's on the chart. But this code doesn't finish something... probably. What can it be?
There is a code:
It's supposed to create a trend line. And the code goes in and everything seems fine, but the line is nowhere to be seen on the chart or in the list of objects... At the same time, I have exactly the same code right in front of it! It also draws a line and everything is fine, it's on the chart. But this code doesn't finish something... probably. What can it be?
the same name as the first one?
Same name as the first one?
No, different. Is there any way to trace the creation and deletion of the line ?
Tried debugging... I get a hang-up... :(
Added:
All e, solved the problem : )
There is no candlestick in the middle of the day, Euro dollar on 26/11/19 at 21-58 and at once at 22-00, the one at 59 is not equal to a point, it is absent, candlesticks are close without a space.
Metatrader feature, no prices and no data no candle
Poor Russian language... What can they say without understanding the meaning of the word...
This is clear, but what to do with the fact that many banks simply rob all in a row by requiring verification of the amount and if there was a counterparty struck or something like a foreign exchange difference, then what? And the fact that they require 20% for withdrawal to another bank. somewhere they write a non-declaration and the norm before the tax and the bank will rob just in the way no?
Please advise on this subjecthttps://www.mql5.com/ru/forum/160683/page1003#comment_14013137 .
This is understandable, but what about the fact that many banks just rob all in a row by asking to confirm the amount and if there was a counterparty struck or something like a foreign exchange difference, then what? And the fact that they require a 20% withdrawal to another bank. somewhere they write a non-declaration and the tax authorities are normal, but the bank will rob just in the way no?
Fight intestinal problems and everything will be fine.
Please advise on this subjecthttps://www.mql5.com/ru/forum/160683/page1003#comment_14013137 .
Why are you not satisfied with the explanation in the documentation?
It's because there's not a lot of information. I want to understand how the reserve memory works. I also want to understand if the elements are copied to the new space when the size increases. Meaning if I created an array this way?
If I want to make 11 by 20 will the elements be copied to the new space or not? If I make it 10,0 will the elements be copied to the new space or not? Does the backup memory help to solve this problem? Backup memory is just an extra space.
If this extra memory is not one with the array memory, it means that when you resize it, the elements will be copied to the reserve memory and the old space will be deleted.
If this area is one unit and is in operation, no copying will take place until this area is used.
If we take this example
when this array is enlarged, elements will be copied into a new segment; besides, this segment will have to be found anew every time, because there is no reserve.
In the last example we had to find a new section in the caboose and redraw the elements. The question is what the reserve memory is for.