Skip to content

indicator / indicators

Axiom MACD Osc STR

A five-slot multi-timeframe MACD oscillator with a weighted MACD/signal/histogram composite and optional structure context — divergence, Keltner, BBWP, and Donchian — all built on the composite itself. STR trades CTX's ten-slot breadth for blended-line structure.

Last updated: Jun 1, 2026

Crypto / Forex +4 / 1m / 5m +5

Purchase options

Monthly / Yearly / One-time access

$3.00/ month

14-day free trial

You need a TradingView account for tools that open or run on TradingView.

These tools support analysis, testing, planning, and review. They do not make trading decisions for you.

14-day monthly trial / 14-day yearly trial / 30-day one-time refund window

Refund policy / Access help

Product details

Explore the details to see whether the tool fits the problem you are trying to solve for.

Overview

The question STR is built around is practical: when you read MACD across several higher timeframes — and sometimes across a second symbol you care about — do those reads currently agree, disagree, or sit at the edge of something worth a second look? STR gives that question five independent MACD slots, one weighted composite MACD/signal/histogram triple, and optional structure layers drawn on the composite itself.

Each slot runs a classic MACD construction — fast MA minus slow MA, with a chosen smoothing applied to the difference — on its own higher timeframe, source, fast/slow length pair, MACD and signal MA families, and optional cross-symbol ticker. All three series are mapped through an ATR-referenced clamped sigmoid into a bounded 0..100 pane, so slots across different timeframes and different symbols share one vertical frame without any single slot dominating the view. Enabled slots combine into a weighted composite of all three series, with an optional Blended Smoothing pass.

Four optional context layers sit on top of the composite MACD line — not on chart price underneath: pivot-confirmed divergence against chart price, a Keltner-style envelope, a Bollinger Band Width Percentile column, and a Donchian channel. The structure is context on the composite, not a verdict.

Three things to hold in mind while reading the pane:

  • The 0..100 scale is a bounded view of MACD structure. It is not a probability of any market outcome and it is not a calibrated momentum score.
  • Repaint posture is per slot. On Bar Close? ON returns the previous higher-timeframe bar's values — stable on confirmed history, slower on the live bar. OFF returns the live higher-timeframe values and can reshape until that bar closes. The composite inherits the less stable posture where the weights sit.
  • The structure layers (divergence, Keltner, BBWP, Donchian) are context on the composite MACD line, not standalone signals. BBWP in particular is a percentile rank of Bollinger Band width on the composite, not on chart price.

Good fit

  • Operators who already read multi-timeframe MACD and want five slots plus optional structure context drawn from the composite.
  • Readers who are comfortable weighting slots deliberately and want per-slot control over the repaint tradeoff.
  • Readers who want divergence markers to sit on confirmed pivots rather than on a live guess.

Misfit

  • Readers looking for a buy/sell verdict, a calibrated momentum probability, or a best-settings bundle.
  • Readers who want the ten-slot CTX workbench, or who are content with the three-slot Base read.
  • Readers unwilling to read a normalized 0..100 frame on purpose.
Where this version sits

Axiom indicator families use a Base -> CTX -> STR progression when the full set exists. Base is the focused/free version: three chart-symbol slots, one global repaint posture, and the smaller MA/filter surface where that family uses one. CTX expands that same MACD logic into ten slots with optional per-slot tickers, per-slot timing control, deeper Power User controls, and the broader MA/filter surface. STR sits after CTX: it keeps the stronger per-slot control pattern, reduces the stack to five slots because of the added computation, and spends that budget on divergence, Keltner, BBWP, and Donchian structure around the blended MACD output. Choose STR when blended-line structure matters more than CTX's ten-slot context breadth.

