amando:
Hello,
on MQL4 it was very easy to get the value of Bollinger Bands
double Upper = iBands(NULL,0,20,2,0,PRICE_CLOSE,MODE_UPPER,1);
double Middle =iMA(NULL,0,20,0,MODE_SMA,PRICE_CLOSE,1);
double Lower = iBands(NULL,0,20,2,0,PRICE_CLOSE,MODE_LOWER,1);
hot is the same on MQL5?
just found out, that i get with iBands only the middle band
regards
1. Please use SRC button when you post code.
2. Did you tried to use the search function on the site ?
3. You can find a example on that article.

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
Hello,
on MQL4 it was very easy to get the value of Bollinger Bands
double Upper = iBands(NULL,0,20,2,0,PRICE_CLOSE,MODE_UPPER,1);
double Middle =iMA(NULL,0,20,0,MODE_SMA,PRICE_CLOSE,1);
double Lower = iBands(NULL,0,20,2,0,PRICE_CLOSE,MODE_LOWER,1);
hot is the same on MQL5?
just found out, that i get with iBands only the middle band
regards