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
It's just not clear to us chukchi why you say we are trying to subtract arrays, we do as shown in the MKL4 dictionary:
Please, advise!
Here's the code with the error
And here's a worker
Is there any standard command that allows the expert
to see the intersection of the averages. For example, an average of period 5 crosses an average
of period 20. Can the Expert Advisor see as a person the moment of crossing,
is there a standard function or command for this type of thing?
The figure below shows the intersection of the red and green averages as
It is an example of what the Expert Advisor should see and work on this signal.
M2 is the second sliding.
We need to compare the signs of differences (M1 - M2)
on the current and previous bars.
If they are different, it means that there is a crossover.
The special case is when one of the differences = 0.
You can do it like this
(haven't checked it myself)
there is no standard one.
is there a standard function or command for such things?
Easily
see iMAOnArray dictionary, there's even an example with intersection
just in case
2Sysadmin, the "enter" button is hidden again. Also, as far as I understand [pre] has been replaced with [code]?