Skip to content
Script type
Indicator
Source code
Open-source

MACD Multi-MA [MarkitTick]

Also known as MMM

Pick from 29 moving averages to set your MACD speed and track reference trades

Difficulty Intermediate

No.VOW-000146

On the surface it's the MACD you already know, and the candle coloring and four-color histogram are easy to read at a glance. That said, there's a lot worth understanding to get the most out of it: how each of the 29 moving averages changes the response, the rules for when reference trades hit their stop or targets, and when to use Lock Signal and the different alerts. It's best suited to traders who know MACD basics and are willing to test settings step by step until they find a setup that fits their timeframe.

Repainting
Depends on settings
  1. Live barChanges
  2. On closeDepends
  3. HistoryFixed
With the default settings, closed bars don't repaint, but if you block a crossover with Lock Signal turned on, it may appear as a reference trade after the chart reloads.
Best timeframes
  • Lower TFs≤15m
  • Mid TFs30m–4H
  • Higher TFs1D+
Tested on BTCUSD (1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W)
Alerts
7 conditions
Buy/sell signals
Yes
Market conditions
Trending
Display
Both
Chart elements
LinesLabelsBar colorsTablesHistogram
Trading style
Swing TradingDay Trading
OscillatorMomentum

MACD Multi-MA: Tune Your MACD with 29 Moving Average Types

Diagram gallery 9

Article Summary
What does this indicator do?
Bottom line

MACD Multi-MA is a TradingView indicator that lets you choose the moving average behind the MACD from 29 types. You can tune its speed and crossover frequency to your timeframe, and every confirmed crossover draws a reference trade with an ATR-based stop and three take-profit levels.

Tell me more
Key points
  • A MACD indicator that lets you build the MACD and signal lines from 29 moving average types, including EMA.
  • With the default EMA and 12/26/9, it looks almost identical to TradingView's built-in MACD.
  • Lag-reducing types like HMA react faster and cross more often, while TRIMA and T3 cross less often but later.
  • The histogram uses four colors based on its side of the zero line and whether it's growing, so you can spot fading momentum before a cross.
  • Candles are colored green or red based on the MACD versus the signal line, or the MACD versus the zero line.
  • Each confirmed crossover draws a reference trade with an ATR-based stop and take-profit levels at 1R, 2R, and 3R.
  • Stops are judged on the close and targets on a touch of the high or low, so results can differ from real orders.
  • Six alert conditions plus JSON-formatted messages make it ready for external integrations via webhooks.
  • Crossovers tend to cluster in choppy markets, so checking the market regime with something like Chop Zone makes it easier to use.

MACD Multi-MA Lets You Swap Out the Averages Inside the MACD

When people say MACD, they almost always mean the 12/26/9 EMA version. But depending on the market, it can feel too slow, or it keeps flipping between bullish and bearish crossovers in a choppy range. MACD Multi-MA is a TradingView indicator that lets you pick the moving average used to calculate the MACD from 29 different types.

The pane shows the familiar MACD line, signal line, and histogram, and the price candles are painted green or red based on the MACD’s state. On top of that, every time a crossover prints on a confirmed bar, it automatically draws a reference trade with an ATR-based stop line and three take-profit lines, plus a dashboard that sums up the current state.

MACD Multi-MA on a TradingView chart. Candles are colored by the MACD state, with the reference trade lines and dashboard shown at the same time.
MACD Multi-MA on a TradingView chart. Candles are colored by the MACD state, with the reference trade lines and dashboard shown at the same time.

After switching between several timeframes, what I found most useful is that you get to choose the MACD’s personality yourself. Do you want it to react faster, or do you want fewer fakeouts? You can compare them just by switching the Type inside the same pane.

Let’s start with the big picture. Add it to a chart with the default settings, and as Figure 1 shows, the candles turn green from the bar where the MACD line crosses above the signal line, then flip back to red when it crosses below in Figure 2.

Candle colors flip with every MACD crossover

The candle color is simply where the MACD line sits relative to the signal line.

Candle colors flip with every MACD crossover① Candles turn green from the bar that crosses above ② Back to red on the cross belowMACD Multi-MACandles turn green fromthe bar that crosses aboveBack to red on the cross belowMACD above the signal lineMACD lineSignal line

Vowars DE ver.3.24.1

Drawn with the defaults (EMA, 12/26/9, Candle Mode set to MACD × Signal). Candles are green while the MACD line is above the signal line and red while it's below.

What You See on the Chart

MACD Multi-MA draws four things on the chart: the MACD in the lower pane, the candle colors on the price chart, the dashboard in the top-right corner, and the reference trade lines that only appear when you turn them on in the settings. Let’s go through how to read each one.

The Cyan and Orange Lines and the Four-Color Histogram

