Indicator Breakdown

How QC Trend Works

The complete dissection: how the signal is built, why it never repaints, what every setting does, and which settings actually move the performance numbers.

The big picture

QC Trend is three things stacked on one chart:

1. A signal

The Smart Trail line and its Bullish and Bearish flip pills. This is the part that is locked: no setting anywhere in the indicator changes when a flip fires.

2. Two dashboards that measure it

The Confluence Dashboard shows what five popular indicators say alongside each flip. The Performance Dashboard runs a live backtest of the signal with your exact exit and filter settings, right on the chart.

3. An automation layer

Flip alerts you can take as notifications, or Ghost-ready webhooks that trade the signal automatically with the same stops and targets the dashboard measured.

The core signal: the Smart Trail

The Smart Trail is a proprietary trend line that follows price at a distance sized to the market's current conditions. Here is what it does on your chart:

In an uptrend, the line sits below price and follows it up, only ever moving in the trend's favor. Ordinary pullbacks do not reach it, which is what keeps you in a move instead of getting shaken out of it.

In a downtrend, the mirror image: the line sits above price and follows it down.

A flip happens when price closes decisively through the line. That is the signal: the move was large enough to be more than ordinary noise, and the trend has changed hands. A Bullish or Bearish pill prints on that bar.

Why it works on any chart without retuning

A trend line set at a fixed distance is always wrong somewhere: too tight on a fast day so it whipsaws you on noise, too loose on a quiet one so you give back half the move before it reacts. The Smart Trail sizes itself to what the market is actually doing right now, so it widens when things speed up and tightens when they calm down. That is why the same indicator behaves sensibly on a 5-second scalp chart and on a daily swing chart with nothing to adjust.

The signal itself is locked and not user-adjustable, on purpose. Every member sees the same flips on the same bars, alerts always match the chart, and when two people compare performance dashboards they are measuring the same signal rather than two different tunings. The surface you tune is everything downstream: what you do after a flip.

Why it never repaints

"Repainting" is when an indicator changes its historical signals after the fact, making its chart history look far better than anything you could have traded. QC Trend avoids it two ways:

Flips commit on bar close. The Bullish and Bearish pills, and every alert, only fire once the bar is confirmed. A mid-bar poke through the line that closes back inside does not flip anything.

Higher-timeframe reads use no lookahead. Everything the indicator pulls from other timeframes, the confluence indicators and the optional HTF trail line, is requested with lookahead disabled, so a closed historical bar can only ever show what was actually knowable at that time.

Two kinds of settings

This is the single most useful thing to understand about QC Trend's settings panel. Every input falls into one of four buckets, and only two of them change your numbers:

TagWhat it means
VisualPure presentation. Positions, sizes, lines, markers. Change freely, nothing measured or traded is affected.
InformationalChanges what a dashboard reads or displays, but never the QC Trend signal or its performance numbers. All of the confluence indicator settings live here.
PerformanceMoves the needle. These change which trades the backtest takes or how they exit, so the Performance Dashboard numbers change when you touch them.
Live tradingAffects live automated trading through Ghost: whether payloads fire, what size they carry, which ticker they name.

And none of them touch the signal

Worth repeating: no setting in any bucket changes when a Bullish or Bearish pill prints. The settings decide what you see around the signal and what you do with it, never the signal itself.

Reading the chart

ElementWhat it tells you
Green / red trail lineThe Smart Trail. Green below price = uptrend in control. Red above price = downtrend in control.
Bullish / Bearish pillThe trend just flipped, confirmed on bar close. This is the signal, and the moment alerts fire.
Entry / stop / target linesWhile a backtest trade is live, its entry (gray), stop (red), target (green), and trailing stop (blue) draw on the chart, using your exit settings. Toggleable.
Green dotA trade hit its take profit there.
Red XA trade was stopped out, or the trend flipped against it.
Yellow diamondA breakeven scratch: the stop had been moved to entry and the trade exited there for zero.
Second, softer trail lineThe optional HTF Smart Trail: the same trail computed on a higher timeframe you choose, overlaid on this chart. Lets you trade a fast chart while respecting the slower trend. Display only.

The Confluence Dashboard