Features
  • Five independent MACD slots on one pane. Each slot carries its own enable switch, source, higher timeframe, fast and slow length, MACD MA family, signal length, signal MA family, line width, blended weight, and optional ticker. Slots 01, 02, and 03 ship enabled at 33.3 weight on timeframes 5, 15, and 60; slots 04 and 05 ship disabled at 0 weight, ready to turn on when you have a reason.
  • Optional per-slot cross-ticker. Leave Optional Ticker blank to run the slot on the chart symbol, or point it at a second symbol when you want a correlated or benchmark context read. The composite treats every enabled slot the same regardless of symbol; a cross-ticker slot still contributes to the weighted composite at its weight.
  • Bounded 0..100 pane. Each slot's MACD line, signal line, and histogram are normalized against ATR, scaled by a sensitivity dial, and compressed through a clamped sigmoid into 0..100 so slots across timeframes and symbols share the same vertical frame.
  • Weighted composite MACD/signal/histogram triple. Enabled slots combine into a composite MACD line, signal line, and histogram on the same 0..100 scale. Change the weights, change the composite.
  • Optional Blended Smoothing. A post-blend pass re-smooths all three composite series with a chosen MA family and length, then re-clamps each to 0..100. It buys calmer shape by adding lag, on purpose, and applies the same lag to all three series at once.
  • Blended histogram columns. Plotted around the 50 midline with four-state grow/fade coloring: bright green above 50 and rising, faded green above 50 and falling, faded red below 50 and rising, bright red below 50 and falling. The blended histogram is the third view of the same composite construction, not an independent timing series.
  • Structure layers on the composite MACD line. All four are toggled independently and all four are drawn on the composite, not on chart price:
    • Blended Divergence. Pivot-confirmed comparison of chart-price pivots against the composite MACD line at the same pivot offset, with an optional back-plot onto the original pivot bar.
    • Blended Keltner. Envelope computed from the composite's own bar-over-bar change, with a chosen basis and a configurable multiplier, clamped to 0..100.
    • Blended BBWP. Percentile rank of Bollinger Band width computed on the composite MACD line itself. The plot is named Blended BBWP in the data window so there is no ambiguity about the source series.
    • Blended Donchian. Highest and lowest of the composite MACD line over a configurable window, with a smoothed stepline midpoint, clamped to 0..100.
  • Reference guides. Horizontal lines at 0 (lower boundary), a configurable oversold level at 30 by default, a midline at 50, a configurable overbought level at 70 by default, and 100 (upper boundary). The guides are readability anchors; the script does not fire alerts off an OB/OS crossing.
  • Per-slot repaint control. On Bar Close? is exposed under each slot's Power User group instead of being collapsed to a single global switch. You can run some slots confirmed and others live, on purpose, and the composite inherits the mix.
  • Hard runtime guards. The script fails loudly rather than quietly when a slot is misconfigured. A named runtime.error identifies the offending slot if its timeframe is below the chart timeframe. A second named runtime.error identifies the offending slot if its Fast Length is not less than its Slow Length.
  • Sixteen confirmed-bar alert conditions. Every condition is gated on barstate.isconfirmed. No overbought/oversold level alerts, no histogram-state alerts, and no Keltner, BBWP, or Donchian alerts ship in this build. One source caveat matters: the current all-slots alignment logic overcounts when slot 05 is enabled, so do not treat the all-slots pair as reliable for five-slot alerting until that source path is corrected.
How to use
  1. Add Axiom MACD Osc STR to a chart you actually trade — for example, a 5-minute chart on a liquid instrument.
  2. Start with the defaults. Slots 01, 02, 03 are enabled at weight 33.3 on timeframes 5, 15, and 60. Slots 04 and 05 are disabled at weight 0.0. Blend Div, Blend BBWP, and Blend DC default to ON; Blend KC defaults to OFF. The blended histogram defaults to ON.
  3. Confirm the pane shows Blended Fast, Blended Slow, and Blended Histogram all inside 0..100, with the midline at 50 and the dashed guides at 30 and 70.
  4. Slots 01..03 ship with Hide MACD 0N Plot ON so the composite reads first. Unhide an individual slot when you want to see what it is contributing.
  5. Pick one slot. Open its Power User group and toggle On Bar Close?. ON should hold the higher-timeframe read steady until that bar closes; OFF should let it move on the live higher-timeframe bar. Decide the tradeoff you want per slot — not once globally.
  6. Confirm the guard rails. Set a slot's timeframe below the chart timeframe and watch the first named runtime error fire and identify the slot. Set a slot's Fast Length equal to or above its Slow Length and watch the second named runtime error fire and identify the slot. Both errors are guard rails, not bugs.

