Custom Indicator, error at compiling
-
Hi there,
I made a custom indicator (modified from the original version).
Its an S&R Indi (the one you know from the past maybe), that draws this zones.Now I modified the indi to adapt ZigZag Parameters, that are responsible for drawing the zones. This indi has about 12 more parameters defined in its code as external variables.
I imported this indi successfully into fxdreema. The indi itself also compiles fine and behaves as it should with the new parameters. Now if I put that Indi into a condition block and try to compile, I receive a compile error when doing the ex4, which tells me "Wrong parameters count"
Please see here
http://prntscr.com/2kczg2Thats the error at the condition block where the indi is initialized with all its parameters. Now, I googled but cant find it out. Why do the new parameters lead to an issue in compiling ?
Any help appreciated

Thanks
Andy
-
iCustom allows many input parameters without giving error message.
This gives this error:iCustom(1,2,3,4);This does not:
iCustom(1,2,3,4,5); iCustom(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17);so if it have more than 4 parameters - everything is ok with this function, it does not actually read if something in the indicator is right or wrong.
http://docs.mql4.com/indicators/icustom
This function IndicatorMoreShift() should work without parameters. So from that screenshot for me everything looks fine, or at least I can't recreate this here.
Is it possible that another function is responsible for this error?