Apex Algo Engine: candles, background and trend line all flip color at once
Apex Algo Engine is a trend-following indicator published on TradingView. Add it to a chart and you get several things at once: recolored candles, a tinted background, a stepped line running below (or above) price, a green and red cloud spreading above and below, and labels that read “Strong”. A small table (the HUD) in the top-right corner also shows the entry price, SL and TP.
It looks busy, but everything revolves around a single line. The trend flips between bullish and bearish when price closes below or above that line, and the line, candles and background all switch to the matching color. “Strong” is simply a marker on the bar where that flip happens, and the SL and TP are calculated from there.
One trend state flips the line, candles and background together
Apex Algo Engine on default settings, captured as the trend turns from bullish to bearish.
Vowars DE ver.3.12.36
I loaded it on Bitcoin across eight timeframes, from the 1-minute to the weekly, and the biggest strength was obvious right away: you can tell which way the market is leaning the moment you look at the chart. At the same time, a few things on the chart don’t match the description on the script page. Using real on-chart behavior like the figure, this review walks through what Apex Algo Engine tells you and where you need to be careful.

Know what you are looking at first
There is a lot on the screen, so here is a quick map of what each element means. Some are on by default; others only appear after you enable them in the settings.
| Element | What it looks like | What it tells you | Default |
|---|---|---|---|
| Trend Tracker | Green or red stepped line | The trend reference line. A close beyond it flips the trend | On |
| Candle color | All green in a bullish state, all red in a bearish state | Trend state, not whether the candle closed up or down | On |
| Background | Faint green or red tint | Trend state | On |
| Strong label | Green tag below the bar or red tag above it | The bar where the trend flipped | On |
| Reversal Cloud | Two-layer band: green on top, red below | How far price has stretched from the center | On |
| SL/TP lines | One red dashed line and three green lines | SL and TP1 to TP3 of the latest signal | On |
| HUD | Small table in the top-right | Trend, position, SL, TP | On |
| Contrarian badges | Blue Buy, yellow Sell | Possible bounce or pullback after price pushes past the inner cloud | Off |
| Exhaustion dots | Small orange dots | Possible overextended highs and lows | Off |
| S/R zones | Horizontal red or green boxes | Resistance and support zones built from swing highs and lows | Off |
The key thing to get straight: trend direction is shown by four things (the line, the candles, the background and the Strong labels), and all four take their color from the same single trend state. The cloud colors do not show direction. The upper cloud is always green and the lower cloud is always red, no matter which way the trend is going. This trips people up at first, so it’s worth remembering.
The core of it: how the Trend Tracker moves
Apex Algo Engine’s trend call comes almost entirely from one line, the Trend Tracker. It works much like a Supertrend or an ATR trailing stop: the line sits a multiple of ATR (average true range, a measure of how much price typically moves) away from price, and the trend flips when price closes beyond it.
In an uptrend, the line holds flat on pullbacks
While the trend is bullish, the line uses each bar’s low minus 2.2× ATR as a candidate level and only steps up when that level is higher than anything before it. When price dips on a pullback the line does not follow it down; it holds flat, as shown in Figure 1.
Once price closes below the line, the trend turns bearish on that bar, marked as Figure 2. The new red line starts at Figure 3, which is that bar’s high plus 2.2× ATR, and from then on it can only move down.
How the Trend Tracker flips
The cloud, SL/TP lines and HUD are turned off in the settings so the line itself is easy to follow.
Vowars DE ver.3.12.36
The trigger is the close, not the wick. If price pokes through the line intrabar but closes back on the right side, nothing changes. The flip side is that the earliest a reversal can register is at the bar close, and since the line sits 2.2× ATR away from the low, it flips noticeably after the actual top or bottom. Think of it less as a tool for catching the very start of a move and more as a line that confirms the trend has changed.
The ATR here is not the standard ATR (which uses an RMA). It smooths True Range with a weighted moving average (WMA) that gives more weight to recent bars, so when volatility suddenly picks up, the gap between price and the line widens faster than it would with the standard ATR. You can change the length with Trend ATR Period.
The diagonal lines mean nothing
The first thing you’ll probably notice on a live chart is lines cutting diagonally across the chart in directions that make no sense for the trend: a green line sloping down during a downtrend, or a red line sloping up during an uptrend.
Why the line connects diagonally instead of breaking
The trend flips bullish, bearish, bullish, bearish. Because of how the line is plotted, diagonals appear across the opposite trend periods.
Vowars DE ver.3.12.36
This happens because the Trend Tracker is really two separate lines, one for bullish and one for bearish, and the inactive one draws a straight line from where it last ended to where it next begins. The green diagonal during the downtrend is Figure 1, and the red diagonal during the uptrend is Figure 2. On TradingView, a standard line plot bridges over gaps with no values by default; to get clean breaks, a different plot style has to be used. The script page says, in effect, that there are no diagonal lines, but in the version I tested they were clearly there.
If price happens to ride along a diagonal or bounce off it, that’s coincidence. Only pay attention to the line that matches the background color and you won’t get confused. If the diagonals bother you, try changing the line type for “Trend Tracker (Bullish)” and “Trend Tracker (Bearish)” in the Style tab of the settings. Just keep in mind that if you hide those lines entirely, you also lose the trend line itself.

