MTF & Repainting
Most of the trust questions a careful reader will have about this indicator land on this page. The short version: every slot reads its Donchian values on the slot's chosen timeframe, and a single global switch — `On B...
Written By Axiom Admin
Last updated 22 days ago
MTF & Repainting
Most of the trust questions a careful reader will have about this indicator land on this page. The short version: every slot reads its Donchian values on the slot's chosen timeframe, and a single global switch — On Bar Close? — decides whether those values are confirmed reads of the previous higher-timeframe bar or live reads of the current one. The long version is the rest of this page.
Read this page before you tune anything else on the indicator. The repaint posture is the one choice on the Base trim that changes what every other knob means.
What repainting is, and why it matters here
A higher-timeframe overlay on a lower-timeframe chart has to answer a question the chart itself cannot answer: what value should the indicator report on a chart bar that is inside a higher-timeframe bar that has not yet closed?
There are two honest answers. The first is "the value from the previous closed higher-timeframe bar" — stable, late, and identical to what you will see when you look at that chart bar an hour later. The second is "the value the higher-timeframe bar has right now" — live, early, and subject to change every time the higher-timeframe bar updates. Both can be the right answer for different jobs. Only one of them survives a look-back.
If you take the second answer and present it as though it were the first, the chart you look back at tomorrow will not match the chart you looked at today. That mismatch — a picture that silently redrew between the moment you read it and the moment you reviewed it — is repainting. Readers who have been hurt by it before know the exact feeling: a strategy that looked crisp live, a backtest that looked convincing, and a slow realization that the clarity was built on a value that was never really holding still.
Axiom DC does not pick for you. It gives you a switch and it names the tradeoff, so whichever way the chart reads tomorrow is the way you chose rather than the way you inherited.
The switch
On Bar Close? lives in the PU Settings group at the bottom of the inputs dialog. It is a single boolean.
ON (default). Every enabled slot reports the previous confirmed higher-timeframe bar's Donchian upper, lower, basis, and basis-trend state. The slot's lines step forward at each of its higher-timeframe closes. Once a value is drawn on a chart bar, it does not change later.
OFF. Every enabled slot reports the current, live higher-timeframe bar's values. The slot's lines can move on the current chart bar until the slot's higher-timeframe bar closes.
ON is slow and stable. OFF is fast and redraws. Neither is the "correct" answer — you pick based on which failure mode is more tolerable for the reading you are doing.
The switch is global, not per-slot
This is the single most important scope fact about the Base trim, and it is worth stating directly so a reader cannot miss it: On Bar Close? applies to every enabled slot at the same time.
There is no per-slot repaint switch on this trim. You cannot run Slot 01 on ON and Slot 03 on OFF. Flipping the global switch changes the posture of the whole stack in one step.
If you came here from the CTX trim, recalibrate your expectations — CTX carries per-slot repaint control; the Base trim does not. If you need per-slot repaint control, the CTX trim is the right tool and no configuration on this trim will produce it.
ON, plainly
Under ON, every slot is showing you what it saw as of the close of its most recent higher-timeframe bar.
On a 1-minute chart with Slot 03 at 60 minutes, that means: at any 1-minute close, Slot 03's lines are what Slot 03 computed at the last 60-minute close. Slot 03 will not update until the next 60-minute close. In the meantime, the 1-minute bars tick away, but Slot 03 holds.
What this buys you:
Historical stability. Scroll back three days on the chart, and Slot 03's lines on any historical bar will match whatever that slot reported when that bar was live. What you see in history is what you saw in real time.
Alerts that are meaningful. The alert was evaluated against a confirmed value. It is not going to turn out to have been based on a number that later moved.
Reasoning about decisions after the fact. When you review what happened on a chart yesterday and ask "what was the slot saying at the time," the answer is unambiguous.
What it costs you:
Latency. Slot 03 is, structurally, one 60-minute bar behind the live market. If the market moves hard in the first ten minutes of a 60-minute bar, Slot 03 does not reflect that move until the bar closes.
If latency in exchange for stability is the tradeoff that fits your read, leave the switch on.
OFF, plainly
Under OFF, every slot is showing you what it sees right now on the live higher-timeframe bar. Slot 03 on a 1-minute chart will update whenever the live 60-minute bar's high or low moves, or whenever the live 60-minute bar's midpoint crosses a smoothing threshold.
What this buys you:
Responsiveness. The live higher-timeframe bar is what the higher-timeframe bar is actually doing right now. On a 60-minute slot, that is a substantially different read from "the previous 60-minute bar" during the first half of a 60-minute bar.
What it costs you:
Redraws. As the higher-timeframe bar keeps forming, the slot's values can change. The lines drawn on the current chart bar are provisional and may move again until the higher-timeframe bar closes.
Historical non-stationarity for intrabar states. If you take a screenshot of a mid-60-minute-bar read under OFF and come back to the same chart an hour later, the slot's lines on the chart bar where you took the screenshot will not necessarily match the screenshot. They resolve to the 60-minute close, not to the intrabar reading you captured.
Alert noise. The alert's underlying condition can be computed against a value that later moves. The alert still fires at the chart-bar close, but the value it fired on may redraw.
If responsiveness with redraw exposure is the tradeoff that fits your read, flip the switch off. But flip it deliberately. And remember: the switch flips every slot at once, including the slowest.
A verification drill you can do in three minutes
This drill is the fastest way to see the ON-versus-OFF tradeoff with your own eyes. Do it once. It will make every future repaint decision easier.
Open a 1-minute chart on a liquid symbol.
Disable Slots 01 and 02. Leave Slot 03 enabled at its default 60-minute timeframe.
Leave
On Bar Close?on.Wait until you are clearly in the middle of a 60-minute bar — not near its open, not near its close. Ten minutes in, twenty minutes in.
Note Slot 03's upper, basis, and lower on the chart. Watch the chart for thirty seconds. The lines do not move.
Flip
On Bar Close?off. Watch the same lines for thirty seconds. They may shift. Whether they shift or not depends on whether the live 60-minute bar is currently printing a new high or low, or whether its midpoint is drifting. Let a few live ticks happen and you will usually see motion on the lines within a minute.Flip
On Bar Close?back on. The lines snap back to where they were at step 5 — they are returning to the previous confirmed 60-minute value.Wait for the next 60-minute close. Under ON, that close is where Slot 03 takes a discrete step. Watch it step.
By the end, you have seen the same slot behave both ways on the same chart bar. That distinction is all the switch does.
When OFF is the right call, and when it is not
OFF earns its keep when:
The reader is scalping on a fast chart and needs the live higher-timeframe read more than the stable one. The redraw is a known cost, not a surprise.
The reader is working on the chart in real time and treats the slot as orientation rather than as alert fodder.
OFF is the wrong call when:
The reader is going to set alerts and act on them without verifying at the higher-timeframe close.
The reader is going to look back at the chart later and treat the historical lines as what was seen at the time.
The reader cannot tolerate a slot's lines moving underneath them mid-decision.
If you find yourself tempted to leave OFF on "because it feels faster," check whether you are really making the tradeoff or whether the tradeoff is making itself on you.
The timeframe guard — why the indicator will sometimes refuse to render
A slot's TimeFrame: must be equal to or higher than the chart's timeframe. If you set a slot to a timeframe below the chart's — say, Slot 01 at "1" on a 5-minute chart — the indicator will stop rendering and TradingView will show a red error banner:
DC NN timeframe cannot be lower than the chart timeframe.
The NN names the specific slot at fault. Fix that slot's timeframe to an empty string (which inherits the chart's timeframe) or to any timeframe equal to or higher than the chart's. The error clears on the next recompute.
The guard exists because a slot cannot meaningfully resolve a lower-timeframe higher-timeframe read. Asking a 1-minute slot to run on a 5-minute chart is not fine, because 1 minute is below 5 minutes and the values would be ambiguous. The error is the indicator saying so out loud rather than drawing a quietly wrong line.
Early-bar warmup
Before a slot has enough higher-timeframe bars to fill its Length window, its values can be na and the slot's lines will not render on the earliest bars of the chart. The blended channel's math applies a fallback to keep the composite from breaking while slots are still warming up — the result during that early window can land near zero, which looks strange but is the indicator behaving as designed during warmup. Do not treat the blend or blended basis alerts as meaningful until the contributing slot lines have valid data.
If you see blank slot lines at the left edge of the chart, scroll forward. Once each slot has accumulated enough history, the lines come in. If the blank persists deep into the chart, check the slot's Length: — a very long length on a slot whose higher-timeframe history is short on the chart will stay na longer than feels right.
A short checklist before you rely on the indicator
Is
On Bar Close?set deliberately? On for alerts and for looking back at history. Off only when you know what redraw exposure you are buying.If off: are you reading the slots actively and at the moment, rather than setting alerts you plan to trust unsupervised?
Have you confirmed the switch applies to every enabled slot at once? Yes, always — it is global on this trim.
Have you checked the earliest chart bars for warmup
nathat you might have mistaken for something else?Have you seen the runtime-error banner once on purpose, so you will recognize it when it shows up unannounced?
If the answers read cleanly, the repaint posture on your chart is an honest choice. That is the most important thing this page can leave you with.
One final framing, because it is the thing readers thank us for later: the repaint switch is not a feature hiding from you. It is a decision the indicator cannot make on your behalf without lying. Pick the posture that matches how you intend to use the chart today. Pick a different posture tomorrow if the job is different. Each time you flip it, ask yourself the same small question — am I reading the chart live, or am I going to come back to it later and treat today's picture as reliable. Your honest answer decides the switch.