20 moving averages, one 3D ribbon
Stacking a bunch of moving averages on a chart has been a trader favorite for ages. You check whether the MAs are lined up in order from short to long, or you read the trend from the short-term and long-term groups the way the Guppy Multiple Moving Average (GMMA) does. The catch is that the more lines you add, the more your candles get buried, and the price action you actually care about gets harder to see.
Trend Following MAs 3D takes 20 moving averages, from 5 to 100 periods in steps of 5, and condenses how they relate to each other into a single ribbon in a pane below the price chart. Nothing gets drawn over your candles, so the chart stays clean. The shading gives the ribbon a distinctive 3D look, and it’s been featured as a TradingView Editors’ Pick.
Once you actually use it, there are really only three things to watch.
- Ribbon color tells you whether the bias is up (green) or down (red)
- Ribbon thickness and position show how far the short-term MAs have pulled away from the long-term MAs
- Ribbon brightness shows whether momentum is building or starting to fade
It doesn’t fire buy or sell signals. It’s an analysis indicator that gives you what you need to read trend direction and strength. The figure below follows Trend Following MAs 3D from a consolidation into a rally and through the reversal at the top.
Color shows direction; band thickness and brightness show momentum
How the Trend Following MAs 3D ribbon changes from the start of a rally to the reversal at the top.
Vowars DE ver.3.22.0
As the rally gets going, the green ribbon fans out upward Figure 1. When the move accelerates, the ribbon gets even thicker and brighter Figure 2. Once price tops out and the short-term MAs roll over, the ribbon flips to red while it’s still sitting high Figure 3. You can see that color, thickness, and brightness are each telling you something different.

What does the ribbon in the pane actually show?
Once you know what the height of the Trend Following MAs 3D ribbon actually measures, reading its shape gets a lot easier.
Zero is the 5-period MA itself
Under the hood the indicator calculates 19 lines, but the lines themselves have no color, so you never see them on the chart. All you see are the 18 bands filled in between them.
Each of the 19 lines is the 5-period MA minus another MA: the 10-period, the 15-period, and so on up to the 100-period. In other words, zero in the pane is where the 5-period MA sits, and the ribbon plots how far every other MA is from the 5 MA.
Re-plotting 20 MAs as their distance from the 5-period MA
A schematic of how the MAs on the price chart map to the ribbon in the pane, taken from a single bar in an uptrend.
Vowars DE ver.3.22.0
On the price chart, the 5-period MA is on top during an uptrend Figure 1. In the pane, though, the indicator plots distances, so the gap to the 100-period MA, the one farthest from the 5 MA, ends up on top Figure 2. Just keep in mind from the start that the order is flipped. The zero line is the 5 MA itself Figure 3.
Each of the 18 bands is the gap between two neighboring MAs: 10 and 15, 15 and 20, all the way to 95 and 100. When a trend keeps running and the MAs spread apart, the ribbon gets thicker. When price chops sideways and the lines bunch up, it gets thinner. Think of the ribbon’s total thickness as a direct read on how wide the MA fan has opened.
The two shortest MAs decide green or red
All 18 bands share the same color: green when the 5-period MA is above the 10-period MA, red otherwise. It’s close to the idea of a golden cross and death cross, but since it uses the two shortest MAs, the flips come early.
That’s why you’ll often see the ribbon turn red while it’s still well above zero Figure 3. The distance to the long MAs is still there; only the two short-term MAs have crossed. Read color as the short-term direction, and the ribbon’s position and thickness as the bigger trend.
The 3D look comes from each band having its own brightness
The 3D effect comes from each band having a different level of transparency. Brightness is set for each band in this order:
- The band’s gap is compared with that band’s own range over the last 200 bars and turned into a level (it never goes below 4)
- That level moves up or down by 1 to 3 depending on whether short-term momentum (the 5 MA vs. 10 MA spread) is strengthening and whether the gap is wider than on the previous bar
- The higher the level, the more opaque and brighter the band; the lower it is, the more see-through and darker it looks
Two questions that set each band's brightness
Each band's brightness starts from the size of its gap, then shifts 1–3 levels based on short-term momentum and whether the gap is widening.
Vowars DE ver.3.22.0
Bars where momentum is building and the gap is widening come out brightest Figure 1. On the flip side, once short-term momentum weakens, the band drops three levels at once, even if the gap is still widening Figure 2. If the inner bands near zero suddenly look dull in the middle of a rally, take it as a sign that momentum is starting to stall.
Note that brightness is based on each band compared with its own last 200 bars. A band being brighter than its neighbor doesn’t mean its gap is bigger in price terms, so don’t read it that way.
The 19 numbers next to the pane name and on the price scale are each MA’s distance from the 5 MA, in price units. The last one is the gap to the 100-period MA, so you can see at a glance how many dollars the short and long MAs are apart right now.
These values are set to show no decimal places. On instruments with small price moves, like EUR/USD, they’ll read as 0, but the ribbon itself isn’t affected. If you want to read the numbers too, raise the Precision setting on the Style tab.
Three ways to read the ribbon, tested on real charts
Here are the ways of using Trend Following MAs 3D that proved useful on real charts, scenario by scenario.
1 The wider and brighter the ribbon, the stronger the trend
This is the core read. As long as the green ribbon keeps thickening above zero and stays bright, the short MAs are still pulling away from the long MAs, which means the uptrend still has momentum. In a downtrend, the red ribbon spreads out below zero instead.
Here, watch whether the top edge of the ribbon (the gap to the 100-period MA) keeps extending. When the top edge flattens out and the inner bands near zero start to dull, momentum is likely peaking.

