Visuals and Logic

This page covers everything the oscillator draws in the pane, what each element means, what causes it to change, and how to read the oscillator with enough depth that you are not fooled by surface-level impressions.

Written By Axiom Admin

Last updated About 1 month ago

Visuals & Logic

This page covers everything the oscillator draws in the pane, what each element means, what causes it to change, and how to read the oscillator with enough depth that you are not fooled by surface-level impressions.


What is in the pane

The oscillator renders in a separate pane below the price chart. It does not draw anything on the price chart itself. Knowing what each element is β€” and what makes it move β€” is the difference between reading the oscillator and guessing at it. This section covers every visual component so you can look at the pane and know exactly what produced what you see.

Individual slot Fast lines

Three oscillator lines, one per enabled MA slot:

Slot

Color (bullish regime)

Color (bearish regime)

Default width

MA 01

Teal, full opacity

Teal, 50% transparent

2

MA 02

Aqua, full opacity

Aqua, 50% transparent

2

MA 03

Blue, full opacity

Blue, 50% transparent

2

Each Fast line shows a bounded distance score: how far the source price is from the slot's baseline moving average, measured in ATR units and bounded through a tanh function into the βˆ’100 to +100 range.

  • A value near +100 means price is far above the MA in ATR terms

  • A value near βˆ’100 means price is far below the MA in ATR terms

  • A value near zero means price is close to the MA

Only the Fast line is plotted for each slot. The Slow line (a smoothed version of Fast) is computed internally for two purposes β€” regime color and alerts β€” but it does not appear as a separate visible line. You see the Slow's influence through the color change on the Fast line.

A slot's Fast line appears in the pane only when the slot is both enabled and not hidden. If the slot is enabled but hidden (Hide Plot is on), the slot still computes and feeds the blend, but its line is invisible. If the slot is disabled, it does not compute at all.

Blended Fast and Blended Slow

When the Plot Blended Fast/Slow setting is on (the default), two additional lines appear:

  • Blended Fast β€” a weighted average of all enabled slots' Fast values. Drawn with a configurable line width (default 3). Colored lime when in bullish regime (Blended Fast > Blended Slow), red when bearish.

  • Blended Slow β€” a weighted average of all enabled slots' Slow values. Same line width. Always gray, regardless of regime direction.

A translucent fill shades the region between Blended Fast and Blended Slow:

  • Lime fill when Blended Fast is above Blended Slow

  • Red fill when Blended Fast is below Blended Slow

When master smoothing is enabled, both Blended Fast and Blended Slow receive an additional moving-average pass after blending. This makes both lines smoother and slower to respond β€” the fill still reflects their relationship, but transitions happen later.

Reference lines

Five horizontal lines are always drawn:

Line

Position

Color

Style

What it marks

Upper bound

+100

Red

Solid

The hard upper bound of the oscillator β€” the tanh function cannot exceed this

Overbought

+70 (default)

Gray

Dashed

A user-defined threshold. Configurable in settings.

Mid line

0

Gray

Solid

The point where price equals the MA. Positive above, negative below.

Oversold

βˆ’70 (default)

Gray

Dashed

A user-defined threshold. Configurable in settings.

Lower bound

βˆ’100

Green

Solid

The hard lower bound of the oscillator

The OB and OS lines are reference marks, not structural boundaries. They trigger specific alert conditions when crossed, but the oscillator does not behave differently at those levels. Moving them changes which alerts fire β€” nothing else.

Hidden count plots

Two invisible series exist in the background:

  • Active Bullish Count β€” how many enabled slots are currently in bullish regime

  • Active Bearish Count β€” how many enabled slots are currently in bearish regime

These are never drawn in the pane (they use display.none). Their only purpose is to provide values you can embed in custom alert messages using TradingView's {{plot("Active Bullish Count")}} template syntax.


Regime color logic

Regime is the single most important visual signal in the pane. It tells you whether the distance from the MA is currently increasing or decreasing relative to its own smoothed trend.

How regime is determined

For each individual slot:

  • Bullish regime: Fast > Slow (the current distance score is above its smoothed version)

  • Bearish regime: Fast < Slow

  • Fallback: If the Slow value is unavailable (na β€” which can happen on the first bars of a chart), the slot falls back to: Fast >= 0 means bullish, Fast < 0 means bearish

For the blended oscillator:

  • Bullish regime: Blended Fast > Blended Slow

  • Bearish regime: Blended Fast < Blended Slow

What regime does and does not tell you

Regime tells you the relationship between the raw distance score and its smoothed version. When a slot is in bullish regime, it means the current distance from the MA is greater than the recent average distance. When bearish, the current distance is less than the recent average.

This is important to understand clearly: regime is not about whether the oscillator is positive or negative. A slot can be in bullish regime while both Fast and Slow are deep in negative territory. That means price is below the MA, but the distance is shrinking (Fast is above Slow even though both are negative) β€” which is a bullish regime flip even though the oscillator itself is still negative. The color brightens because the direction of the distance is improving, not because the distance has become positive.