The thick cyan line is the MACD line and the thin orange line is the signal line. The MACD line is “short-term moving average minus long-term moving average,” and the signal line is a moving average of that MACD line. So far, it’s the same as a regular MACD. The difference is that all three moving averages use the type you pick in the settings.

The histogram is the gap between the MACD line and the signal line, and it’s painted in four colors. Above the zero line and growing, it’s bright green; still above zero but starting to shrink, it’s dark green. The same goes for the downside: bright red when it’s growing, dark red when it’s shrinking.

Histogram colorStateWhat it tells you
Bright greenAbove zero and growingBullish momentum is strengthening
Dark greenAbove zero and shrinkingStill bullish, but momentum is slowing
Bright redBelow zero and growingBearish momentum is strengthening
Dark redBelow zero and shrinkingBearish momentum is weakening

Thanks to these colors, you can spot a change in momentum without waiting for the crossover. In Figure 1 the bright green bars expand, then Figure 2 shows eight dark green bars in a row before the MACD line finally crosses below the signal line in Figure 3. Price was still near the highs, but the histogram colors had already shifted.

Spot fading momentum early with the four-color histogram

Watch the histogram's shading and you'll see momentum slow down before the MACD and signal lines cross.

Spot fading momentum early with the four-color histogram① Bright green: above zero and growing ② Eight dark green bars in a row shrinking before the cross ③ First cross below the signal lineMACD Multi-MABright green: above zero and growingEight dark green bars in a rowshrinking before the crossFirst cross below the signal line

Vowars DE ver.3.24.1

The histogram is bright green when it's above zero and growing, dark green when it's above zero and shrinking, bright red when it's below zero and growing, and dark red when it's below zero and shrinking. Here, a run of dark bars comes before the crossover.

What Decides the Candle Colors?

The candle colors have nothing to do with whether a candle is bullish or bearish. With the default Candle Mode (MACD × Signal), candles are green while the MACD line is above the signal line and red while it’s below. That means a bearish candle can be green and a bullish candle can be red. Once you get used to it, you can tell which side you’re on without looking down at the pane, so your eyes stay on price action.

Switch Candle Mode to MACD × Zero and the reference changes from the signal line to the zero line. Candles are green while the MACD line is above zero and red while it’s below. Since the coloring now follows whether the fast average is above the slow one, the colors flip far less often. In Figure 1, the MACD × Signal candles turn red during the pullback, while in Figure 2 the MACD × Zero candles stay green through the same stretch.

Candle Mode changes what the candle colors are based on

Two charts of the same price action, with only Candle Mode switched.

Candle Mode changes what the candle colors are based on[MACD × Signal (default)]① Candles turn red during the pullback [MACD × Zero]② Same pullback, still green ③ Green once the MACD line crosses above zeroMACD × Signal (default)MACD Multi-MACandles turn red during the pullbackMACD × ZeroMACD Multi-MASame pullback, still greenGreen once the MACD linecrosses above zero

Vowars DE ver.3.24.1

MACD × Signal colors candles by whether the MACD line is above or below the signal line; MACD × Zero colors them by whether it's above or below zero. In this range, the colors flipped seven times with MACD × Signal and once with MACD × Zero.

If you want to track every small pullback and bounce, use MACD × Signal. If you only want the colors to show the bigger trend direction, MACD × Zero is the easier choice. In either mode, a bar where the MACD line sits exactly on the reference keeps the previous color.

What to Watch on the Dashboard

The dashboard lists the selected moving average type and lengths, the current MACD, signal, and histogram values, and the status of the reference trade. In practice, I kept checking three rows. In Figure 1, Bias shows where the MACD line sits relative to the signal line. In Figure 2, Trade shows whether the reference trade is Long, Short, or closed (Flat). In Figure 3, TP1 through TP3 get a ✓ as each one is hit.

Check the current state and the reference trade on the dashboard

The dashboard in the top-right corner puts the MACD readings and the reference trade status in one table.

Check the current state and the reference trade on the dashboard① MACD vs. signal line position ② Reference trade direction (Long / Short / Flat) ③ ✓ on targets already hit MMMSAMPLE · 1H LockOFF MA TypeEMA Lengths12 / 26 / 9 MACD0.54 Signal0.47 Hist0.07 BiasAbove Signal TradeLong Entry98.01 SL96.78 TP199.24 ✓ TP2100.47 ✓ TP3101.71 MACD vs. signal line positionReference trade direction(Long / Short / Flat)✓ on targets already hit

Vowars DE ver.3.24.1

By default it appears in the top-right corner of the candle chart (you can move it with Position and Show on Price Chart). TP1 through TP3 get a ✓ next to the price once hit. When the reference trade closes, Trade switches to Flat and Entry through TP3 go back to "—".

If something is wrong with your settings, an amber warning row appears on the dashboard. There are three cases: Fast is equal to or longer than Slow, you picked a volume-based Type on a symbol with no volume data, or the target multiples are out of order. These warnings stay visible even if you turn off Show Dashboard.

