Uhl MA Crossover System: An MA Crossover That Waits Out the Chop
Golden crosses and death crosses are probably the most familiar way to spot a trend change. The problem is what happens in a sideways market: the two moving averages keep tangling, and every tangle flips you from long to short and back again. If you have traded MA crossovers for any length of time, you know exactly how that feels.
Uhl MA Crossover System builds a two-line MA crossover around the Corrected Moving Average (CMA), a moving average designed by Andreas Uhl of the University of Salzburg in Austria. One line is fast, the other is slow. What sets it apart is that both lines stay flat while price movement is small, so crossovers rarely happen in a choppy market.
When I ran it across every timeframe from the 1-minute to the weekly chart, it looked nothing like a regular moving average. Instead of a smooth curve, each line moves like a staircase, alternating between flat stretches and sudden steps. That shape is the whole idea behind Uhl MA Crossover System.
Two Lines and a Cloud. That Is All You See
The display is about as clean as it gets. A blue line and a red line are drawn over the candles, and the space between them is shaded blue or red. In this article, I call that shaded area the “cloud.”
| Element | Color | Role |
|---|---|---|
| CTS (Corrected Trend Step) | Blue | Fast line that tracks close to price |
| CMA (Corrected Moving Average) | Red | Slow line that follows at a distance |
| Cloud | Blue or red | Blue when CTS is on top, red when CMA is on top |
You read it like any MA crossover: the fast line crossing above the slow line is bullish, and crossing below is bearish. At Figure 1, CTS crosses above CMA and the cloud turns blue. At Figure 3, it crosses back below and the cloud returns to red. The part worth noticing is Figure 2, where CTS goes flat for a while even in the middle of an uptrend.
Blue Cloud, Red Cloud: Spotting Trend Changes With Two Lines
In Uhl MA Crossover System, the cloud changes color when the fast blue line and the slow red line swap places.
Vowars DE ver.3.12.40
There are no buy or sell arrows or labels. Everything comes down to the cloud color and the point where the two lines swap places. With only two colors to read, you know which way things are leaning the moment you open the chart.

Why the Lines Move Like a Staircase
Both lines in Uhl MA Crossover System are anchored to how much price has recently been fluctuating, and that fluctuation is measured with variance (the square of the standard deviation). Once you understand this, it becomes clear why the lines stall and why they suddenly jump.
CTS Only Moves When the Close Breaks Away
CTS looks at the distance between its previous value and the current close. As long as that distance stays within the variance of the last length closes, CTS simply holds its previous value. That is the stretch at Figure 1: the candles bounce around, but the line does not move at all.
Only when a bar closes outside that range does CTS update. The bar at Figure 2 is that moment. The size of the move is not fixed either; the farther the close breaks away, the closer CTS gets pulled toward it. On a big bullish candle like the one at Figure 3, CTS lands right next to the close in a single bar.
When CTS Holds and When It Moves
CTS only moves when the close breaks away from the previous CTS by more than the recent variance range.
Vowars DE ver.3.12.40
The gray band in the figure is something I added to show the mechanism; the indicator itself does not plot it. Still, it explains why CTS on your chart keeps alternating between steps and flat stretches.
CMA Chases the Simple Moving Average From Behind
The red CMA works on the same principle. The difference is that instead of chasing the close, it chases the length-period simple moving average (SMA). While the gap between the SMA and CMA stays within the variance range, CMA stays flat.
At Figure 1, the SMA pulls away to the upside, yet CMA stays at the same level for quite a while. Only at the bar marked Figure 2, where the gap exceeds that range, does it finally start curving higher.
When CMA Starts Moving
CMA chases the 100-period simple moving average, but it stays flat until the gap between them exceeds the variance range.
Vowars DE ver.3.12.40
You will see the same thing on live charts: CMA runs flat for a long time and then starts moving in a curve at some point. On the daily chart, the red line curved steadily lower from mid-January into May. Because it waits before it moves, CMA behaves like a calm, slow line.
CMA is a moving average Andreas Uhl introduced in a research paper, and it is not widely known. Uhl MA Crossover System uses CMA as the slow line and pairs it with CTS, a new fast line that applies the same logic to the close. CTS was created specifically for this indicator, so you will not find it under that name anywhere else.
Fewer Whipsaws in Choppy Markets
Since both lines are built to wait, they both tend to go flat in a range, and there are simply fewer chances for them to cross. That is why the biggest headache with regular MA crossovers, getting chopped up inside a range, happens far less often here.
At Figure 1, the close keeps flipping above and below the red CMA. Looking only at the close versus CMA, it switched sides six times. But as Figure 2 shows, CTS stays flat just under CMA, and the cloud at Figure 3 stays red the whole way.
The Cloud Holds Its Color No Matter How Often Price Crosses CMA
Even when price chops above and below the red line, CTS stays flat without crossing it, and the cloud stays red.
Vowars DE ver.3.12.40
With Uhl MA Crossover System, the absence of a color change is information in itself. If the cloud keeps its color while price moves around, the trend has not changed yet. That makes it useful when you are deciding whether to stay in a position instead of reacting to every short-term swing.
On the other hand, it reacts surprisingly fast when price breaks out with momentum. Because CTS jumps almost all the way to the close on a bar that moves far enough, a big bullish candle that clears CMA, as at Figure 1, takes CTS above CMA on the same bar, as at Figure 2. The typical MA crossover lag, where the cross only shows up after the move is well underway, is much less of an issue on strong moves.
Price and CTS Clear CMA on the Same Bar
In Uhl MA Crossover System, CTS can cross CMA on the very bar where price breaks through it, which keeps the usual MA crossover lag small.
Vowars DE ver.3.12.40
Trading the Cloud Color
Uhl MA Crossover System was designed as an MA crossover trading system from the start. Here is how I break down using it in practice, in three steps.
1 Set Your Bias From the Cloud Color
A blue cloud means a long bias, a red cloud means a short bias. If you time entries on a lower timeframe, an easy approach is to keep Uhl MA Crossover System on a higher timeframe and only take trades in the direction of its color.
2 Wait for the Flip Bar to Close
Your entry candidate is the bar where the cloud changes color. Keep in mind that on the live bar, CTS and CMA move every time the close updates. A flip can show up intrabar and disappear before the bar closes, so wait for the bar close before you act. Once a bar is confirmed, its lines and cloud color do not change.
3 Get Ready to Exit When CTS Steps Down
The exit signal is a flip in the opposite direction, but there is an earlier change you can catch. Near the end of an uptrend, CTS starts stepping down while the cloud is still blue. At Figure 1, CTS steps lower, and at Figure 2, a few bars later, the cloud turns red.
CTS Steps Down Before the Cloud Turns Red
Near the end of an uptrend, CTS starts stepping down before the cloud changes color. You can use it as an early heads-up to plan your exit.
Vowars DE ver.3.12.40
Take partial profits when CTS starts stepping down, then close the rest when the cloud turns red. Splitting the exit into two stages like this makes it easier to avoid giving back your open profit all at once on every reversal. That said, CTS sometimes dips and then climbs again while the cloud stays blue, so treat the step-down as a heads-up rather than an exit signal.