Similarly, a slot can be in bearish regime while both Fast and Slow are strongly positive. Price is above the MA, but the distance is starting to compress (Fast dropped below Slow). The color fades, signaling that the stretch is decreasing, even though the oscillator is still well above zero.

Regime persistence and noise

Regime persistence depends heavily on the Slow Length setting for each slot. A Slow Length of 3 (the default) produces a Slow line that follows Fast closely, which means regime flips happen frequently. A longer Slow Length creates more separation between Fast and Slow, producing fewer regime flips and more persistent regime states.

During consolidation periods β€” when price hovers near the MA β€” regime can flicker rapidly as Fast and Slow cross back and forth around very small values. This is not a malfunction. When the underlying distance from the MA is small, even minor fluctuations can push Fast above or below Slow. If the flicker is distracting, increasing the Slow Length for that slot will reduce it.


Reading the blended fill

The fill between Blended Fast and Blended Slow is designed to give you a quick visual impression of the composite regime. Green fill means the blended distance score is above its smoothed version; red fill means below.

But the fill can mislead you if you treat it as a consensus indicator. The blended lines are weighted averages. Here is what that means in practice:

When all slots agree

If all three slots are in bullish regime and all three Fast values are positive, the Blended Fast will be positive, the fill will be green, and the visual matches the underlying reality. The picture looks clean because it is clean.

When slots disagree but the blend looks calm

Suppose slot 01 (5m) reads +70, slot 02 (15m) reads βˆ’50, and slot 03 (60m) reads βˆ’30. With equal weights, the Blended Fast is roughly βˆ’3. The fill is red (barely). The pane looks quiet β€” near zero, minimal movement.

But the underlying picture is not quiet at all. The short-term timeframe says price is far above its average while the intermediate and long-term timeframes say price is below their averages. The blend has averaged this conflict into near-zero, which visually erases the disagreement.

The lesson: A blended reading near zero can mean either genuine neutrality (all slots near zero) or masked conflict (some slots positive, some negative, averaging to near-zero). You cannot distinguish these from the blend alone. When the Blended Fast is near zero and you need to make a decision, check the individual slot lines.

When one heavy slot dominates

If slot 03 has a weight of 80 while the other two have weights of 10 each, the Blended Fast is essentially slot 03's Fast line with minor adjustment from the other slots. The fill reflects one timeframe's regime, not a balanced multi-timeframe picture. The visual looks authoritative β€” a strong green or red fill β€” but it is being driven by a single slot.

If you are running unequal weights, keep in mind that the blend tells you what the heaviest-weighted timeframe thinks, modulated slightly by the others. That can be exactly what you want β€” but only if you know that is what you built.


What causes each element to change

Understanding what moves each element helps you diagnose unexpected behavior quickly.

Observation

What caused it

A Fast line moves up

Price moved further above the slot's baseline MA on that slot's timeframe, increasing the ATR-normalized distance

A Fast line moves down

Price moved closer to or below the slot's MA, or ATR expanded (increasing the denominator), compressing the normalized distance

A Fast line changes color (brightens or fades)

Regime flipped β€” Fast crossed above or below the slot's Slow line

A Fast line jumps sharply

Either a volatility change reshuffled the ATR normalization, or a new higher-timeframe bar confirmed and shifted the MA value (especially visible with On Bar Close on)

Blended Fast/Slow move

One or more slot Fast/Slow values changed, shifting the weighted average

Blended fill color changes

Blended Fast crossed Blended Slow, flipping the blended regime

All lines shift after toggling On Bar Close

Switching between confirmed and live HTF data changes how lower-timeframe bars inside each requested-timeframe block are painted

The oscillator appears more compressed or more expanded than before

The sensitivity parameter was changed, reshaping how the tanh function maps distance to the bounded scale

A slot line appears or disappears

The slot was enabled/disabled, or Hide Plot was toggled


Shallow reading versus mature reading

This section exists because the gap between what the oscillator shows and what you reflexively conclude from it is where real money gets lost. The oscillator presents numbers and colors. Your brain fills in meaning. Sometimes the meaning it fills in is wrong β€” and the errors are systematic, not random.

The shallow read

"Blended Fast is at +80 and all three slots are green. Momentum is strongly bullish. The oscillator is near overbought, so a reversal might be coming."

This reads the pane as a dashboard with a verdict. Green means go, high number means strong, overbought means soon to turn. Each of those impressions is either incomplete or wrong.

What a more careful read looks like

The Blended Fast is at +80. What does that actually tell you?

First, +80 on this oscillator means the weighted-average distance from the MA across your three timeframes, after normalization by each timeframe's ATR and after tanh bounding, has reached 80% of the scale. The relationship between +80 and the actual price-to-MA distance depends on your sensitivity setting. At sensitivity 1.0, +80 represents a significant stretch. At sensitivity 2.0, the oscillator hits +80 much more easily because the bounding function is compressing a smaller range of distance into the same scale.