Correct first use looks like this: the composite MACD, signal, and histogram all sit inside the 0..100 band without pinning at the edges; BBWP columns expand and contract without leaving the pane; divergence triangles, when they appear, sit only on confirmed pivots; and the Donchian upper and lower draw as clean stepline traces around the composite.

Settings

Per MACD slot (MACD 01..05)

  • Enable MACD 0N — turns the slot on or off. Disabled slots do not contribute to the composite. Do not leave every slot on and then read the composite as if each one were adding new information; reweight or disable instead.
  • Hide MACD 0N Plot — visual only. A hidden slot still contributes to the composite at its weight. If you want a slot out of the composite, disable it; do not hide it.
  • Source — the price series the slot reads. If Optional Ticker is set, the source is read on that symbol.
  • TimeFrame — must be at or above the chart timeframe. Blank means the chart timeframe. Running several slots at the same higher timeframe and reading the agreement as confluence is a common self-inflicted error.
  • Fast Length, Slow Length — the two lengths of the MACD pair. Fast must be less than Slow; the script enforces this in code and fails with a second named error that identifies the offending slot. Setting Fast close to Slow narrows the MACD construction in a way that is worth understanding before you rely on it.
  • MACD MA Type, Signal MA Type — MA family used for the fast/slow pair and for the signal line. Default is EMA on both. Some families expose extra parameters in the Power User block.
  • Signal Length — smoothing length for the signal line.
  • Line Width — slot plot thickness.
  • Blended Weight — the slot's contribution to the composite. Zero leaves the slot plotted for reference without letting it steer the composite. Reweighting unevenly and then forgetting is the most common composite-misreading pattern.
  • Optional Ticker — leave blank to use the chart symbol. When set, the slot runs on the named symbol. A cross-ticker slot still contributes to the composite at its weight; the composite treats every enabled slot the same regardless of symbol.

Per MACD slot — Power User (MACD 0N PU)

  • On Bar Close? — the repaint tradeoff, exposed per slot. ON returns the previous higher-timeframe bar's MACD, signal, and histogram values: stable on confirmed history, slower on the live bar. OFF returns the live higher-timeframe values and can reshape until that bar closes. Mixing ON and OFF slots at weight is allowed on purpose; the composite inherits whichever posture carries the weight.
  • Advanced MA parameters for the MACD pair (K ALMA Floor/Offset/Sigma, K KAMA/FRAMA Fast/Slow, K Jurik Phase/Power, K Laguerre Alpha, K VAMA Vol Length) and the matching set for the signal MA (prefixed D ...). Each is only active when the selected MA family uses it.

Oscillator

  • ATR Length — how far back ATR looks when each slot normalizes its MACD, signal, and histogram into the 0..100 frame. Higher is steadier; lower is touchier.
  • ATR Sensitivity — how hard the normalized values push toward 0 or 100 before the sigmoid clamps. Pushing it near the extremes piles the reading up at the edges; the pile-up is not a sharpened signal.
  • Overbought Level, Oversold Level — dashed readability guides at 70 and 30 by default. The script does not fire alerts off a level cross; these are anchors for the eye, not thresholds the tool acts on.

Blend Core

  • Plot Blend — show or hide the composite MACD and signal lines.
  • Plot Histogram — show or hide the blended histogram columns around the 50 midline.
  • Line Width — width of both composite lines.
  • Enable Smoothing — off by default. When on, applies the post-blend smoothing pass to all three composite series and re-clamps each to 0..100.
  • Smooth Type, Smooth Len — MA family and length for the smoothing pass. The Blend Smooth PU group carries the same advanced MA parameters as the per-slot Power User blocks.

Blend Divergence

  • Show Div — toggles the divergence markers.
  • Pivot Len — pivot strength used for both the left and right side of the pivot. Longer is later but filters weaker pivots.
  • Plot On Pivot? — OFF plots the marker on the confirmation bar; ON back-plots the already-confirmed marker onto the original pivot bar via a negative plot offset. The back-plot is cosmetic placement on an already-confirmed marker; it is not a forward-looking signal.

