Does this repaint? How does On Bar Close? actually work?
With On Bar Close? ON, the higher-timeframe Donchian values come from the previous completed higher-timeframe bar, so the values stay stable once that bar has closed. With OFF, the higher-timeframe values come from the live bar and can revise until that bar closes. In either mode, every alert is gated to confirmed chart bars, so no alert can fire mid-chart-bar. If you are acting on alerts, leave the toggle ON. If you want a faster look at the developing higher-timeframe bar and accept that it can revise, use OFF.
One of my slots is not rendering. What happened?
Almost always: the slot's timeframe has been set below the chart timeframe. When that happens, the script raises a named runtime error at the top of the script output identifying the offending slot, rather than returning a misleading value. Fix the slot timeframe so it is at or above the chart timeframe, and the slot will render again.
Is the combined channel a smarter Donchian?
No. The combined channel is a weighted average of whatever the enabled slots are producing on the current bar. It inherits the quality of the slots it is fed. If one slot is misweighted or set to an inappropriate length, the combined line will be pulled along with it, without any visible warning on the chart. Treat it as a glance-level summary you can always pull apart, not an authority.
Why is the basis smoothed but the upper and lower are not?
Because the upper and lower are meant to show the actual range — the highest high and lowest low for the slot's length. Smoothing those would blur the levels you are trying to read. The midpoint is where smoothing earns its keep: it gives you a basis calm enough to read trend against without distorting the bounds. The cost is that on fast range expansions the basis will visibly lag inside the channel rather than sit at the exact center.
Base, CTX, or STR — which version do I need?
- If the question is "how do the chart-side and two higher-timeframe Donchian reads line up on this bar, and what does a weighted summary look like?", Base answers it.
- If you need more than three slots, per-slot repaint control, cross-symbol studies, or the power-user basis MA parameter block, reach for CTX.
- If you also want structure-expansion overlays on top of the blended read, reach for STR where the STR version exists.
The versions answer different questions. Base is focused, CTX is context breadth, and STR is blended-output structure.