In this 15-minute example, the ribbon opened wide on the spike, and once price went sideways it stayed high while only the color flipped. You can read straight from the ribbon’s shape that the distance to the long MAs held, and only the short-term momentum cooled off.
2 Don’t pick a direction while the ribbon is thin
As the script’s description also points out, a thin Trend Following MAs 3D ribbon means there’s no trend. The longer a consolidation drags on, the more the MAs bunch together, until the ribbon has almost no thickness at all.
Stand aside while the ribbon is thin; act once it opens
A breakout from a long consolidation, tracked with Trend Following MAs 3D.
Vowars DE ver.3.22.0
During the consolidation, the ribbon stays thin and keeps flipping between green and red around zero Figure 1. Chasing color flips here is an easy way to get chopped up. Once the breakout started, the ribbon opened upward and brightened from the inner bands out Figure 2. Sit out while the ribbon is thin, and only start thinking about trades once it opens up. That one habit alone can help cut down on pointless trades in a ranging market.
3 Read color flips together with the ribbon’s position
A green flip in the middle of a downtrend doesn’t mean the bottom is in. That’s where you look at where the whole ribbon sits.
Read color flips together with where the ribbon sits
Two green flips late in a downtrend, compared by the ribbon's position and direction.
Vowars DE ver.3.22.0
The first green flip showed up with the ribbon still deep below zero, and it went back to red after two bars Figure 1. Only the two short-term MAs crossed for a moment; the distance to the long MAs barely shrank. The second time, the ribbon stayed green and the whole thing kept lifting toward zero, a sign that the downtrend itself was losing steam Figure 2.

In this 1-hour example too, after the sharp drop the ribbon turned green and then gradually worked its way back toward zero. It’s when the color change and the ribbon’s position line up that it becomes easier to call a shift in the trend.
Color for short-term direction, thickness and position for the size of the trend, and brightness for shifts in momentum. Just keeping those roles separate gets you a lot more out of the Trend Following MAs 3D ribbon.
Change the timeframe and the 20 MAs mean something different
The MA lengths in Trend Following MAs 3D are fixed at 5 to 100, and there’s no setting to change them. So the span of time the ribbon covers depends on which timeframe you load it on.
| Timeframe | 5-period MA | 100-period MA |
|---|---|---|
| 5-minute | 25 minutes | About 8 hours |
| 15-minute | 75 minutes | 25 hours |
| 1-hour | 5 hours | About 4 days |
| 4-hour | 20 hours | About 17 days |
| Daily | 5 days | 100 days |
| Weekly | 5 weeks | About 2 years |
That table holds for crypto, which trades 24/7. For stock indices and forex, which only trade on weekdays, 100 daily bars works out to roughly five months of trading days. Keep that conversion in mind when you use it on gold or USD/JPY as well.
I checked it on everything from the 1-minute to the weekly, and the ribbon is drawn the same way on every timeframe. What changes is how often the color flips: on lower timeframes the 5 and 10 periods cover just a few minutes of price action, so flips become more frequent. For day trading, the 15-minute to 1-hour charts, and for swing trading, the 4-hour to daily charts felt like the best match between ribbon changes and trade horizon.