How It Looks Across Timeframes
I kept the default settings and switched through the 1-minute, 5-minute, 30-minute, 1-hour, 4-hour, daily, and weekly charts. The mechanics are identical on every timeframe, but the impression each one gives is different.
On the lower timeframes, there were stretches where the cloud flipped every few hours. A length of 100 bars is just 100 minutes on the 1-minute chart and a little over 8 hours on the 5-minute chart. The lines react to small swings, and for scalping there will be times when waiting for the color change means you are already late.
On the 1-hour to 4-hour charts, by contrast, the cloud held its color for days to weeks, which is a good fit for setting your bias as a day trader or swing trader. On the weekly chart, most of the visible range sat inside a blue cloud, so it turns into a way of checking whether the long-term uptrend is still intact.

Keep in mind that this is only a small slice of each timeframe. How often the color flips depends on market conditions on any timeframe, so it is worth running Bar Replay on the timeframe you actually trade and stepping through past bars one at a time.
Tuning How Long It Waits With length and mult
There are three settings, listed below exactly as they appear in the settings dialog.
| Setting | Default | Suggested | Effect |
|---|---|---|---|
| length | 100 | 50-200 | Number of bars used for the SMA and the variance. Higher values make both lines move more slowly and the cloud less likely to flip |
| mult | 1 | 1-3 | Multiplier applied to the variance threshold. Higher values make it harder for the lines to start moving, so they stay flat longer |
| src | close | close | Price used in the calculation. Defaults to the close |
length Sets How Fast It Reacts
length is both the period of the SMA that CMA chases and the lookback used to measure variance. A shorter value gets you into new moves earlier, but the color also flips more easily on pullbacks and bounces.
Put a length of 30 and a length of 150 side by side on the same price action and the difference is obvious. With 30, the cloud turns blue right at the start of the rally at Figure 1, but it slips back to red for a few bars on the pullback at Figure 2. With 150, it stays red until price breaks sharply higher at Figure 3.
How length Changes Reaction Speed
On the same price action, a shorter length flips the cloud sooner, while a longer one waits for a bigger move.
Vowars DE ver.3.12.40
mult Sets How Hard It Filters Fakeouts
mult sets how many times the variance range is multiplied. Raising it pushes out the “move this far before I react” threshold, so both CTS and CMA stay flat for longer.
Compare them in a stretch of sharp spikes and drops. With mult at 1, the cloud flips blue once at Figure 1 and goes straight back to red at Figure 2. At 3, it ignores the brief spike and turns blue only once, on the real rally at Figure 3.
Raising mult Cuts Down on Whipsaws
A higher mult makes it harder for CTS and CMA to start moving, so short-lived spikes are less likely to flip the cloud.
Vowars DE ver.3.12.40
Raising either length or mult makes the cloud flip less often. The difference is that length slows down what the lines are chasing, while mult leaves that target alone and only pushes the trigger point further away. If you want to cut down on fakeouts without giving up early entries, start by adjusting mult.
Settings by Goal
| Goal | length | mult | Reasoning |
|---|---|---|---|
| Catch moves earlier | Around 50 | 1 | Keep the trigger threshold, shorten only the period being chased |
| Get used to it with defaults | 100 | 1 | Works well for setting your bias on the 1-hour to 4-hour charts |
| Filter out even more fakeouts | 100 | 2-3 | Keep the period, make only the trigger condition stricter |
| Track only the big-picture trend | 200 | 1-2 | Check whether a major trend is still intact on the daily or weekly chart |
These values are rough guides based on comparing the figures and live charts. Every market has its own rhythm, so whether you use it on gold or major forex pairs, check how often the color flips with Bar Replay before settling on your numbers.
Confirming Momentum With Aroon
Uhl MA Crossover System tells you the direction, but not whether a flip has momentum behind it. That is where the built-in Aroon indicator on TradingView comes in. Aroon measures how many bars have passed since the highest high or lowest low within the lookback period on a 0 to 100 scale, and a reading of 100 means the current bar just printed a new high (or low).
After the cloud turns blue at Figure 1, Aroon Up stays elevated at Figure 2, showing that new highs keep coming. On the flip side, at Figure 3 Aroon Down hits 100 and the cloud turns back to red at almost the same time.
Checking the Momentum Behind a Flip With Aroon
Checking whether one Aroon line is pinned near 100 around a color change tells you whether the flip is backed by a run of new highs or lows.
Vowars DE ver.3.12.40
Because Aroon reacts quickly, Aroon Down can spike briefly even in the middle of an uptrend. In the figure, Aroon Down climbs close to 100 midway through the blue cloud, yet the Uhl MA Crossover System cloud stays blue. Use Aroon for momentum and the cloud color for trend direction, and each one covers the other’s weak spot.
A few other indicators look like a good match too. Chaikin Money Flow (CMF), which shows whether volume is skewed toward buyers or sellers, helps confirm that money is actually flowing in the direction of the flip. ATR is handy for sizing your stop once the cloud color has set your direction. And if you want a number for whether the market is choppy, adding ADX in a separate pane makes it easier to tell whether the cloud is holding its color because the trend is intact or because nothing is moving.
What to Know Before You Use It
Where Waiting Pays Off
- Both lines go flat in a range, so whipsaw crossovers are rare
- On strong moves, CTS catches up in a single bar, keeping crossover lag small
- With a two-color cloud, you can read direction at a glance on any timeframe
- Lines and colors on confirmed bars never change after the fact
Where Waiting Needs Care
- In slow, grinding trends, the lines can take a while to start moving
- In a run of sharp spikes and drops, the default settings can flip back and forth
- It does not show momentum strength, so pair it with another indicator
- Lines and colors move on the live bar, so you need to wait for the bar close
Repainting and the Realtime Bar
Uhl MA Crossover System calculates its lines using only closes up to the current bar and does not use any future data. CTS, CMA, and the cloud color on confirmed bars never change after the fact. Only the realtime bar moves, with the lines and cloud color updating every time the close ticks.
One more thing: at the far left of the chart, CMA does not appear until length bars are available. On newly listed assets, or on higher timeframes with only a few bars of history loaded, the line starts partway through the chart.
Alerts and Backtesting
The indicator does not include any built-in alert conditions. You can still get notified of a crossover in TradingView’s alert dialog by selecting this indicator’s CTS as the condition and setting CMA as the target for “Crossing.” Setting the trigger to “Once Per Bar Close” keeps you from getting alerts on brief intrabar crosses on the live bar.
Since Uhl MA Crossover System is not a strategy, you cannot view its performance in the Strategy Tester as is. The same author has published a separate strategy version called “Uhl MA System – Strategy Analysis,” so that is one option if you want to check the numbers. Check its published page first to confirm whether the trading rules and settings match.
The cloud color only shows the direction of the trend. Flips that look clean on a historical chart can be much harder to call in real time, when the live bar is moving up and down. Set your stop first, and make your decision together with the higher-timeframe trend and other indicators.
What the Flat Lines Are Telling You
ImageUhl MA Crossover System shows nothing more than two lines and a cloud, but the real value is in the stretches where the lines stop moving. It waits while price stays within its normal range and only moves when that range is broken. That is why the cloud stays calm even in the choppy markets where regular MA crossovers struggle.
If you are just getting started, load it with the default settings on a 1-hour or 4-hour chart and watch the cloud color and the points where CTS steps up or down. If the back-and-forth bothers you, raise mult. If you want to get in earlier, lower length. Those two adjustments alone should be enough to find a way of waiting that fits your trading.









