Compilation error ..
-
Hi guys,
I seem to get the following error .. is it me or ..?
Any help is greatly appreciated .. -
Try exporting to .mq4 (.mq5) and use the metaeditor to compile. It will give a more detailed error report, telling which block is the problem.
-
Hi Roar .. gave that a go .. but I must admit that I can't make sense of what it's telling me ..
Something to do with the "iCustom" function .. which I think is having issues in relation to the "atrPips" variable???




It's beyond me .. does it mean anything to you?
Again, any help is greatly appreciated ..
-
I am not much of a MQL coder, but I think this is going on here:

The comma after "iCustomName" means that there should be a fourth parameter to the function. Instead of the fourth parameter, the function ends with ")". That's why its saying "parameter missed".Try removing that useless comma after iCustomName.
The warnings (yellow icon) dont mean anything really, I got 30 of them every time and my bot runs perfectly.
-
Thanks roar .. that certainly did the trick .. I take my hat off to you ..
From my position your MQL coding skills are legendary ..Again, thanks for your help.
Now, to go and lose some money ..!!?
-
Glad to help

-
The code in question (where the extra , appears) is from

I will check it, but I think it's better to add the indicator in the system and work with it via "Indicators (My Indicators)"