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
type name[] = { CONSTANT1, CONSTANT2 ...};
you're not using constants but variables.
Thankyou,
I didn't realise that the values had to be constants.
So the only option is the long winded way :(
Thankyou,
I didn't realise that the values had to be constants.
So the only option is the long winded way :(
Hey folks! Thanks so much you have solved it.
I think raptors fix stating the string array[] ={ ''aaa", "bbb"}; must be used at Global variable define time,
should be added to the Help code on arrays on the platform. Following that you just index each element "string result=array[0];"
I just could not find "string arrays defined" anywhere on Google that then compiled, let alone on MT4 forum.
I eventually heavy coded the separate indexed move procedure as below which works. Thanks everyone.
Thankyou,
very useful piece of code, but I had to change temp+= because it wouldn't compile.
but I don't see how this relates to my post