The confluence panel answers one question: when QC Trend flips, do the indicators everyone else watches agree? It reads five classics, Supertrend, MACD, SMA Cross, RSI, and ADX, and shows each one's current bias: Bullish, Bearish, or Neutral.

Each indicator has its own timeframe. Leave it blank to read the chart timeframe, or set it higher, so MACD can read the 1-hour while RSI reads your 5-minute chart. The panel labels each row with its timeframe.

Each has its own live win rate. The panel tracks every bias flip of each indicator on its own: flip bullish, and the "trade" is measured from that close to the close where it flips bearish. The win rate column tells you how often that indicator's own flips have been right on this chart, which is a fast honesty check on any indicator you are tempted to trust.

The bottom row is QC Trend itself, so you get the five reads and the signal in one box.

Read-only by design

None of these settings feed the QC Trend signal or the Performance Dashboard. Retune MACD, disable RSI, put everything on the daily: your flips and your performance numbers do not move. The enable toggles dim a row rather than deleting it, so you can see at a glance what you have muted.

The Performance Dashboard

This is a live backtest of the QC Trend signal with your settings, computed bar by bar on the chart in front of you. The model is simple: a Bullish flip enters long, a Bearish flip enters short, and by default a flip against an open trade reverses it. Your stop, target, trailing, filter, and risk settings then reshape that baseline, and the dashboard reports what actually happened.

StatExactly what it counts
TradesClosed trades entered inside the measured window.
Wins / LossesDecided trades that closed in profit or at a loss.
BEBreakeven scratches: the stop had been moved to entry and the trade exited there. Counted separately so scratches never distort the win rate.
Win RateWins divided by decided trades (wins + losses). BE scratches are excluded from the denominator.
PFProfit factor: gross percent gained on winners divided by gross percent lost on losers. Above 1 means the wins outweigh the losses.
Net %The sum of each trade's percent move from entry to exit. A size-independent measure of what the signal captured, not a dollar P&L.
Date range rowThe exact span the stats above measured, so a screenshot always carries its own context.

The measurement window is yours to control

Backtest: Last N Days limits the stats to trades entered in the last N days. Zero means everything TradingView loaded on your chart. This changes only what is counted, never what is traded, and the date range row always shows the window in effect. It is the difference between "how has this behaved lately" and "how has this behaved across all loaded history."

Stops, targets, and trailing: the biggest levers

These settings are where two traders running the same signal end up with different results. They shape every backtest trade and, if you automate, they are carried into the live Ghost orders, so the dashboard and your live trading always agree.

SettingWhat it does
Stop Loss (off by default)Adds a hard stop to every trade. Off means the only exit is the opposite flip or your target. Three ways to place it: ATR (a multiple of current volatility, adapts per market), Fixed Points (a set price distance), or Percent (a percent of entry, natural for crypto and stocks).
Take Profit (on by default)Banks the trade at a defined target instead of waiting for the trend to flip back. Same three placement methods. Turning it off turns QC Trend into a pure trend-rider: bigger winners on long trends, more giveback in chop.
Trailing Stop (ATR)A second, tighter trail that follows price at your chosen ATR multiple and only ratchets in the trade's favor. Locks in progress on extended moves without waiting for the main trail to flip.

How exits are decided on a bar

On each closed bar, an open trade checks its levels in order: stop first, then target, then trailing stop, and finally the opposite flip. If a level was touched inside the bar, the trade exits at that level's price. This priority means the dashboard is conservative: a bar that touches both your stop and your target counts as the stop.

Time and day filters

Most signals have hours that carry them and hours that bleed them. The filters let you trade the signal only when you want to, and the Performance Dashboard immediately reflects the filtered version, so you can measure exactly what you would actually trade.

Time Filter: a session window (start, end, timezone, overnight windows supported). Flips outside the window do not open trades and do not fire Ghost entries. A trade already open still exits normally on its stop or target.

Day Filter: checkboxes for each weekday. If a day is historically weak for your market, take it off and the dashboard shows you what that version of the strategy looks like.

One subtlety worth knowing

The opposite-flip exit is also gated by the window: a flip that happens outside your session does not close an open backtest trade. An open trade outside the window exits on its stop, target, or trailing stop. Practical translation: if you run a time filter, run a stop loss or take profit with it, so every trade always has a live exit.

