• Get access

EA With Bollinger Band Problems

To add comments, please log in or register
Andrew Bishop
41
Andrew Bishop  
Good Day,
I've been having problems accessing the High and Low bars of the bollinger bands. I have tried the iCustom Approach and it seemed to work while I tested for the values. Then when I used it in my EA, I get nothing. This is what I tried:
//-- Bollinger Bands
BBandHi = iCustom(NULL,0,"My Bands",20,0,2.0,1,0);
BBandMid = iCustom(NULL,0,"My Bands",20,0,2.0);
BBandLow = iCustom(NULL,0,"My Bands",20,0,2.0,0);

if you know what I'm doin wrong, let me know. Or of you have another way to do it, that will work, that'll be just as good.

Thanks,
Andrew
MetaQuotes
Moderator
214770
MetaQuotes  
You should check your "My Bands.mq4" code.
To add comments, please log in or register