
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
Why is the expert unloaded when the button is pressed?
What do you read in the log?
2011.04.03 19:19:31 simple (EURUSD,M15) Array out of range in ' simple.mq5' (43,19)
This isnot the right code, here is a code of the Expert Advisor that is unloaded on pressing the button:
2011.04.03 19:19:31 simple (EURUSD,M15) Array out of range in ' simple.mq5' (43,19)
Wrong code, here is the code of Expert Advisor that is unloaded on pressing the button:
It is clearly written in the log why. If translated into Russian, it says the following - exit outside the array in simple.mq5. The error at line 43
And there is one more thing. Most likely, the error is that you haven't set the array size
double ZigZag1[],ZigZag2[],ZigZag3[];
It is clearly written in the log why. If translated into Russian, it says the following - exit outside the array in the simple.mq5 file.
Gentlemen! Can you tell me if there is a class that can be sent an array of table elements and it will display this table on a chart?
There's a multidimensional array, it just needs to be plotted as a table. maybe there's a standard class for quick table output?
Print it to a file and look it up in excel.
But I think you won't be satisfied with this, so I asked for additional conditions like "this should be displayed on the fly", etc.