Risk and behavior

SettingWhat it does
Exit on flip (no reverse)Default behavior is stop-and-reverse: a flip against your trade closes it and opens the opposite direction. Turn this on and a flip only closes the trade; the next trade opens from flat. Cuts the back-to-back reversal losses that chop produces, at the cost of sitting out some real reversals.
BreakevenMoves the stop to entry once the trade is far enough ahead. Two trigger styles: at a percent of the way to your target, or at an R multiple (once profit equals your initial risk, for example). Requires the stop loss to be on. It arms from the bar after entry, so it can never instantly scratch a fresh trade. Trades that exit at the moved stop become BE scratches on the dashboard.
Max Trades Per DayStops opening new trades after N in a trading day (open trades still exit). The day rolls over at midnight in your Time Filter timezone.
Daily Loss Limit ($)Stops opening new trades once the day's realized loss reaches your dollar figure. The dollars are computed from the instrument's point value times your Contracts/Qty setting, so set your real size for this to mean what you think it means.

Alerts and Ghost automation

Two tiers, depending on how hands-off you want to be.

Simple flip alerts

Two alert conditions, QC Trend Bullish and QC Trend Bearish, selectable in TradingView's alert dialog. They fire on bar close, so an alert always matches a pill on the chart. Use these for notifications to your phone or desktop.

Ghost automation Elite

Turn on Enable Ghost Alerts, create one alert with the condition "Any alert() function call", and paste your Ghost ticker webhook URL. From then on the indicator speaks Ghost's language by itself.

MomentWhat fires
A flip that takes a tradeAn entry payload with direction, entry price, quantity, and the same stop and target your dashboard is using, so live trades mirror the measured ones.
Price taps your stop, target, or trailAn exit payload fires the moment the level is touched, mid-bar, not minutes later at bar close. A latch guarantees at most one exit per bar, so a whipsaw cannot double-fire.
A flip your filters blockIf a flip is blocked by your time window, day filter, trade cap, or loss limit, no entry fires. If it closes a trade without reversing (no-reverse mode), a clean exit fires instead.

The dashboard is the contract

The payloads carry the same stops and targets the Performance Dashboard measures, and the same filters gate both. What you backtested is what fires. Change a setting and both change together.

Every setting, classified

The full settings panel, in the order it appears, with what each input does and whether it moves your numbers. Performance and Live trading are the ones that matter to results; Visual and Informational are safe to change freely.

Dashboard

SettingTypeWhat it does
Show Confluence / Performance DashboardVisualShow or hide each panel.
Positions + SizeVisualWhere each panel sits on the chart and how large the text is.
Backtest: Last N DaysPerformanceRestricts which trades the stats count (by entry date). Does not change which trades are taken, marked, or alerted. 0 = all loaded history.

Confluence indicators (five groups)

SettingTypeWhat it does
Enable (per indicator)InformationalDims that row in the panel. The QC Trend signal is unaffected.
Timeframe (per indicator)InformationalReads that indicator from any timeframe. Blank = chart timeframe.
Supertrend Factor / LengthInformationalStandard Supertrend tuning for that row's bias and win rate.
MACD Source / Fast / Slow / SignalInformationalStandard MACD tuning. Bias = MACD line versus signal line.
SMA Cross Source / Fast / SlowInformationalBias = fast average above or below the slow one.
RSI Length / Long Above / Short BelowInformationalBias = RSI above your long level (bullish) or below your short level (bearish). With both at 50 it is a simple momentum side-of-line read.
ADX Smoothing / DI Length / ThresholdInformationalBias requires trend strength above the threshold, then takes the dominant direction. Below threshold reads Neutral, which is ADX doing its job: telling you there is no trend.

HTF Smart Trail

SettingTypeWhat it does
Show HTF Smart Trail / Timeframe / LabelVisualOverlays the same trail computed on a higher timeframe, with a label naming it. A map for trading a fast chart inside a slower trend. Adds no signal and changes no numbers.

Signal Backtest

SettingTypeWhat it does
Stop Loss + method + valuePerformanceHard stop on every trade: ATR multiple, fixed points, or percent of entry.
Take Profit + method + valuePerformanceFixed target, same three methods.
Trailing Stop (ATR) + multiplePerformanceRatcheting ATR trail that locks in progress.
Show SL / TP / Entry linesVisualDraws the live trade's levels on the chart.
Show exit markersVisualThe TP dot, stop X, and BE diamond.