Blend Keltner

  • Show Keltner — off by default. Toggles the envelope.
  • KC Length, KC Mult — envelope construction on the composite MACD line.
  • Basis Type, Basis Len — MA family and length for the basis.
  • Show Basis, Show Fill, Line Width — display controls.
  • Blend KC PU carries advanced MA parameters for the basis family.

Blend BBWP

  • Show BBWP — on by default. Toggles the columns.
  • Length — BB basis and standard-deviation window, applied to the composite MACD line.
  • Lookback — how many prior widths are ranked. Percentile ranks only become stable once the lookback is fully populated.
  • Threshold — color switch between below-threshold and above-threshold columns.
  • Basis Type — MA family used for the BB basis on the composite.
  • Blend BBWP PU carries advanced MA parameters for the basis family.

Blend Donchian

  • Show DC — on by default. Toggles the channel.
  • DC Len — lookback for high and low extraction on the composite MACD line.
  • Basis Type, Basis Len — MA family and length that smooth the midpoint.
  • Show Basis, Show Fill, Line Width — display controls.
  • Blend DC PU carries advanced MA parameters for the basis family.

What to avoid

  • Enabling every slot and every structure layer on a fresh chart and reading the pane as a self-contained system.
  • Reweighting slots unevenly, forgetting the change, and continuing to read the composite as if each slot still had equal say.
  • Hiding a slot's plot and assuming the slot no longer contributes to the composite.
  • Running On Bar Close? OFF on several slots and wiring live alerts on top; alerts are confirmed-bar gated either way, but the underlying read can still reshape between evaluations.
  • Treating divergence markers as entry calls rather than as pivot-confirmed disagreements between chart price and the composite MACD line.
  • Reading BBWP columns as chart-price volatility; the series is expansion and contraction of the composite MACD line itself.
  • Pushing ATR Sensitivity near the extremes and reading the pile-up near 0 or 100 as a sharpened signal.
Alerts

Sixteen alert conditions ship in this build. Every one is gated on barstate.isconfirmed and describes a state at confirmed-bar close. The divergence alerts additionally require the divergence layer to be enabled. No overbought/oversold level alerts, no histogram-state alerts, and no Keltner, BBWP, or Donchian alerts. The all-slots alignment pair exists, but the current source overcounts active slots when slot 05 is enabled; do not represent that pair as reliable for five-slot alerting until the source is corrected.

  • MACD 01 Is Bullish through MACD 05 Is Bullish — the slot's MACD line is above its signal line on a confirmed chart bar.
  • MACD 01 Is Bearish through MACD 05 Is Bearish — the slot's MACD line is below its signal line on a confirmed chart bar.
  • Blended MACD Is Bullish — the composite MACD line is above the composite signal line on a confirmed chart bar.
  • Blended MACD Is Bearish — the composite MACD line is below the composite signal line on a confirmed chart bar.
  • All MACD Slots Bullish — intended to report that every enabled slot is leaning bullish on a confirmed chart bar; in the current source, avoid relying on this condition when slot 05 is enabled because slot 05 is overcounted in the active-slot total.
  • All MACD Slots Bearish — intended to report that every enabled slot is leaning bearish on a confirmed chart bar; the same slot-05 active-count caveat applies.
  • Blended MACD Bullish Divergence — chart price has made a lower low while the composite MACD at the same pivot offset has not.
  • Blended MACD Bearish Divergence — chart price has made a higher high while the composite MACD at the same pivot offset has not.

Alert messages reference {{ticker}} and {{interval}}. Bar-close gating on the chart timeframe does not override whatever posture a slot carries on its own higher timeframe; a slot with On Bar Close? OFF can still move between confirmed chart bars.

For the geeks

Six pieces of this build are worth naming so the reading is honest about what it is.

ATR-normalized MACD/signal/histogram through a clamped sigmoid. Raw MACD values live on different scales across timeframes and across symbols, and a three-series read (MACD line, signal line, histogram) compounds the problem. Each slot expresses all three series in ATR units at the configured ATR length, scales by ATR Sensitivity, clamps, and passes the result through a sigmoid that lands inside 0..100. The transform preserves direction and keeps the three series on the same frame, at the cost of the native MACD price-difference scale and two operator-tunable inputs. To verify, raise ATR Sensitivity and watch all three series pile up more aggressively at the edges; lower ATR Length and watch the read become touchier.