“Strong” prints on every single trend flip
With a name like “Strong,” you might expect a signal that survived a strict set of filters. The script page also describes it as firing only after confirming volatility expansion and a break of recent highs or lows.
In practice, though, every bar where the Trend Tracker flips gets a “Strong” label, with no extra filtering. The volatility expansion and 5-bar high/low breakout conditions are in there, but they are joined to the trend flip with an “or.” On top of that, once a buy fires, no new buy can appear until a sell does (and vice versa), so the extra conditions only ever act on their own for roughly the very first signal in the loaded history.
To check, I recreated the same logic on 40 sets of random price data, 1,500 bars each, and counted: 2,310 trend flips and 2,318 signals. All 8 extra signals were the very first one near the start of each data set. In other words, it’s safe to treat the number of “Strong” labels as the number of Trend Tracker flips.
Changing the display mode doesn’t reduce the count
Signal Display Mode has three options, but all it changes is the label text. With the default, “Strong Signals Only (Ultra Clean),” the labels read “Strong”; with the other two they read “Buy” and “Sell.” Whichever you pick, the signals land on exactly the same bars.
The same goes for Strict Trend Tracker Alignment (on by default). It is meant to allow buys only in a bullish state and sells only in a bearish state, but buys already fire on the bar that flips bullish and sells on the bar that flips bearish, so turning it off made no difference to what appeared on the chart.
What controls the number of signals is not the display mode but Trend Sensitivity Multiplier, which sets how far the Trend Tracker sits from price. There is a side-by-side comparison in the settings section further down.
In chop, “Strong” labels stack up
Because a label prints on every flip, a tight, choppy market produces one label after another. Looking at about four hours of the 1-minute chart, I counted more than 20 “Strong” labels alternating between buy and sell. Within that same window, the labels spread out while the market was trending and bunched up whenever it lost direction.