Time Filter, Day Filter

SettingTypeWhat it does
Enable Time Filter + Start / End / TimezonePerformanceEntries (and Ghost entries) only inside the session window. Overnight windows supported. Open trades still exit on their levels.
Enable Day Filter + Mon-SunPerformanceEntries only on checked weekdays, read in the Time Filter timezone.

Risk & Behavior

SettingTypeWhat it does
Exit on flip (no reverse)PerformanceFlips close instead of reversing; fresh trades only open from flat.
Breakeven + triggersPerformanceStop to entry at %-to-target or at an R multiple. Needs Stop Loss on.
Max Trades Per DayPerformanceCaps new entries per trading day.
Daily Loss Limit ($)PerformanceBlocks new entries once the day's realized loss hits your figure, computed at your Contracts/Qty and the instrument's point value.

Ghost Automation

SettingTypeWhat it does
Enable Ghost AlertsLive tradingFires Ghost-ready entry and exit payloads on the decisions above.
Contracts / QtyLive tradingThe size the payloads carry. Also the size used to compute the Daily Loss Limit dollars, so it can affect the backtest when that limit is on.
Ticker OverrideLive tradingThe ticker name the payloads carry, when your Ghost ticker differs from the chart symbol. Blank = chart symbol.

A note on the numbers you will see. The Performance Dashboard is a measurement tool, not a promise. It backtests the signal with your settings on the history loaded on your chart; different settings, markets, timeframes, and history depths produce different numbers, and past behavior does not predict future results. Trading futures, forex, and crypto involves substantial risk of loss.

Frequently Asked Questions

Does QC Trend repaint?

No. The Bullish and Bearish flips commit on bar close and never move afterward. The confluence dashboard reads its indicators with lookahead disabled, so closed-bar history is honest too. The only thing that updates live is the current bar, which is true of every real-time indicator.

Do the confluence indicators change the QC Trend signal?

No. The confluence dashboard is a read-only panel. You can retune or disable all five indicators and the Smart Trail flips will fire on exactly the same bars. It exists to show you what the popular indicators say at the moment QC Trend flips, not to vote on the signal.

Can I change the Smart Trail sensitivity?

No, and that is deliberate. The core signal is locked so that every member is looking at the same flips, alerts match the chart, and the performance dashboard measures the same signal for everyone rather than two different tunings. What you tune is what happens after a flip: stops, targets, filters, and risk rules.

Why is my win rate different from someone else's on the same market?

The performance dashboard measures the signal with YOUR exit settings, YOUR filters, and YOUR loaded history. A different stop method, a time filter, a different chart timeframe, or simply more bars loaded will all produce different numbers. That is the point: it backtests your configuration, not a generic one.

Does the Backtest Last N Days setting change which trades are taken?

No. It only changes which trades are counted in the dashboard stats. Signals, chart markers, and Ghost alerts are unaffected. It exists so you can measure a recent window, like the last 30 days, instead of everything TradingView loaded.

What does the BE column mean on the performance dashboard?

Breakeven scratches. When the breakeven feature moves your stop to entry and the trade then exits there, that trade counts as neither a win nor a loss. It is shown in its own column, and the win rate is calculated on decided trades only, so scratches never inflate or deflate it.

How do I automate QC Trend with Ghost?

Turn on Enable Ghost Alerts in the indicator settings, then create one TradingView alert on QC Trend with the condition set to "Any alert() function call" and your Ghost ticker webhook URL pasted in. Entries carry the same stop and target your dashboard uses, and exits fire the moment a level is tapped. Ghost automation requires an Elite plan.

How do I get QC Trend?

It is available to QuantCrawler members, including during the Pro trial. Submit your TradingView username on the QC Trend page and the invite-only indicator gets added to your account.

Continue Learning

Risk Disclosure: Trading involves substantial risk of loss and is not suitable for all investors. This content is for educational purposes only and does not constitute financial advice.

Last updated: November 2026

© 2026 QuantCrawler. Not financial advice. Trading involves substantial risk of loss.