Second, all three slots are in bullish regime (color is vivid). This means each slot's Fast is above its Slow β€” the current distance from the MA is greater than the recent smoothed average of that distance, at each timeframe. This is a backward-looking observation: price has been moving away from its averages. It is not a forward-looking statement about what happens next.

Third, check whether the slots actually agree or whether the blend is being driven by one heavy slot. If the weights are equal and all three Fast lines are positive and in the same range, the agreement is genuine. If slot 03 is weighted at 70% and the other two are weighted at 15% each, the blend at +80 mostly tells you what slot 03 thinks.

Fourth, the oscillator is near the overbought threshold you set at +70. This means the reading has crossed a line you chose. The oscillator itself does not know or care about that line. The question is not "is it overbought?" β€” the question is: "Is the distance from the MA large enough, at this sensitivity and this ATR environment, that I want to pay attention?" And paying attention is not the same as acting.

Fifth, how long has the oscillator been in this territory? If it just arrived, the move may still be developing. If it has been above +70 for thirty bars, the trend has been holding price away from the MA for an extended period, and the oscillator is accurately reflecting that β€” not calling for a reversal.


Walkthrough: The oscillator drops but price does not reverse

This scenario trips up new users regularly and deserves specific attention.

What you see: The Blended Fast line drops from +75 to +40 over several bars. The fill may shift from green to red if the Blended Slow was near that range. You look at the price chart and price has not reversed β€” it is roughly flat, or even slightly higher.

What happened: The instrument experienced a volatility spike. ATR expanded sharply β€” perhaps a news event, an earnings pre-announcement, or a period of wider-than-normal bar ranges. The oscillator's score is computed by dividing the price-to-MA distance by ATR and then applying the tanh function. When ATR increases and the price-to-MA distance stays the same, the ratio shrinks. The same physical distance now represents fewer ATR units, so the bounded score drops.

What it means: The oscillator compressed not because price necessarily moved back toward the average, but because the ruler it uses to measure distance got longer. The price is the same distance from the MA, but in the context of the instrument's recent volatility, that distance is now less unusual.

How to handle it: When the oscillator drops sharply without a corresponding price move toward the MA, check whether the instrument's volatility changed. If ATR just expanded, the oscillator is re-normalizing β€” telling you that the same distance is less remarkable given current conditions. This is useful information: the volatility environment around your position just shifted. But it is not a structural reversal, and selling because the oscillator dropped when price did not is one of the more expensive ways to learn this lesson.


Walkthrough: Blend near zero while slots disagree

What you see: The Blended Fast hovers near zero. The fill is a thin, barely colored band. The oscillator looks inactive β€” as if nothing interesting is happening.

What might actually be happening: Slot 01 (5m) reads +65 β€” price is well above its short-term MA. Slot 02 (15m) reads βˆ’20. Slot 03 (60m) reads βˆ’45. The blend, with roughly equal weights, averages these into a number near zero. The pane looks calm.

What it means: The timeframes are in active disagreement. The short-term says price is stretched above the average, but the intermediate and long-term say price is below their averages. This could mean a short-term rally within a larger downtrend, a transition period where the shorter timeframes have turned but the longer ones have not caught up yet, or any number of structural configurations that the blend has compressed into one uninformative number.

How to handle it: When the blended reading is near zero and you are making a decision, always check the individual slot lines. If they cluster near zero together, the situation genuinely is neutral β€” price is close to the averages at all timeframes. If they are spread across positive and negative territory, the blend is masking conflict. The individual slots tell you more than the blend does in this state.

Think of the blend near zero the way you would think of an average temperature of 70 degrees. It might mean every day was 70 degrees. Or it might mean half the days were 100 and half were 40. The average is the same; the reality is completely different. The individual slots are the daily readings.


The confirmed-bar step pattern

If On Bar Close is enabled (the default), the oscillator values on the most recent chart bars will sometimes appear to "step" rather than flow smoothly. Instead of a gradually changing line, you see a flat segment that jumps to a new value.

This is the confirmation mechanism at work. The oscillator is using the last confirmed higher-timeframe bar's values. Until the next HTF bar closes, the readings hold steady at the previous confirmed value. When the new HTF bar closes, the oscillator updates to the new confirmed value, producing the visible step.

The stepping is most noticeable on the shortest-timeframe slot when viewed on a low chart timeframe. For example, if slot 01 is set to 5m and you are on a 1-minute chart, the slot's Fast line holds one value for roughly five 1-minute bars, then steps to a new value when the next 5-minute bar closes. Slot 03 at 60m will hold for about sixty 1-minute bars before stepping.

This is the price you pay for confirmed-bar safety. The readings in history are stable and trustworthy β€” they match what was available at the time. The trade-off is that the most recent bars show slightly lagged data. If this stepping bothers you, read MTF & Repainting before you turn On Bar Close off. The alternative is smoother lines that lie about the past.