Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 810
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
Hello, could you tell me how to add a sound signal to the indicator source code?
Can you tell me if it is possible to combine two indicators in one indicator and add sound at the moment when the indicators cross each other?
Hello, could you tell me how to add a sound signal to the indicator source code?
i would like to know if it is possible to combine two indicators in one indicator and add a sound when the indicators cross?
here is an article on how to add a sound to the indicatorshttps://www.mql5.com/ru/articles/1448
or your question is "write it for me" ?
I still don't understand how to get access to the internal code of functions like ArrayResize() orArrayCopy(), who knows how to look at the internal code of these functions?
no way, these are built-in functions, they are highlighted in purple in the meta-reader
https://www.mql5.com/ru/articles/1496
Check if it will work with time in the future. Otherwise only by checking on the day of the week and adding up without days off.
no, these are built-in functions, they are highlighted in purple in the meta-reader
But they should have a source code. You could refine them and get something better, or create something interestingly similar.
But they must have source code. You could refine them and get something better or create something interestingly similar.
It shouldn't.
it shouldn't
If it shouldn't or doesn't exist then how does it work, the code must still be there.
Which function can I use to reverse the direction of array indexing, I tried ArraySetAsSeries and I also tried ArrayReverse, the numbers remain on their indexes as before, I output with Print()?
Which function can I use to reverse the direction of array indexing, I tried ArraySetAsSeries and I also tried ArrayReverse, the numbers remain at their indexes as before, I output with Print()?
ArraySetAsSeries()
script to test:
results:
2019.04.16 14:20:55.493 Script tst EURUSD,H1: removed
2019.04.16 14:20:55.489 tst EURUSD,H1: uninit reason 0
2019.04.16 14:20:55.489 tst EURUSD,H1: 10 , 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 ,
2019.04.16 14:20:55.489 tst EURUSD,H1: 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ,
2019.04.16 14:20:55.489 tst EURUSD,H1: initialized
2019.04.16 14:20:55.464 Script tst EURUSD,H1: loaded successfully
if it shouldn't or doesn't exist, how does it work, the code should still be there.
I have a feeling you're trying to persuade me to show you the source code of ArrayResize() or ArrayCopy().
No, you can't, there's no source code anyway, these are built-in functions, and the fact that you opened the file ArrayDouble.mqh means only that you got acquainted with the standard libraryhttps://www.mql5.com/ru/docs/standardlibrary
))
I have a feeling that you're trying to persuade me to show you the source code of ArrayResize() or ArrayCopy()
I don't get the impression that it's just a crooked array handling in mql4, and I'd like to create more such functions.
I don't get the feeling but it is, crooked array handling in mql4 and would like to create more of such a function.