How Does the MACD Change Across 29 Moving Averages?

This is the heart of MACD Multi-MA. When you change the Type, all three moving averages behind the MACD and signal lines switch to that type. Even with the lengths left at 12/26/9, the shape of the lines and the way crossovers show up change noticeably.

The figure below runs the same price action with only the Type changed. With the default EMA, Figure 1 shows five crossovers in the visible range. Switch to the faster HMA (Hull Moving Average) and it reacts to small wiggles too, jumping to 14 crossovers in Figure 2. On the other hand, TRIMA, which averages twice, cut it down to four, but as Figure 3 shows, its flip to the upside came nine bars later than the EMA’s.

Changing the Type changes the crossover count, even at 12/26/9

Three charts with the same price action and the same 12/26/9 lengths, with only the Type changed.

Changing the Type changes the crossover count, even at 12/26/9[EMA (default)]① 5 crossovers [HMA (fast-reacting type)]② Reacts to small wiggles: 14 crossovers [TRIMA (smooth type)]③ 4 crossovers. The flip to the upside comes 9 bars later than EMAEMA (default)Type: EMA5 crossoversHMA (fast-reacting type)Type: HMAReacts to small wiggles: 14 crossoversTRIMA (smooth type)Type: TRIMA4 crossovers. The flip to the upsidecomes 9 bars later than EMA

Vowars DE ver.3.24.1

Counting MACD/signal crossovers across the 72 visible bars: 5 with EMA, 14 with HMA, and 4 with TRIMA. The points where the candle colors flip also shift with each Type.

Speed and smoothness are a trade-off: gain one and you give up some of the other. It’s not about which Type is “best.” To me, the real value of this indicator is that you can pick the speed that fits your own trading. The 29 types roughly fall into these groups.

GroupTypeEffect on the MACD
Basic moving averagesSMA/EMA/RMA/WMA/SWMA/MedianEMA gives the standard MACD. RMA is slower than EMA, and Median uses the median, so a single outlier close has less pull
Stacked averagesDWMA/TWMA/TRIMAAveraging two or three times smooths the lines, so crossovers are fewer and later
Volume-weightedVWMA/DVWMA/TVWMAGives more weight to high-volume bars. Nothing is drawn on symbols without volume data
Lag-reducing typesDEMA/TEMA/ZLEMA/HMA/EHMA/THMAReact faster to direction changes, but tend to produce more crossovers
Regression and GaussianLSMA/ALMALSMA is the endpoint of a linear regression line. ALMA lets you adjust the position and width of its weighting curve
AdaptiveKAMA/FRAMA/VIDYA/McGinleySpeed adjusts to how efficiently or strongly price is moving
FiltersT3/JMA/SSF/KalmanSmoothing focused on removing small noise. Many can be tuned in the settings
LLAMALLAMAAn EMA that searches for past bars with similar RSI patterns and stretches or shrinks its length based on what price did next

Here’s a rough guide based on what I tested. Start with EMA to get a feel for your usual MACD. If you want to catch direction changes earlier, try a lag-reducing type like HMA or ZLEMA. If you want fewer crossovers in choppy markets, try a smoother type like TRIMA or T3. Going in that order makes the differences easy to see. Adaptive types like KAMA and FRAMA are designed to move faster when price trends cleanly in one direction and slower when it chops back and forth. That said, they didn’t reduce crossovers in every situation, so compare them on the symbols and timeframes you actually trade before settling on one.

Even with EMA, it doesn’t match the built-in MACD exactly

With Type set to EMA and lengths at 12/26/9, the display is almost identical to TradingView’s built-in MACD. However, MACD Multi-MA’s EMA starts calculating from the first bar’s value, so values on the oldest bars near the left edge of the chart can differ slightly from the built-in MACD. The gap disappears as more bars load, so it’s nothing to worry about when you’re looking at recent bars.

How the Auto-Drawn “Reference Trades” Work

When the MACD line crosses the signal line and that bar closes, MACD Multi-MA opens one reference trade at that moment: long on a cross above, short on a cross below. Turn on Levels and the entry price, stop-loss line, and three take-profit lines are drawn on the price chart (it’s off by default).

As Figure 1 shows, the entry price is the close of the crossover bar. The stop-loss line in Figure 2 sits 1.5 times the ATR (average true range) away from the entry, and that distance becomes “1R” (one unit of risk). The take-profit lines sit at 1R for TP1, 2R for TP2, and 3R for TP3. When the high touches TP1, the label changes to “✓ HIT” with the move from entry in percent, as shown in Figure 3.

Reference trade lines drawn on a confirmed crossover

With Levels turned on, the entry, stop-loss, and three take-profit lines of the latest trade are drawn on the price chart.

