shawnM :
Would anyone have any suggestions for this please?
Thanks!
Shawn
There is a mistake in the program, so a runtime error has occurred.
Please correct lines 53 and 54 as follows.
//if(counted_bars>0) counted_bars--; if (counted_bars == 0 ) limit = Bars - period; else limit= Bars -counted_bars;
That did it! Thank you so much Naguisa... much obliged!!
Cheers
Shawn

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 Group... I was looking around for an indicator that would display Bollinger Bands Width and also sound an alert when a certain minimum width would be hit. I thought I found exactly what I needed when I came upon this:
https://www.forexfactory.com/showthread.php?t=412582 (specifically the later version provided in Post #4, provided generously by Mr. Hanover...)
But alas, it does not update/refresh itself automatically on the chart. In the code itself, it wouldn't immediately compile for me (using MT4 Build 1090) as some variable names had periods in the middle of them like "BWI.Buffer", so I just took the periods out and it then compiled OK. But as I mentioned, not working right.
I tried adding a "RefreshRates()" at the beginning of the "Start()" routine but it did no good. The "mqh" include files provided with the indicator are also a mystery to me, as I can't see where they are called within the indicator code.
Would anyone have any suggestions for this please?
Thanks!
Shawn