Per-slot MACD pair and signal line with independent MA families. Classic MACD bakes in EMA for both the pair and the signal. Here, each slot chooses the MA family for the fast/slow pair and — separately — the MA family for the signal line. The slot's MACD line is the fast MA minus the slow MA; the signal line is the chosen signal MA family applied to that difference; the histogram is the MACD-minus-signal series. When the library returns na for either MA at the configured length, an EMA fallback of the same length is used so the read does not drop out. Choosing the same family for both the pair and the signal will not fail, but the pair and the signal then share their dynamics.

Safe-MTF pattern with per-slot On Bar Close? and the Fast-less-than-Slow guard. Two rules have to hold before a slot makes sense. The slot timeframe must be at or above the chart timeframe, and Fast Length must be less than Slow Length. Both are enforced in code with named runtime errors that identify the offending slot. On top of that, On Bar Close? is exposed per slot rather than once globally. ON returns the previous higher-timeframe bar's values from inside the security expression — stable on confirmed history, slower on the live bar. OFF returns the live higher-timeframe values and can reshape until that bar closes. ON is a tradeoff, not a guarantee that every dimension of repaint is gone. Alerts are confirmed-bar gated regardless.

Weighted composite with optional Blended Smoothing. The composite MACD line, signal line, and histogram are each a weighted average of enabled slots against the total non-zero weight, clamped to 0..100. Blended Smoothing optionally re-smooths all three composite series with a chosen MA family and length, then re-clamps each to 0..100. Change the weights, change the composite; the smoothing pass adds lag on purpose and adds it to all three series at once. To verify, set slot 01 to weight 100 and the other slots to 0 and watch the composite track slot 01.

BBWP on the composite MACD line. The percentile rank is computed from Bollinger Band width measured on the composite itself, not on chart price, and the plot title is Blended BBWP so the data window makes the source unambiguous. Percentile ranks only become stable once the lookback is fully populated.

Pivot-confirmed divergence. Divergence uses ta.pivotlow and ta.pivothigh with matched left-and-right strength, compared against the composite MACD line at the same pivot offset, under the same confirmed-bar gate the alerts use. A marker cannot print before the pivot has confirmed on both sides. Plot On Pivot? ON back-plots the already-confirmed marker onto the original pivot bar via a negative plot offset; it is cosmetic placement, not a forward-looking signal.

What not to assume from any of this: that a bounded 0..100 reading is a probability, that the composite is smarter than its slots, that any structure layer is a standalone trade system, or that the histogram is an independent timing series. The math makes five slots visually and structurally comparable; what the reading means is still the operator's call.

FAQ

Does the 0..100 scale mean probability of anything? No. It is a bounded view of ATR-normalized MACD, signal, and histogram values passed through a clamped sigmoid. Direction is preserved; magnitude is compressed. The scale is not a probability and it is not a calibrated momentum score.

Why does the pane move on the live bar before the higher-timeframe bar closes? Because at least one enabled slot has On Bar Close? OFF. OFF returns the live higher-timeframe values and can reshape until that bar closes. Turn that slot's On Bar Close? ON under its Power User group if you want the slot to update only on confirmed higher-timeframe bars. The composite inherits whichever posture carries the weight, so mixing ON and OFF at weight will propagate that mix.

Does hiding a slot's plot remove it from the composite? No. Hide MACD 0N Plot is visual only. A hidden slot still contributes to the composite at whatever weight it is set to. If you want a slot out of the composite, disable it or set its Blended Weight to 0.

How is this different from Base and CTX? Base runs three MACD slots on one pane with no structure layer and a single global On Bar Close? switch. CTX expands that same MACD read to ten slots with per-slot tickers, per-slot timing, and deeper Power User controls. STR sits after CTX: five slots with the same stronger per-slot control pattern, plus four structure layers drawn on the composite MACD line. Pick the version by what the day's question actually needs.

Should I enable divergence, Keltner, BBWP, and Donchian at the same time? You can — they are independent by design — but it is usually a misread if you also expect the stack to act as a standalone system. The structure layers are context on the composite MACD line, not calibrated signals. Start with one at a time and add layers when the question warrants more context, not because more context looks thorough.

