Dear all,
my target is to use one indicator and modify the values in MT5 via the iCustom function .
It was a success using the attached code ( TestCopyArray3 ) with the attached tsis.mq5 indi but it doesnt' work with the attached relation.mq5 indi.
Could you please help me ?
ps: the indi Relation needs the Matrices.mqh file available here
Re: MT5 and function iCustom
3"Relation"" has 4 parametersandreatrade1 wrote: Sun May 07, 2017 9:56 pm Dear mladen,
could you please help me with the above issue ?
You are trying to use 5. The "price" can not be passed to that indicator like that. If you wish to have choseable price from parameters, you have to rewrite that indicator
Re: MT5 and function iCustom
4dear mladen,
thanks for your reply but even using 4 parameters ( Handle=iCustom(NULL,0,"Relation",300,true,InpTimePeriod,"EURUSD"); ) or none ( Handle=iCustom(NULL,0,"Relation"); ) it doesn't work.
any help would be really appreciated.
thanks for your reply but even using 4 parameters ( Handle=iCustom(NULL,0,"Relation",300,true,InpTimePeriod,"EURUSD"); ) or none ( Handle=iCustom(NULL,0,"Relation"); ) it doesn't work.
any help would be really appreciated.
Re: MT5 and function iCustom
5Here is how this test looks like when I test itandreatrade1 wrote: Sun May 07, 2017 10:22 pm dear mladen,
thanks for your reply but even using 4 parameters ( Handle=iCustom(NULL,0,"Relation",300,true,InpTimePeriod,"EURUSD"); ) or none ( Handle=iCustom(NULL,0,"Relation"); ) it doesn't work.
any help would be really appreciated.
Attachments
Re: MT5 and function iCustom
6Dear malden,
may be we are close to the solution....if it works on your terminal should work also on mine but this is not happening.
I've paste and copy your indi ( changing also form EURUSD.m to EURUSD ...etc..) but the result is what you see ...nothing.
I'm pretty sure there is a mistake in my configuration ...could you help me ?
may be we are close to the solution....if it works on your terminal should work also on mine but this is not happening.
I've paste and copy your indi ( changing also form EURUSD.m to EURUSD ...etc..) but the result is what you see ...nothing.
I'm pretty sure there is a mistake in my configuration ...could you help me ?
Re: MT5 and function iCustom
7I don't know hat could cause an issue on your terminal. Sorryandreatrade1 wrote: Sun May 07, 2017 11:51 pm
Dear malden,
may be we are close to the solution....if it works on your terminal should work also on mine but this is not happening.
I've paste and copy your indi ( changing also form EURUSD.m to EURUSD ...etc..) but the result is what you see ...nothing.
I'm pretty sure there is a mistake in my configuration ...could you help me ?
Re: MT5 and function iCustom
8It does not get stupider than this :
Short story : using an indicator from expert (metatrader 5 all the time and the simplest iCustom() call). The indicator name ending in "1.3". EA can not load it and causes run-time error in back test. When I removed the "1.3" from the indicator name, oh great wonders, it started to work. Whenever you have a simple "." in the name, EA back-testing goes nuts. I hope they are proud with the latest build of MT 5
Short story : using an indicator from expert (metatrader 5 all the time and the simplest iCustom() call). The indicator name ending in "1.3". EA can not load it and causes run-time error in back test. When I removed the "1.3" from the indicator name, oh great wonders, it started to work. Whenever you have a simple "." in the name, EA back-testing goes nuts. I hope they are proud with the latest build of MT 5
Re: MT5 and function iCustom
9And if for this they are forcing every one to move on mt5,it is users still resisting to stay at mt4mladen wrote: Sun Jul 16, 2017 4:45 am It does not get stupider than this :
Short story : using an indicator from expert (metatrader 5 all the time and the simplest iCustom() call). The indicator name ending in "1.3". EA can not load it and causes run-time error in back test. When I removed the "1.3" from the indicator name, oh great wonders, it started to work. Whenever you have a simple "." in the name, EA back-testing goes nuts. I hope they are proud with the latest build of MT 5
Indicator is just a tool.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Re: MT5 and function iCustom
10Yes, but we all know what is going on with build 1090 of mt4 too.mntiwana wrote: Sun Jul 16, 2017 7:29 am And if for this they are forcing every one to move on mt5,it is users still resisting to stay at mt4
I am afraid that I have no idea what are they doing now (not with mt4 and not with mt5)
Who is online
Users browsing this forum: Amazon [Bot] and 21 guests