On the weekly, the ribbon’s color and swell give you a big-picture view of where bull and bear phases begin and end. It also works well for checking the long-term trend first and then dropping down to lower timeframes.
The three settings and how to tune them for your goal
Trend Following MAs 3D has just three settings, and each one applies to all 20 MAs at once.
| Setting | Default | Suggested | Effect |
|---|---|---|---|
| MA Type | EMA | EMA (RMA if you want fewer color flips) | Sets the type for all 20 MAs: EMA, SMA, RMA, WMA, or VWMA. RMA moves more smoothly and flips later. VWMA weights each bar by volume |
| Use Linear Regression | On | On | Smooths each MA with linear regression before the spreads are taken. On gives the ribbon smoother edges; off responds slightly faster but makes the edges jagged |
| Linear Regression Period | 10 | 10 | Number of bars used for the linear regression smoothing (minimum 2). Higher values smooth the ribbon more but add lag; lower values track the raw MAs more closely. Only applies when Use Linear Regression is on |
Use Linear Regression smooths the ribbon’s outline
With Use Linear Regression turned on, each MA is smoothed with linear regression (fitting a straight line to recent values) before the spreads are taken. It’s on by default.
Linear regression on vs. off changes the ribbon's outline
The same price action on Trend Following MAs 3D, with only Use Linear Regression toggled.
Vowars DE ver.3.22.0
With it on, the ribbon’s edges are smooth and the color flips settle down Figure 1. Turning it off makes the edges jagged, but in this example the flip to red on the pullback came one bar earlier Figure 2. The smoothing length is set by Linear Regression Period, which defaults to 10. I found it was enough to leave it at the default and only try switching it off when I wanted a faster response.
MA Type sets how fast the colors flip
Changing MA Type switches all 20 MAs to that type at once. The difference shows up less in the ribbon’s shape and more in when the color flips.
How MA Type changes flip timing
The same price action on Trend Following MAs 3D with MA Type set to EMA, SMA, and RMA (linear regression on for all three).
Vowars DE ver.3.22.0
Compared on the same price action, EMA lands in the middle Figure 1, SMA flips to red first Figure 2, and RMA stays green longest with the smoothest ribbon Figure 3. RMA is the smoothed moving average also used in the RSI calculation, and it moves more slowly than an EMA of the same length. How big the differences are depends on price action, so it’s worth lining them up side by side on the instruments you trade most.
Setting combinations by goal
| Goal | MA Type | Use Linear Regression | Why |
|---|---|---|---|
| Start with the standard setup | EMA | On | The defaults. A good balance of responsiveness and stability |
| Fewer color flips | RMA | On | The MAs move more slowly, so short bounces are less likely to flip the color |
| See flips as early as possible | EMA or SMA | Off | Dropping the linear regression smoothing speeds up the response, at the cost of more back-and-forth flips |
| Give more weight to high-volume moves | VWMA | On | Bars with bigger volume have more pull on the MAs |
VWMA is calculated from volume, so on symbols without volume data (such as some indices) it can’t be calculated and the ribbon may not show up. If the ribbon disappears, switch MA Type back to one of the other types.
Williams %R pairs well for measuring how deep a pullback runs
Trend Following MAs 3D is great at telling you whether an uptrend is still intact, but it doesn’t tell you when to buy. So I paired it with Williams %R, which measures short-term oversold conditions.
Timing pullbacks with Williams %R
Confirming the uptrend with Trend Following MAs 3D and measuring pullback depth with Williams %R (14).
Vowars DE ver.3.22.0
Even if the ribbon briefly turns red on a pullback, as long as most of it stays above zero, you can treat it as a correction within the uptrend Figure 1. From there, wait for Williams %R to dip below −80 and turn back up Figure 2, then treat the point where the ribbon goes green and starts opening again as a buy-the-dip setup Figure 3. The ribbon confirms the trend, and Williams %R measures the depth of the pullback.
A few other indicators I found easy to pair with it:
- ATR helps size your stop-loss to current volatility once the ribbon has given you a direction
- Parabolic SAR gives you an exit guide while you ride the trend as long as the ribbon stays open
- Donchian Channels are a good fit for confirming upside or downside breakouts from a thin ribbon with new highs or lows
Where it shines, and where to back it up with other analysis
What Trend Following MAs 3D handles well
- Shows the order of 20 MAs as a single ribbon without covering your candles
- Color, thickness, and brightness let you read direction, strength, and momentum shifts at the same time
- A thin ribbon makes it easy to spot trendless stretches
- Confirmed bars never change after the fact, so it’s easy to study on historical charts
- Only three settings, so you can start using it right after adding it to the chart
What to cover with other analysis
- Because it’s built on moving averages, color flips lag on sharp reversals
- There are no buy/sell signals or alert conditions, so you need to build your own entry rules
- In consolidation the color flips often, and trading on color alone tends to get you whipsawed
- The MA lengths are fixed at 5 to 100 and can’t be changed from the settings
Behavior to understand before you use it
No repainting: confirmed bars stay put
Trend Following MAs 3D is calculated only from past values, so the ribbon on a confirmed bar is never redrawn later. On the live bar the ribbon and its color move with price, but once the bar closes they stay as they are. If you’re trading off color flips, waiting for the bar close is the rule of thumb. And since it doesn’t repaint, it’s also good for practicing with TradingView’s Bar Replay, stepping forward one bar at a time and watching how the ribbon changes.
The ribbon doesn’t appear at the far left of the chart for a while
The ribbon gets no color until there’s enough data for the 100-period MA plus the 200-bar comparison that sets brightness. That means roughly the first 300-plus bars from the left edge of the loaded chart show no ribbon. Keep in mind that on newly listed symbols, or higher timeframes with short histories, the visible range will be shorter.
No built-in alerts, but you can create them from line values
The indicator doesn’t come with its own alert conditions. That said, TradingView alerts let you trigger on things like an indicator value crossing a level you choose. For example, setting a condition for the first line (the 5 MA minus 10 MA spread) crossing zero will notify you at roughly the same moment the ribbon changes color. The lines aren’t named, so check which one is which in the Data Window or similar before you pick it. Also note that if you change the settings after creating an alert, the alert keeps running on the settings it was created with.
Trend Following MAs 3D shows you the state of the market; it doesn’t guarantee winning entries. Since it’s based on moving averages, assume that it will react late to sharp reversals, and base your stop placement on something else, like price action or support and resistance. Even if it looks clean on historical charts, the color can flicker on the live bar in real time.
For traders who want to read a stack of MAs at a glance
ImageTrend Following MAs 3D packs everything you’d get from plotting 20 moving averages into a single ribbon in its own pane, where it stays out of your candles’ way. Color for short-term direction, thickness and position for the size of the trend, brightness for shifts in momentum. Once you can read those three separately, checking MA alignment or a whole stack of MAs gets much easier.
Where it really helps is deciding whether there’s a trend at all. Stay out while the ribbon is thin, and ride the move once it opens up. If the color changes on a pullback but the ribbon holds its position, don’t panic. As a reference point for calls like those, I found it worth keeping on my everyday charts. For entry timing, pair it with an oscillator like Williams %R and turn it into rules that fit your own trading.








