
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
well actually i put IndicatorValues_op[50], thats why i just have problem with string data :
But here example :
what if in the data have string data
i can't do expectedCode = DoubleToStr( expectedCode );
how can I Switch Double expectedCode to string expectedCode when in the array have string data?...
I had tried to create a customizer and was trying something similar. I was able to cast double params easily between int and boolean.
But if I passed strings to icustom this way, it would not work.
I think it's because of metatrader's own internal inline type casting for variables passed to iCustom.
I had done a lot of research. And a lot of other people have been facing the same issue with MT4. But didn't find a fix.
e.g.
https://github.com/vdemydiuk/mtapi/issues/70
(This is not my project).
I ended up working with custom wrappers for indicators. Instead of using param strings.
I had tried to create a customizer and was trying something similar. I was able to cast double params easily between int and boolean.
But if I passed strings to icustom this way, it would not work.
I think it's because of metatrader's own internal inline type casting for variables passed to iCustom.
I had done a lot of research. And a lot of other people have been facing the same issue with MT4. But didn't find a fix.
e.g.
https://github.com/vdemydiuk/mtapi/issues/70
(This is not my project).
I ended up working with custom wrappers for indicators. Instead of using param strings.
thanks for u reply
this is what i think , 4 years ago i try to build this EA but i give up, becaouse i meet same problem (switch input double to input string) ,, but i find this EA , called UniversalEA (file in attach) ... this EA can input parameter double and string in one type data , i dont know how, i try to contact the dev but he no active again ,,