[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 332
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
I have a template (with indices) and 3 terminals. On one terminal, when I apply a template to EURGBP Daily terminal hangs forever - on other symbols, or other times, or other terminals of the same DC all works without problems, but on one terminal and one symbol one time hangs.
Imagine that one of the indicators is so sharpened that the D1 timeframe is a scary place for it. :) In short, you need to look at the code - most likely the cause is there.
Imagine if some of the indicators are so sharpened that the D1 timeframe is a scary place for them. :) In short, you need to look at the code - most likely the cause is there.
Must have messed up something with the buffers again. Please take a look at it.
The task is as follows:
1) The LSMA is calculated. If [i]>[i+1] - colour is green, if [i]<[i+1] - colour is red. Everything is clear with this.
2) I need to find the length of the series of green and red values and store them in an array. This is the problem which I have not yet managed to solve by myself.
I must have messed up something with the buffers again. Please take a look at it.
The task is as follows:
1) The LSMA is calculated. If [i]>[i+1] - colour is green, if [i]<[i+1] - colour is red. Everything is clear with this.
2) I need to find the length of the series of green and red values and store them in an array. This is the problem which I have not yet managed to solve by myself.
What's not to like about this indicator
Why don't you like this indicator?
Vinin, I actually did it according to your sample, but the point is different: it's not the calculation method itself that's important to me (be it the simplest MA), but the solution to the problem in point 2.
I need to get an array that stores the length of green or red series for further analysis.
Vinin, I actually did it according to your sample, but the point is different: it's not the calculation method itself that matters to me (be it the simplest MA), but the solution to the problem in point 2.
I need to get an array, which stores the length of green or red series for further analysis.
Why do you need an array?
Why do you need an array?
There is a library for mouse trading https://www.mql5.com/ru/code/9671
I'm having absolutely no luck connecting it, please help.
I download all the files I need into the expert folder then compile, but still the indicators have black windows with no data.
Obviously some kind of childish error, but I can't find it for 24 hours.
There is no need to folder anything. The archive already contains all the files, all you need to do is unpack the archive into the terminal folder and compile.
Only indicator files are compiled, libraries (mqh) don't need to be compiled. Try to put a new terminal and practice on it.