Reference trade lines drawn on a confirmed crossover① Crosses above the signal on a closed bar; its close becomes the Entry ② SL 1.5 × ATR(14) below ③ On the bar whose high touches TP1, the label changes to "✓ HIT"MACD Multi-MA✕ SL 96.78▶ Entry 98.01TP1 ✓ HIT +1.26%TP2 ✓ HIT +2.52%◆ TP3 101.71Crosses above the signal on a closed bar;its close becomes the EntrySL 1.5 × ATR(14) belowOn the bar whose high touches TP1,the label changes to "✓ HIT"

Vowars DE ver.3.24.1

Drawn with the defaults: ATR Len 14, SL ATR 1.5, and TP1 R through TP3 R at 1, 2, and 3. With the distance to the stop as 1R, TP1 sits 1R away, TP2 2R, and TP3 3R. Once a level is hit, its label changes to "✓ HIT" with the move from entry in percent.

Because the stop distance is based on ATR rather than a fixed amount, it widens in volatile periods and tightens in quiet ones. That’s a big plus for something like Bitcoin, where the trading range changes a lot over time, because you can keep the same settings.

A short reference trade from MACD Multi-MA. The labels for the lines that reached TP1 and TP2 change to "✓ HIT" with the move at the time of the hit.
A short reference trade from MACD Multi-MA. The labels for the lines that reached TP1 and TP2 change to “✓ HIT” with the move at the time of the hit.

When Does a Trade End?

TP1 and TP2 work as partial exits: the trade stays open after they’re hit. A trade only ends in one of three ways: TP3 is hit, a bar closes beyond the stop-loss line, or an opposite crossover is confirmed. When it ends on an opposite crossover and the conditions are met, a trade in the other direction opens on that same bar, which is essentially a stop-and-reverse, as shown in Figure 2.

From entry to exit: the reference trade lifecycle

MACD Multi-MA's reference trades start on a confirmed crossover and end at one of three exits.