Can I read the blended histogram columns on their own? The blended histogram is the third view of the same composite construction: per-slot histogram, ATR-normalized and clamped like the MACD and signal lines, then weighted into the composite. It is not a separate timing series. Read it alongside the composite MACD and signal, not in place of them.

Limitations
  • The 0..100 scale is a bounded view of MACD structure. It is not a probability and it is not a calibrated momentum score.
  • Repaint posture is per slot. On Bar Close? ON buys stable confirmed-history behavior at the cost of responsiveness on the live bar; OFF buys responsiveness at the cost of repaint until the higher-timeframe bar closes. The composite inherits the less stable posture where the weights sit.
  • The composite is a weighted average across three series. Change the weights, change the composite. Blended Smoothing adds lag on purpose and adds it to all three series at once.
  • Structure layers (divergence, Keltner, BBWP, Donchian) are context on the composite MACD line, not standalone signals. BBWP in particular is a percentile rank of the composite's own Bollinger Band width, not of chart price.
  • BBWP percentile ranks only become stable once the lookback is fully populated.
  • The two runtime errors — on a slot timeframe below the chart timeframe, and on Fast Length not less than Slow Length — are guard rails, not bugs. The script refuses to run a slot that violates either rule and names the offending slot in the error.
  • No overbought/oversold level alerts, no histogram-state alerts, and no Keltner, BBWP, or Donchian alerts ship in this build. Build those externally if you need them.
  • MA families are routed through AxiomCharts/AxiomMovingAverageLibraryPro; available families follow whatever version of the library is installed.
  • Session and twenty-four-hour symbols read differently around session boundaries, following ordinary TradingView rules.
Support and training

Documentation, guides, and support routes live at axiomcharts.com. Start there for walkthroughs of slot weighting, the per-slot repaint tradeoff, and how Base, CTX, and STR differ in the Axiom MACD Osc family.

Disclaimer

This indicator is a research and charting tool. It does not generate financial advice, recommendations, or predictions. Markets carry real risk, including the risk of losing more than you intended to. Test any setup on your own charts, at your own risk, and make your own decisions. Past behavior of any reading in this pane does not guarantee future behavior.

Related products

If this one is close but not quite right, there may be a better fit nearby for the same kind of chart work, testing need, or workflow gap.

Back to products
Axiom MACD Oscindicator
Axiom MACD Osc thumbnail

indicator / indicators

Axiom MACD Osc

Free

A three-slot multi-timeframe MACD oscillator with each slot normalized into a bounded 0..100 pane, a weight-driven composite, and optional post-blend smoothing. The focused/free Base version of the Axiom MACD Osc family.

1m5m15m1H4H1DANY

Crypto / Forex +4 / 1m / 5m +5

Axiom MACD Osc CTXindicator
Axiom MACD Osc CTX thumbnail

indicator / indicators

Axiom MACD Osc CTX

Ten independent MACD slots, one bounded 0..100 pane, a weight-gated blend, and an honest repaint switch per slot. Multi-timeframe and multi-symbol context without the stacked-MACD clutter.

1m5m15m1H4H1DANY

Crypto / Forex +4 / 1m / 5m +5

Axiom RSI Osc STRindicator
Axiom RSI Osc STR thumbnail

indicator / indicators

Axiom RSI Osc STR

Five independent RSI slots, a weight-gated blend, and pivot divergence, Keltner, BBWP, and Donchian context computed on that blend — all inside RSI's native 0..100 frame.

1m5m15m1H4H1DANY

Crypto / Forex +4 / 1m / 5m +5

Axiom Stoch Osc STRindicator
Axiom Stoch Osc STR thumbnail

indicator / indicators

Axiom Stoch Osc STR

Five independent Stochastic slots, a weight-gated blend of the slot K and D lines, and pivot divergence, Keltner, BBWP, and Donchian context computed on the blended K — all inside Stoch's native 0..100 frame. STR trades CTX's ten-slot breadth for blended-line structure.

1m5m15m1H4H1DANY

Crypto / Forex +4 / 1m / 5m +5

Weighing a few options against each other?

Tell us what you are trying to accomplish and we will help you narrow it down honestly.