I have hit a wall that I can't get my head around (many years since my last math course). I am wanting to write some code for Bollinger Bands that accomplishes this:
HHV(5,H) does not exceed the BBandtop by more than 75% of the difference between the BBandtop and the BBand moving average. Any help appreciated, William
