Hi,
I've tried a dozen things before posting this. I've used iCustom with many indicators but with this one it seems imposible to me.
I'm trying to create an indicator which uses BB_MACD_CCT (attached).
I'm using BBM = iCustom (0,0,"BB_MACD_CCT",FastLen,SlowLen,Length,StDv,1,i)
However I don't get any results.
What I'd want is to know when the ball is red or blue.
For example (in english, not MQL4):
If (BBM = red) THEN display a red bar.
If (BBM = blue) THEN display a blue bar.
I'm doing this:
double A1 = iCustom (0,0,"BB_MACD_CCT",FastLen,SlowLen,Length,StDv,1,i);
double A2 = iCustom (0,0,"BB_MACD_CCT",FastLen,SlowLen,Length,StDv,2,i);
if (A1>0)
ExtMapBuffer1[i]=1;
if (A2>0)
ExtMapBuffer2[i]=1;
Any ideas?
.
I've tried a dozen things before posting this. I've used iCustom with many indicators but with this one it seems imposible to me.
I'm trying to create an indicator which uses BB_MACD_CCT (attached).
I'm using BBM = iCustom (0,0,"BB_MACD_CCT",FastLen,SlowLen,Length,StDv,1,i)
However I don't get any results.
What I'd want is to know when the ball is red or blue.
For example (in english, not MQL4):
If (BBM = red) THEN display a red bar.
If (BBM = blue) THEN display a blue bar.
I'm doing this:
double A1 = iCustom (0,0,"BB_MACD_CCT",FastLen,SlowLen,Length,StDv,1,i);
double A2 = iCustom (0,0,"BB_MACD_CCT",FastLen,SlowLen,Length,StDv,2,i);
if (A1>0)
ExtMapBuffer1[i]=1;
if (A2>0)
ExtMapBuffer2[i]=1;
Any ideas?
.
Attached File(s)
BB_MACD_CCT.mq4
4 KB
|
872 downloads