
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
I am trying to write a trading system that uses Bollinger Bands as part of my indicators. The problem I am running into is that the IBands results does not match what I see visually on the charts using the MT4 Bollinger Bands indicator.
Could someone please help me know what I need to do to make sure the EA matches what I see on the charts.
Thanks
double bandsUpper = iBands(NULL,timeFrame,20,2,0,PRICE_CLOSE,MODE_UPPER,0);
double bandsLower = iBands(NULL,timeFrame,20,2,0,PRICE_CLOSE,MODE_LOWER,0);
MT4 Bollinger band indicator parameters are identical:
Period: 20
Shift: 0
Deviation: 2
Apply 2: clos