It isn’t just a 1-minute problem. On the same day, about two months of the 4H chart showed a dozen or so labels, and several of those flipped back to the other side within a few bars. Higher timeframes mean fewer labels, but they don’t make ranging back-and-forth disappear.
Reading the Reversal Cloud
The two-layer bands above and below price are the Reversal Cloud. The cloud itself doesn’t generate buy or sell signals, but it works as a yardstick for how far price has stretched from its center.
How the Reversal Cloud is built
The HUD, SL/TP lines and background tint are turned off in the settings so only the cloud lines are left to follow.
Vowars DE ver.3.12.36
At the center of the cloud is a linear regression of the last 55 closes, smoothed twice with an 8-bar weighted moving average. That centerline, drawn as the dotted line at Figure 1, is not actually plotted on the chart. Lines are drawn above and below it at 1.8×, 2.55× and 3.3× a volatility measure, and the space between them is filled. Figure 2 is the 1.8× inner line and Figure 3 is the 3.3× outer line.
That volatility measure blends 65% True Range (the bar’s range, accounting for the previous close) with 35% of the absolute close-to-close change, each smoothed with a 21-bar weighted moving average. A run of long-wicked bars widens the cloud; a run of small bars tightens it.
The cloud edge is not a reversal zone
Despite the “Reversal” in the name, touching the cloud doesn’t mean price will turn. As the first figure shows, in a strong sell-off price can punch straight through the lower cloud and keep going. The centerline is a smoothed 55-bar regression, so it moves slowly and gets left behind in fast markets.
What worked best for me was using the cloud as a brake on entries that fight the Trend Tracker. For example, even in a bullish state, if price is already pinned outside the upper cloud, I hold off on opening a new long for now.
The numbers on the SL/TP lines and the HUD
When a signal fires, the close of that bar is used as the entry price, and SL plus TP1 to TP3 are calculated automatically. The chart shows a red dashed line (SL) and three green lines (TP1, TP2, TP3: dotted, dashed and solid), drawn from the signal bar out to 12 bars past the latest bar.
Where the SL and TPs land on a sell signal
A "Strong" label on a bearish flip. The cloud is turned off in the settings.
Vowars DE ver.3.12.36
The SL is the Trend Tracker value on the signal bar. On a bearish flip that means “that bar’s high + 2.2× ATR,” so the bigger the bar, the wider the stop. The TPs are the distance from entry to SL (1R) multiplied by 1.5 for Take Profit 1 (R:R), 2.5 for Take Profit 2 (R:R) and 3.5 for Take Profit 3 (R:R); those are the three green lines at Figure 2. The TP lines stay green even on short signals, so you can’t tell longs from shorts by their color.
On a real chart, a short signal on the 1H had about $1,160 between entry and SL, and about $4,060 to TP3. Since the Trend Tracker sits 2.2× ATR away, it’s safest to assume the stop will come out on the wide side on any timeframe.
The HUD’s “Position” doesn’t track stop-outs
The HUD’s “Position” row shows “LONG” or “SHORT” with an entry price, but it only shows the direction of the most recent signal. If price hits the SL or blows past TP3, nothing changes; it stays “LONG” until an opposite signal fires. The SL/TP lines don’t change color or disappear when they’re hit, either. On the daily chart, price traded above the TP3 (around $85,120) from a late-July buy signal during September and October, yet the HUD still read “LONG.”
HUD values are shown to two decimal places. That’s fine for Bitcoin or gold, but on pairs quoted to four or five decimals like EURUSD, the HUD rounds the numbers so you can’t read the SL or TP levels from it. The SL/TP lines on the chart are drawn at the correct prices, so on forex, hover over the lines to check the actual levels.
Also, when a new signal fires, the previous signal’s SL/TP lines are removed and only the latest set remains. If you want to review whether past signals hit the SL or the TP first, the practical way is to step through them bar by bar with Bar Replay.
How I read a “Strong” signal
Based on everything above about the cloud, SL and HUD, here is the order I go through when looking at Apex Algo Engine. The idea is to treat the signal as one step in a checklist.
1 Check the label only after the bar closes
On the bar that’s still forming, labels can appear and disappear. Make the call only after the bar closes and the candle and background colors have actually switched.
2 Look at the chop right before it
If the background has been flipping back and forth over the last few dozen bars, this flip may be short-lived too. When labels are bunched together, sit on your hands for a bit.
3 Check where price sits in the cloud and how far the SL is
If price has already run outside the opposite cloud by the time the flip prints, or the SL distance is wider than usual, don’t chase it. Check first that the gap between the HUD’s SL and the entry price fits within the loss you’re willing to take.
4 Consider holding while the line keeps its direction
Once you’re in, a close through the line that matches the background color is a reasonable exit reference. A line that has gone flat on a pullback doubles as a trailing stop candidate.
Three features that are off by default
The “OPTIONAL CONTRARIAN TOOLS” group in the settings contains three features that are off out of the box. None of them care about trend direction, so keep in mind that they behave very differently from the rest of the indicator.
Contrarian badges and exhaustion dots
Turn on Show Contrarian Sniper Badges and you get a blue “Buy” or yellow “Sell” when price pushes past the inner cloud line (or its Z-score, the distance from the center measured in standard deviations, goes beyond ±2.2) and then a bar closes in the opposite direction. Once a badge prints, no other badge, buy or sell, appears for the next 20 bars.
Show Exhaustion Peak Dots combines the same condition with “the highest high (lowest low) of the last 10 bars” and plots an orange dot above (below) the bar.
The optional contrarian tools turned on
Show Contrarian Sniper Badges and Show Exhaustion Peak Dots are on (both are off by default). The HUD and SL/TP lines are off.
Vowars DE ver.3.12.36
My takeaway from testing: in the middle of a strong trend, they tend to fire too early. In Figure 2, a yellow Sell printed while the trend was still bullish, and price kept climbing afterward. As Figure 3 shows, there are at least 20 bars before the next badge. The contrarian “Buy” and “Sell” come from completely separate logic from the green and red “Strong” labels, so don’t treat them as the same kind of buy or sell.
S/R zones are drawn into the past 20 bars late
Turn on Show S/R Retest Zones and horizontal boxes appear at swing highs and lows: red for resistance, green for support, with up to the three most recent of each kept on the chart. Box height is the same volatility measure used for the cloud multiplied by Zone Thickness (ATR Mult), which defaults to 0.4.
S/R zones are drawn into the past after the fact
Show S/R Retest Zones is on (it is off by default). The cloud, HUD and SL/TP lines are off.
Vowars DE ver.3.12.36
The thing to watch is timing. A bar only counts as a swing high if it is higher than the S/R Swing Pivot Length bars (20 by default) on each side. Because it has to wait for those 20 bars on the right, the box appears on the bar at Figure 2, 20 bars after the high, and is then drawn back from Figure 1, 20 bars in the past. On a historical chart it looks like the box sits right at the high, but in real time it shows up as a box that has suddenly been added in the past.
Settings, and the ones worth changing
Setting names appear in English in the settings panel. Here are the defaults. The suggested values are guidelines based on this review’s testing.
| Setting | Default | Suggested | Effect |
|---|---|---|---|
| Signal Display Mode | Strong Signals Only (Ultra Clean) | Your preference | Only changes the label text: Strong, or Buy/Sell |
| Strict Trend Tracker Alignment | On | Leave on | Turning it off makes almost no visible difference |
| Trend Sensitivity Multiplier | 2.2 | 2.2–3.0 | Distance of the Trend Tracker (ATR multiple). Lower means faster flips and more labels |
| Trend ATR Period | 14 | 14 | ATR length used for the line distance |
| Enable Full Trend Candle Colors | On | On | Colors candles by trend state |
| Pure Solid Trend Color (Clean Flat Look) | On | Your preference | When off, bars that close in the trend direction are bright and bars that close against it are dark, within the same trend color |
| Enable Trend Background Tint | On | Your preference | Lightly tints the background with the trend color |
| Show Reversal Cloud | On | On | Shows the Reversal Cloud |
| Equilibrium Regression Length | 55 | 40–65 | Length of the cloud centerline. Shorter hugs price more closely |
| Cloud Smoothing Factor | 8 | 8 | Smoothness of the centerline (1–30) |
| Weighted Volatility Length | 21 | 21 | Length of the volatility measure used for cloud width |
| Cloud Inner Band Deviation | 1.8 | 1.8 | Multiplier for the inner line. Also the trigger level for the contrarian badges and dots |
| Cloud Outer Band Deviation | 3.3 | 3.3 | Multiplier for the outer line |
| Show Contrarian Sniper Badges | Off | Off | Blue and yellow contrarian badges |
| Show Exhaustion Peak Dots | Off | Off | Orange dots |
| Show S/R Retest Zones | Off | If needed | Swing high/low zones |
| S/R Swing Pivot Length | 20 | 10–20 | Bars on each side used to define the swing high/low. Lower appears sooner but produces more zones |
| Zone Thickness (ATR Mult) | 0.4 | 0.4 | Zone thickness |
| Show Risk Management HUD | On | On | Top-right table |
| Dashboard Position | Top Right | Your preference | HUD position (pick a corner) |
| Show Active Trade SL / TP Lines | On | On | SL/TP lines for the latest signal |
| Take Profit 1 (R:R) | 1.5 | 1.5 | TP1 as a multiple of the SL distance |
| Take Profit 2 (R:R) | 2.5 | 2.5 | TP2 as a multiple of the SL distance |
| Take Profit 3 (R:R) | 3.5 | 3.5 | TP3 as a multiple of the SL distance |
The setting that matters most: Trend Sensitivity Multiplier
Only two settings actually change the trend call: Trend Sensitivity Multiplier and Trend ATR Period. Lowering the multiplier pulls the line closer to price, so flips come sooner, at the cost of more whipsaws in chop.
What happens when you lower Trend Sensitivity Multiplier?
The same price action with the default 2.2 (top) and 1.4 (bottom). The cloud and HUD are turned off in the settings.
Vowars DE ver.3.12.36
Comparing 2.2 and 1.4 on the same price action, the number of flips went from 3 to 5 at 1.4, as Figure 2 shows. The bearish flip at Figure 3 came two bars earlier, but both of the extra flips reversed within a few bars.
The script page suggests lowering the multiplier to 1.8–2.0 for scalping on 1- to 5-minute charts. That’s the way to go if you want faster reactions, but in markets like the 1-minute example here, where labels already pile up at the default 2.2, expect even more fakeouts. On lower timeframes I would start the other way: raise it to 2.5–3.0 to cut down the number of labels. Which works better depends on how the instrument moves, so step through a few dozen flips with Bar Replay and compare before settling on a value.
Rough guide by timeframe
- On 1- to 5-minute charts, the default settings tend to produce a lot of labels. It’s safer to raise the multiplier, or only take signals that agree with the higher-timeframe trend
- On 30-minute to 4H charts, the default balance felt the most natural. That covers day trading through swing trading as-is. The 15-minute is mostly usable too, but labels multiply in chop
- On daily and weekly charts, a single trend state can last for months. On the daily chart I looked at, the bullish state held from a late-July buy signal through October 20

