Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1886
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
Thank you. Does this not only work in indicators, but also in robots?
I don't know your problem, but it flips the array
I don't know your problem, but it flips the array
We need indexes in the array to coincide with the shift value relative to the current bar, like inindicator buffers.
You need the index values to match the candlesticks after the appearance of new candlesticks, like in indicators.
We need indexes in the array to coincide with the shift value relative to the current bar, like inindicator buffers.
You need to get the index values to match the candlesticks after the appearance of new candlesticks, like in indicators.
Try it, it should work
Try it, it should work.
It doesn't work like this. I write 300 in index 0, when a new candlestick appears it should be 300 in index 1, but no.
I can write myself "displacement" of the whole array in the loop at new candlesticks, but the language for working with charts, probably, there is something standard.
it doesn't work like this. I write 300 in the index 0, when a new candle appears it should be 300 in the index 1, but it is not.
I can write myself "displacement" of the whole array in the loop at new candlesticks, but in the language for working with charts, probably, there is something standard.
It flips, but there's no point.
It needs to be filled in another way
it doesn't work like this. I write 300 in the index 0, when a new candle appears it should be 300 in the index 1, but it is not.
I can write myself "displacement" of the whole array in the loop at new candlesticks, but in the language for working with charts, probably, there is something standard.
Yes, there is a standard one... Add to the array and remove from the array. The array should be dynamic. Look in the documentation for more details, I don't remember how they are written...
Turns it over, but there is no point
It needs to be filled in another way
does not work
Yes, there is a regular one... Add to array and remove from array. The array has to be dynamic. Look in the documentation for more details, I can't remember how they are written...
(May someone remember?))
(Who can remember?))
Something about arrays
Something on arrays
👍