Page 1 of 1

RSI iCustom

Posted: Fri Apr 28, 2017 11:56 am
by Cladi39
Hello mladen, i try to use this indicator with iCustom function but change the perior to 2 ( default is 14), and no success, can you tell me whats is wrong , sorry im learning to code.

double ln = iCustom(NULL,0,"All time frame RSI 2.5.1",2,0,i);

Re: RSI iCustom

Posted: Tue May 02, 2017 2:36 am
by mladen
Cladi39 wrote: Fri Apr 28, 2017 11:56 am Hello mladen, i try to use this indicator with iCustom function but change the perior to 2 ( default is 14), and no success, can you tell me whats is wrong , sorry im learning to code.

double ln = iCustom(NULL,0,"All time frame RSI 2.5.1",2,0,i);
Cladi39

You are missing one parameter (the first one)
Do like this :

double ln = iCustom(NULL,0,"All time frame RSI 2.5.1","",2,0,i);

Re: RSI iCustom

Posted: Tue May 02, 2017 1:43 pm
by Cladi39
mladen wrote: Tue May 02, 2017 2:36 am Cladi39

You are missing one parameter (the first one)
Do like this :

double ln = iCustom(NULL,0,"All time frame RSI 2.5.1","",2,0,i);
Thanks soo much mladen work perfectly.

Re: RSI iCustom

Posted: Tue May 02, 2017 3:49 pm
by mladen
Cladi39 wrote: Tue May 02, 2017 1:43 pm Thanks soo much mladen work perfectly.
Happy trading :)