Repainting and what you see in real time
On confirmed bars, the Trend Tracker, candle and background colors, “Strong” labels and Reversal Cloud values never change after the fact. There is no request for higher-timeframe data and no calculation that looks at future values.
The bar that’s still forming is a different story. The “Strong” label doesn’t wait for the bar to close, so if the current price crosses the line mid-bar, a label appears, and if price comes back, the label disappears. Whatever is still there when the bar closes is the final signal.
The one thing that gets drawn in after the fact is the S/R zones covered in the previous section (only when turned on). Also, the SL/TP lines are redrawn with every new signal, and the old ones aren’t kept.
Four alert conditions
There are four alerts to choose from: “[AlgoChief] Strong Buy Signal,” “[AlgoChief] Strong Sell Signal,” “[AlgoChief] Trend Flipped Bullish” and “[AlgoChief] Trend Flipped Bearish.” For the reason explained earlier, the buy signal and the bullish flip (and likewise the sell signal and the bearish flip) fire on almost exactly the same bars.
When setting up an alert, I recommend the “Once Per Bar Close” trigger. With “Once Per Bar,” you can get a notification just because price poked through the line intrabar, and the condition may be gone by the time the bar closes.
Pair it with Aroon to check the strength behind a flip
Apex Algo Engine’s weak spot is that it can’t tell a short-lived flip in chop from a real one. A good match for that is Aroon, which measures how fresh a trend is by counting bars since the most recent high and low. It’s one of TradingView’s built-in indicators.
Add Aroon below to judge the quality of a flip
Top: Apex Algo Engine (cloud, HUD and SL/TP lines off). Bottom: the built-in Aroon, length 14.
Vowars DE ver.3.12.36
The bearish flip at Figure 1 reversed back to bullish after just six bars. At that point, as Figure 2 shows, Aroon Up, which reflects how recently a new high was made, was still high at 93, while Aroon Down only reached 50. In contrast, on the flip at Figure 3, where the decline continued, Aroon Down jumped to 100.
Simply checking whether the Aroon line on the side of the new trend (Aroon Down for a sell) has climbed high on the “Strong” bar filters out a good share of the back-and-forth in chop. That said, a flip can still fail with a high Aroon reading, so treat it as one filter among others.
A few other combinations worth considering:
- Use ADX (or DMI) to gauge trend strength and skip flips when it’s low
- Apex Algo Engine ignores volume entirely, so use Chaikin Money Flow (CMF) or OBV to see whether a flip has volume behind it
- Put the same indicator on a higher-timeframe chart in a separate pane and only take signals that agree with the higher-timeframe trend
What you can hand off, and what still needs your eyes
What you can hand off
- Candle, background and line colors tell you at a glance whether the trend is bullish or bearish
- The trend call is based on the close, and confirmed bars don’t change afterward
- Every flip comes with an automatically calculated SL and TPs, visible in the HUD and on the chart
- The line flattens out on pullbacks, which makes it easy to use as a trailing stop reference
- Few settings affect the trend call, and the defaults are well balanced on 30-minute to 4H charts
What still needs your eyes
- “Strong” prints on every flip, so labels pile up in chop
- Diagonal lines bridging the opposite trend period are confusing until you get used to them
- The HUD’s Position doesn’t register when the SL or TP is hit
- HUD values are shown to two decimals, which makes them hard to read on forex
- It doesn’t use volume, so you need another indicator to judge the strength behind a flip
Apex Algo Engine works best as a lookout for trend flips
ImageFor all the information on screen, Apex Algo Engine’s logic is simple: when price closes beyond a line set 2.2× ATR away, the trend flips, that bar gets a “Strong” label, and an SL and TPs are calculated. That simplicity makes it a good fit for seeing the trend direction at a glance and quickly checking the flip bar and a stop reference.
On the other hand, “Strong” is not a heavily filtered signal, despite the name. It whipsaws back and forth in chop like any trend flip would, and switching display modes doesn’t reduce the count. Rather than letting it make entry decisions for you, I’d recommend keeping it on the chart as a lookout for trend direction and flips, and confirming momentum with something like Aroon or ADX before acting.
Finally, every indicator tends to look good on historical charts. Before trading with it, use Bar Replay or similar to see how it behaves on your own instruments and timeframes.









