Well I learned some interesting things about iCustom, I hope you didnt eat all that popcorn already ubzen :)
It appears you can use doubles for parameters that expect integer, datetime or bool and the called indicator works correctly even the bools work (as long as the double in iCustom is 1.0 or 0.0) Also you can pass too many parameters to iCustom, the extra ones are ignored.
A noticable issue arises if the expected parameter is a string, if a double is passed it seems to slow down iCustom a lot (there must be some internal stuff going on when an unusable parameter type is passed) the called indicator loads more slowly and it uses its default string.
This should mean as long as the called indicator does not have string externs you could load up an iCustom call with a bunch of doubles to pass directly to it extern double values entered by the user and it should work.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Well I learned some interesting things about iCustom, I hope you didnt eat all that popcorn already ubzen :)
It appears you can use doubles for parameters that expect integer, datetime or bool and the called indicator works correctly even the bools work (as long as the double in iCustom is 1.0 or 0.0) Also you can pass too many parameters to iCustom, the extra ones are ignored.
A noticable issue arises if the expected parameter is a string, if a double is passed it seems to slow down iCustom a lot (there must be some internal stuff going on when an unusable parameter type is passed) the called indicator loads more slowly and it uses its default string.
This should mean as long as the called indicator does not have string externs you could load up an iCustom call with a bunch of doubles to pass directly to it extern double values entered by the user and it should work.
I wonder if iCustom is doing the work to convert the doubles or if the terminal is doing it.