That said, thanks for exaplaining about the stochastic spread. I missed that Opacity of 0 would mean that it didn't display. In any case, it's now working fine, pic attached.
Not that this is vitally important - again learning how to code is more the point here - but the idea behind this was to highlight the trading range (between the Donchians) once it narrows without coloring the entire screen so as to a) keep the overall trend in mind visually and b) highlight the specific range area and also c) if that range is protracted and starts narrowing, this will show clearly on the chart so the breakout levels become more pronounced than when the entire screen is (in my case) pink.
Thanks to all.
Have now attached Donchian only version soon in case anyone else would find this of interest/helpful. Also pic showing this indicator alone in action.

Comment