From entry to exit: the reference trade lifecycle① No trade on a bar still forming ② Stop-and-reverse into the next trade Flow: Signal line crossover(Judged on bar close) → Open a reference trade(Entry = that bar's close) → Position open(Trade shows Long / Short) → (Partial exit) TP1 / TP2 hit(✓ on touch, trade stays open) / TP3 hit(On a wick touch) / Closes beyond the SL(A wick alone doesn't count) / Opposite crossover(On a closed bar), TP3 hit(On a wick touch) → Closed (Flat), Closes beyond the SL(A wick alone doesn't count) → Closed (Flat), Opposite crossover(On a closed bar) → Closed (Flat) / (Same bar) Open a trade in the other direction。Partial exitSame barSignal line crossoverJudged on bar closeOpen a reference tradeEntry = that bar's closePosition openTrade shows Long / ShortTP1 / TP2 hit✓ on touch, trade stays openTP3 hitOn a wick touchCloses beyond the SLA wick alone doesn't countOpposite crossoverOn a closed barClosed (Flat)Open a trade inthe other directionNo trade on a bar still formingStop-and-reverseinto the next trade

Vowars DE ver.3.24.1

Take-profit levels count as hit when the high or low touches them; the stop only counts when a bar closes beyond the SL. The trade stays open after TP1 and TP2 and is closed by TP3, the stop, or an opposite crossover.

The part that’s easy to miss is Figure 1: even if the lines have crossed on a bar that’s still forming, no reference trade opens yet. Since it waits for the bar to close, the entry never moves after the trade is opened. And if another crossover in the same direction appears while a trade in that direction is already open, no new trade is opened.

Stops Trigger on the Close, Targets Trigger on the Wick

This is where results can differ from real trading, so it’s worth knowing. As Figure 1 shows, a wick poking through the stop-loss line doesn’t count as a hit. As in Figure 2, the stop is only triggered when the bar closes beyond the line. Take-profit lines, on the other hand, count as hit the moment the high (or the low for shorts) touches them, as shown in Figure 3.

Stops trigger on the close, targets trigger on the wick

Price "crossing the line" is judged differently for stops and targets.

Stops trigger on the close, targets trigger on the wick[Stop check (close)]① A wick through the SL still holds if it closes above ② Closes below the SL stop-loss triggers here [Target check (wick)]③ TP1 is hit when the high touches it✓ even if the close falls shortStop check (close)✕ SL▶ EntryA wick through the SLstill holds if it closes aboveCloses below the SLstop-loss triggers hereTarget check (wick)TP1 ✓ HIT▶ EntryTP1 is hit when the high touches it✓ even if the close falls short

Vowars DE ver.3.24.1

The stop (SL) only counts as hit when the bar closes beyond the line; if a wick merely pokes through, the trade stays open. Take-profit levels (TP1 to TP3) count as hit as soon as the high or low touches them. The figure shows a long reference trade; for shorts, everything is flipped.
When results differ from real orders

In real trading, a stop order gets filled as soon as a wick pierces it. In the reference trade, a bar that only wicks through the stop keeps the trade open, so results on the chart can look better than what real orders would have produced. Commissions and slippage aren’t included either. Treat the reference trade results as a guide to “what this rule set would have done.”

One more thing: only the most recent trade is drawn on the chart. When a new trade opens, the previous trade’s lines and labels are removed. If you want to review past crossovers one by one, the easiest way I found was TradingView’s Bar Replay: rewind the chart and step forward bar by bar. Since this is an indicator, not a strategy, you won’t get a summary of results in the Strategy Tester.

What I Noticed Going from the 1-Minute to the Weekly Chart

On a Bitcoin chart, I kept the default EMA 12/26/9 and switched through the 1-minute, 5-minute, 15-minute, 30-minute, 1-hour, 4-hour, daily, and weekly timeframes (I turned on Levels on every timeframe except the 1-minute to check the reference trade lines).

On the 1-minute and 5-minute charts, crossovers were frequent, as expected, and the candle colors often flipped every few bars. Reference trades also kept getting replaced quickly, so on lower timeframes it felt best to use it just to see which side you’re on. On the 15-minute and 30-minute charts, after a big selloff, the MACD crossed above the signal line well below the zero line, and the long reference trade reached TP1. That’s a spot where the lines give you a handy guide for the first bounce after a flush.

On the most recent 4-hour and daily charts, a short reference trade opened at the start of a drop, reaching TP2 on the 4-hour and TP3 on the daily. The daily trade had already closed at TP3, so the dashboard’s Trade row showed Flat, but the lines and labels stay on the chart for 10 bars past the closing bar, so you can still read what happened and where.

A reference trade on the daily chart that reached TP3 and closed. The lines and labels remain after the close, and the dashboard's Trade row returns to Flat.
A reference trade on the daily chart that reached TP3 and closed. The lines and labels remain after the close, and the dashboard’s Trade row returns to Flat.

The weekly chart was the most interesting. The dashboard’s Bias read “Below Signal,” meaning the MACD was under the signal line, yet Trade still showed “Long.” That’s because even if the MACD dips below the signal line on a weekly bar that’s still forming, it isn’t treated as a crossover until the bar closes. The rightmost candle had already turned red, which made the difference very clear: the candle color and Bias update on the live bar, while the reference trade waits for the bar to close.

On the weekly chart, Trade stays Long even though the MACD is below the signal line. The crossover isn't confirmed while the bar is still forming.
On the weekly chart, Trade stays Long even though the MACD is below the signal line. The crossover isn’t confirmed while the bar is still forming.

Overall, after trying various timeframes, the stock 12/26/9 settings looked cleanest from the 1-hour to the daily chart, and the reference trade lines were spaced at meaningful distances. On lower timeframes, I think it’s easier to work with after cutting down the number of crossovers by switching to a smoother Type or using longer lengths. The math works the same on gold, stock indices, and forex pairs, so it should shine most on instruments that tend to trend.

Settings and Suggested Values by Goal

The settings are split into these groups: Core (MACD calculation), MA Params (fine-tuning used only by certain Types), Trade Tools (reference trades), Visuals (display), Dashboard, Alerts, and Colors. Let’s start with the ones you’ll touch most.

Settings for the MACD Calculation and Display

Parameters
SettingDefaultSuggestedEffect
TypeEMAStart with EMA. Use HMA or ZLEMA for faster reactions, TRIMA or T3 for fewer crossoversSelects the type of the three moving averages behind the MACD and signal lines from 29 options. Lag-reducing types cross earlier and more often; smoother types cross later and less often
SrcclosecloseThe price used for the fast and slow moving averages. Keep it on close to match the standard MACD
Fast1212Length of the shorter moving average. Lower values make the MACD react faster and cross more often. It must be shorter than Slow, or no reference trades open
Slow2626Length of the longer moving average. Higher values make the MACD move more slowly and cross the zero line less often
Signal99Length of the signal line. Lower values give earlier and more frequent crossovers; higher values give later and fewer
HistOnOnShows the four-color histogram. Worth keeping on, since it’s how you spot fading momentum
ZeroOnOnShows the zero line. Especially useful as the reference when Candle Mode is set to MACD × Zero
LevelsOffOn (when reviewing reference trades)Draws the Entry, SL, and TP1 to TP3 lines and labels of the latest reference trade on the price chart
CandlesOnOn (Off when combined with another indicator that recolors candles)Colors the candles green or red based on the MACD state
Candle ModeMACD × SignalMACD × Signal to follow short-term flips, MACD × Zero to follow the bigger trendThe reference for candle colors. MACD × Signal uses the MACD line versus the signal line; MACD × Zero uses the MACD line versus zero
Show DashboardOnOnShows the dashboard in the top-right corner. Setting warnings stay visible even when it’s off
PositionTop RightA corner that doesn’t overlap price actionThe corner where the dashboard is drawn (Top Right / Top Left / Bottom Right / Bottom Left)
Show on Price ChartOnOnOn draws the dashboard on the price chart; Off keeps it in the MACD pane

Fast must be shorter than Slow. If it isn’t, the lines are still drawn, but no reference trades open and a warning appears on the dashboard.

Reference Trade Settings

Parameters
SettingDefaultSuggestedEffect
Lock SignalOffOffWhen on, no new reference trades open on the latest bar and opposite crossovers don’t close the trade. After a chart reload, past bars are calculated normally
ATR Len1414ATR length used for the stop distance. Shorter reacts faster to recent volatility; longer keeps the stop distance steadier
SL ATR1.51.5 to 2.0Distance from entry to the stop-loss line in ATR multiples. This distance is 1R; raising it moves the stop farther away and pushes the targets out by the same ratio
TP1 R11Places the first take-profit line this many R from entry. The trade stays open after it’s hit
TP2 R22Places the second take-profit line this many R from entry. The trade stays open after it’s hit
TP3 R33Places the third take-profit line this many R from entry. The trade closes when it’s hit

If TP1 R through TP3 R aren’t entered in ascending order, they’re sorted from nearest to farthest, and the Targets row on the dashboard shows “Reordered.” If any take-profit line rounds to the same price as the entry, the labels are merged into one, like “Entry / TP1.”

Settings Used Only by Specific Types (MA Params)

These settings only apply when you’ve selected the matching Type in Type. For example, ALMA Off does nothing unless the Type is ALMA. The defaults are fine to start with.

Parameters
SettingDefaultSuggestedEffect
ALMA Off0.850.85Used only when Type is ALMA. Sets where the weighting peaks: closer to 1 weights recent bars more and reacts faster, closer to 0 is smoother
ALMA Sig66Used only when Type is ALMA. Sets the width of the weighting curve: larger averages more broadly and smooths more, smaller makes the peak sharper
T3 Vf0.70.7Used only when Type is T3. Higher values react faster but overshoot more; lower values are smoother
KAMA Fast22Used only when Type is KAMA. The fastest tracking speed, applied when price moves cleanly in one direction. Lower is faster
KAMA Slow3030Used only when Type is KAMA. The slowest tracking speed, applied when price chops back and forth. Higher values flatten the line more in ranges
JMA Phase5050Used only when Type is JMA. Higher values reduce lag but overshoot more (-100 to 100)
JMA Pow22Used only when Type is JMA. Higher values react faster with less smoothing (1 to 5)
Kal Q11Used only when Type is Kalman. The higher it is relative to Kal R, the more it trusts new prices and the faster it tracks
Kal R1010Used only when Type is Kalman. The higher it is relative to Kal Q, the more it discounts new prices, giving a smoother, slower line
LLAMA LB3030Used only when Type is LLAMA. How many bars back it searches for similar setups
LLAMA Rng0.50.5Used only when Type is LLAMA. How far the length can stretch or shrink. At 0.5, it moves between half and 1.5 times the set length

Example Setups by Trading Style

Treat these numbers as starting points. They’re built from how each Type and length behaves, so fine-tune them on your own symbols and timeframes while watching the number of crossovers and the amount of lag.

GoalExample settingsWhy
Use it as your usual MACDType EMA, lengths 12/26/9, Candle Mode MACD × SignalNearly identical to the built-in MACD, so it’s easy to compare with other guides and charts
Fewer crossovers on lower timeframesType TRIMA or T3, lengths 12/26/9Smoother lines mean fewer crossovers from small wiggles, at the cost of later signals
Catch direction changes earlierType HMA or ZLEMA, lengths 12/26/9Lag-reducing types react faster to direction changes. Crossovers increase, so confirm the market regime with something like Chop Zone
Swing trading with the bigger trend onlyType EMA, Candle Mode MACD × Zero, SL ATR around 2.0Candle colors are less likely to flip on pullbacks and bounces. A slightly wider stop makes it harder to get shaken out

What Can You Do with Alerts and Webhooks?

When you pick MACD Multi-MA as the condition in TradingView’s alert dialog, you’ll see these six alert conditions.

Alert conditionWhen it fires
BUY SignalOn the close of the bar where a long reference trade opens
SELL SignalOn the close of the bar where a short reference trade opens
Close Long SignalWhen a long reference trade is closed by TP3, the stop-loss, or an opposite crossover
Close Short SignalWhen a short reference trade is closed by TP3, the stop-loss, or an opposite crossover
Partial Close LongWhen a long reference trade hits TP1 or TP2
Partial Close ShortWhen a short reference trade hits TP1 or TP2

Separately, if you choose the alert() function call option from the condition list, you’ll receive a JSON-formatted message containing the ticker, timeframe, trade direction, entry price, stop-loss price, take-profit prices, Type, and more. The word in the message’s “action” field can be changed with ↑ Long Action, ↓ Short Action, and the other inputs in the Alerts group, so you can match it to whatever tool receives it.

With TradingView webhooks, you can also send this message to an external server. Webhook alerts require two-factor authentication, and available features also depend on your TradingView plan, so check your account before setting it up.

Take-profit alerts don’t wait for the bar to close

BUY Signal, SELL Signal, and stop-loss alerts wait for the bar to close, but TP1 through TP3 alerts fire on the live bar as soon as the high or low touches the level. It’s good to keep this timing difference in mind: take-profit alerts can arrive first, while entry alerts only come after the bar closes.

Adding Chop Zone to Spot Markets Where Crosses Keep Firing

Since MACD Multi-MA turns every confirmed crossover into a reference trade, in a choppy market the crossovers keep firing around the zero line, and it tends to repeat the cycle of opening a trade and closing it on the next opposite cross. Changing the Type can reduce the number of crossovers, but the MACD pane alone doesn’t make it easy to tell whether you’re in a choppy market right now.

So I tried adding TradingView’s built-in Chop Zone indicator in a separate pane. Chop Zone shows the angle of the EMA 34 slope as columns in nine colors, so you can read the market regime from the color pattern without looking at any numbers. In the stretch where red and cyan alternate, as in Figure 1, the MACD also crossed five times, as Figure 2 shows. The cross above that came as the cyan columns started lining up led straight into the rally, as shown in Figure 3.

Use Chop Zone's colors to tell when crossovers are reliable

Add TradingView's built-in Chop Zone in a lower pane and its colors tell you when the market is prone to back-to-back MACD crossovers.

Use Chop Zone's colors to tell when crossovers are reliable① Red and cyan keep alternating ② 5 crossovers in the same stretch ③ The cross above as cyan starts lining up led straight into the rallyMACD Multi-MAChop ZoneRed and cyan keep alternating5 crossovers in the same stretchThe cross above as cyan startslining up led straight into the rally

Vowars DE ver.3.24.1

Chop Zone is a built-in indicator that shows the angle of the EMA 34 slope as columns in nine colors. Runs of cyan mark a steady upward slope, while red and orange mark a downward slope. Where the colors keep alternating, MACD Multi-MA's crossovers also fire again and again near the zero line.

A simple way to use it: give more weight to crossovers when Chop Zone’s colors are consistently on one side, and skip crossovers when the colors keep flipping. Because it looks at the market from a different angle than the MACD, the slope of the EMA 34, it doesn’t just double-check the same thing, which I liked.

Here are two more built-in indicators that look like a good match. Multi-Time Period Charts shows the higher-timeframe range as boxes, so you can check, for example, where in the 1-hour range a 15-minute reference trade was opened. RSI Divergence Indicator draws lines where price and RSI peaks and troughs disagree, which helps when you want an early hint that momentum is fading before the MACD crosses.

Where It Shines and What to Watch Out For

Where it shines

  • Choose how the MACD is calculated from 29 moving averages and compare the response in the same pane
  • The four-color histogram shows fading momentum before a crossover
  • Candle colors show the MACD state, so you never have to take your eyes off price
  • Automatically draws an ATR-based stop and three take-profit levels for every crossover
  • Reference trades open on confirmed bars, so the entry never moves afterward
  • The JSON alert messages are ready to use for external integrations

What to watch out for

  • In choppy markets, crossovers keep firing and reference trades get replaced at short intervals
  • Stops are judged on the close, so results can differ from real stop orders
  • Only the most recent reference trade is drawn on the chart
  • With so many Types and settings, testing them all takes time
  • MACD values scale with price, so you can’t compare readings across symbols

Three Behaviors to Know Before You Use It

1 Closed bars don’t change

MACD Multi-MA calculates only from the chart’s own timeframe data and doesn’t pull data from higher timeframes. On the live bar, the MACD lines, histogram, and candle colors move with price, but once a bar closes its display doesn’t change, and reference trades only open on confirmed bars. As long as you use the default settings, you shouldn’t have to worry about crossovers or reference trades on the historical chart being rewritten later.

2 The one exception: Lock Signal

Lock Signal freezes the current reference trade: while it’s on, no new trades open and the trade isn’t closed by an opposite crossover (TP and stop-loss checks still run). However, it only applies to the latest bar. Even if a crossover was blocked while it was on, reloading the chart recalculates that bar as historical data, so the trade you blocked may show up. It’s safest to treat it as a temporary freeze for when you’re managing a trade manually.

3 It doesn’t run on Heikin Ashi or Renko charts

On Heikin Ashi, Renko, Kagi, Point & Figure, Range, and Line Break charts, the bars are built from synthetic prices rather than actual prices, so MACD Multi-MA doesn’t calculate anything and instead shows a message in the center of the chart asking you to switch to regular candles. Switch the chart type back to candles (or bars) and it displays normally.

Reference trades aren’t trade signals

The reference trade lines show where the stop and targets would sit if you entered mechanically on a confirmed crossover. Even if past charts show clean runs to TP3, there’s no guarantee the same results will continue. Don’t make trading decisions from MACD Multi-MA alone; combine it with the market context, the higher-timeframe trend, and your own risk management.

MACD Multi-MA’s Real Strength: A MACD Tuned to Your Own Speed

MACD Multi-MA keeps the familiar look of the MACD while letting you choose the moving average inside it from 29 types. Do you want HMA to catch direction changes earlier, or TRIMA or T3 to filter out crossovers? You can switch and compare right in the same pane, so it’s especially handy if you’ve ever felt that MACD is too slow or gives too many fakeouts.

MACD Multi-MA [MarkitTick]

With candle coloring, a four-color histogram, a dashboard, and ATR-based reference trades all in one package, it’s especially convenient if you build your chart around the MACD. Start with the default EMA to get the same feel as your usual MACD, turn on Levels to watch how the reference trades play out, and then try switching the Type one at a time. Once you find the Type that fits your timeframe, the same MACD can look very different.

Sources: This article is based on hands-on testing and in-depth analysis of the indicator MACD Multi-MA [MarkitTick] by MarkitTick on the charting platform TradingView.

Disclaimer: This article summarizes our own testing and analysis of how an indicator published on TradingView works and behaves. The symbols, timeframes, and settings used here were chosen to check how the indicator displays—they are not a recommendation to trade those instruments or to use the suggested settings. Indicators can change when their authors update them, so this article reflects the version we tested. All investment decisions are your own.

Never miss a new indicator
Get Vowars in Google search, a browser alert on publish, or updates on X.
YUZURU
AuthorYUZURUFounder & Reviewer, Vowars
View profileClose

An editor for content sites at a web agency, I started trading crypto in 2018. Working my way from spot to futures got me hooked on chart analysis, and I now build my own custom indicators on TradingView. On Vowars, I test TradingView indicators one by one on my own charts and review everything from the math behind them to how to use them and where they fall short, with custom visuals throughout.…

Created by

Vowars Picks

Stochastic Heat Map

“Stochastic Heat Map” Tested: Bottom-to-Top Color Shifts That Show How Real a Move Is

"Stochastic Heat Map" is an oscillator that stacks 28 Stochastics with lengths from 10 to 280 as colors, showing where price sits in its range on every lookback at once. The way color spreads from the bottom rows to the top tells you how strong a move is, but red stays pinned in strong trends, so it works best with direction handled separately by something like an EMA.

DifficultyIntermediate 8 figures

CME Institutional Order Flow & AMT Lens

Auction Market Theory on One Chart: An Indicator That Flags Volume Absorption by Color

“CME Institutional Order Flow & AMT Lens” is a TradingView indicator that combines a volume profile, candle coloring, shelves, and a dashboard in one. It gives no buy or sell signals and instead automatically marks key prices such as the POC and Value Area.

DifficultyAdvanced 7 figures

Fibonacci Trend Continuation Signals [AlgoAlpha]

Measure Pullback Depth Inside a Trend With “Fibonacci Trend Continuation Signals”

"Fibonacci Trend Continuation Signals" is a free TradingView indicator that automatically draws a Fibonacci range in the direction of the trend and prints a continuation signal the moment price starts moving again after a pullback or bounce. It gives you an objective read on pullback depth.

DifficultyIntermediate 5 figures

Smart Trader, Episode 06, Isotropic Trend Lines

Isotropic Trend Lines: Measuring Trend Strength with a Volatility-Adjusted Angle

Isotropic Trend Lines is a channel indicator that puts price on a log scale and divides it by volatility (σ) to produce a trend angle that does not depend on chart scaling. On one screen you get direction, strength, and position in the channel, plus breakout and retest status.

DifficultyIntermediate 10 figures

Strong Burst Fader

Strong Burst Fader: Measure Overextension with Diamond Stacks and Color for Mean-Reversion Fades

“Strong Burst Fader” measures how far the wick pokes outside a hidden moving average plus ATR band and shows that depth as diamond stack height and color, making it a mean-reversion indicator for fading overextended moves. The taller and redder the stack, the deeper the overshoot, and the best setups come when the burst stops at one stack and price closes back inside the band.

DifficultyBeginner 9 figures

Divergence for Many Indicators v4

Divergence for Many Indicators v4 : How to Read Divergence Across 10 Indicators in One Label

"Divergence for Many Indicators v4" is a TradingView indicator that detects divergence across 10 indicators, including RSI and MACD, and shows how many line up in a single label. Signals come early, but only the last one survives within the same swing. It works best once you've defined market direction.

DifficultyIntermediate 6 figures

Browse by goal

1 / 5