# Signal Inversion

Also known as: fading.
A Meta & Composition reference entry (Signal engineering) in the LuxAlgo Library: explained, not implemented as a chart indicator.

## What is Signal Inversion?

Signal inversion takes a defined signal and trades its opposite: sell where the rule says buy, buy where it says sell. Done deliberately, this is fading. The inverted signal is treated as a marker of crowd behavior worth trading against, the classic case being breakout entries inverted into anti-breakout fades inside a [trading range](https://www.luxalgo.com/library/concept/trading-range/), where the fader treats the [false breakout](https://www.luxalgo.com/library/concept/false-breakout/) as the expected outcome rather than the exception.

The arithmetic deserves care. Inverting a strategy flips the sign of its gross returns, but costs do not invert: spread, fees, and slippage subtract from both versions. A system that loses about its trading costs therefore inverts into another system that loses about its trading costs. Inversion is most defensible when the original signal has demonstrably negative expectancy beyond costs in a specific regime, and least defensible as a reflex applied to any losing backtest.

What makes inversion coherent rather than desperate is a mechanism. Continuation signals fail systematically in ranges, which is why anti-breakout logic works exactly where breakout logic bleeds; short-horizon reversal effects are among the better-documented tendencies in the empirical literature; and exhaustion fades monetize the crowd's late entries. In each case the inverted signal is really a detector of a specific behavior (trapped breakout traders, stretched momentum) being repriced, and the [regime classification](https://www.luxalgo.com/library/concept/trend-range-classifiers/) that identifies where that behavior dominates is doing most of the work.

Engineering-wise, inversion is a change to the trigger, not the system. Within a [filter-setup-trigger-exit architecture](https://www.luxalgo.com/library/concept/filter-setup-trigger-exit-architecture/), the flipped entry inherits none of the original's exit logic: fades against momentum need hard stops and fast targets where the original could trail patiently, and the risk profile inverts from cut-losses-ride-winners toward high-hit-rate-negative-skew. Testing hygiene carries over intact, out-of-sample verification, cost realism, and skepticism toward any edge that only exists in the mirror.

## How to evaluate an inversion candidate

The question is never 'is the backtest negative' but 'is there a persistent, mechanistic negative edge worth the other side of'.

1. Establish that the original signal loses more than its costs: a strategy that merely bleeds spread inverts into another bleeder.
2. Identify the mechanism: whose systematic mistake does the inverted trade monetize, and why would it persist?
3. Locate the regime: condition the analysis on [trend versus range states](https://www.luxalgo.com/library/concept/trend-range-classifiers/), since most inversion edges are regime-specific rather than universal.
4. Verify out of sample: negative expectancy fitted in sample vanishes as reliably as positive expectancy does.
5. Re-architect the trade: fades need their own stops, targets, and sizing, because inverting the entry silently inverts the return profile's skew.
6. Monitor for decay: crowd behaviors get arbitraged and regimes rotate, so the inverted edge needs the same ongoing surveillance as any other.

## How traders use it

- As a regime-conditioned fade: invert continuation signals only in confirmed range conditions and keep them in trends, so the inversion is gated by context rather than permanent.
- As the logic behind mean-reversion entries: fading [overbought/oversold](https://www.luxalgo.com/library/concept/overbought-oversold/) extremes is momentum logic inverted, which is why the same oscillator can serve trend-followers and faders depending on the regime assumed.
- As a research diagnostic: if a signal and its inverse both hover near zero after costs, the signal is likely noise; a signal with strongly negative expectancy is information, even though the tradeable edge after costs is smaller than the mirror image suggests.
- As negative weighting: inside [confluence and scoring systems](https://www.luxalgo.com/library/concept/confluence-and-scoring-systems/), a reliably contrary input earns a negative weight rather than exclusion, formalizing inversion as one vote in a composite instead of a standalone strategy.
- As a hygiene check: before deploying any signal, examining its inverse under identical costs (part of basic [signal hygiene](https://www.luxalgo.com/library/concept/signal-hygiene/)) exposes whether apparent performance is structure or artifact, since a symmetric near-zero pair is the signature of noise.

## Signal inversion vs neighboring composition ideas

- **Confluence & Scoring Systems** (https://www.luxalgo.com/library/concept/confluence-and-scoring-systems/): Scoring systems weight signals by reliability; inversion is the limiting case where a signal's weight goes negative. The composite frame is often the safer home for a contrary signal than promoting it to a standalone inverted strategy.
- **Trend/range Classifiers** (https://www.luxalgo.com/library/concept/trend-range-classifiers/): The classifier is what turns naive inversion into conditional fading: the same breakout signal is traded straight in trends and inverted in ranges. Without the regime gate, inversion is a bet that one behavior dominates always, which it never does.
- **Filter-setup-trigger-exit Architecture** (https://www.luxalgo.com/library/concept/filter-setup-trigger-exit-architecture/): The architecture clarifies what inversion actually flips: the trigger. Filters, exits, and sizing must be redesigned for the faded trade's opposite skew, which is why 'just reverse the signals' underperforms a properly rebuilt fade.

## FAQ

### If a trading strategy loses money, will the inverse strategy be profitable?

Not necessarily. Inversion flips gross returns, but transaction costs are paid in both directions, so a strategy that mostly bleeds spread and fees inverts into another bleeder. The inverse is only attractive when the original loses distinctly more than its costs, consistently and for an identifiable reason. Check whether the loss survives out of sample before trusting the flip, and expect the inverted edge to be smaller than the mirror image implies.

### What does fading a signal mean?

Fading means trading against a move or signal: shorting a breakout, buying a panic flush, selling into a momentum surge. Faders bet the initiating move will fail and retrace, which happens often in ranges and around exhaustion but fails badly when a real trend is starting. That asymmetry is why systematic fades are usually paired with a regime filter and hard stops rather than run unconditionally.

### When is inverting a signal actually justified?

When three things line up: the original signal's losses exceed costs by a clear margin, a mechanism explains whose mistake the fade monetizes (trapped breakout traders, late momentum chasers), and the effect concentrates in an identifiable regime you can detect in real time. Missing any leg, especially the mechanism, the inversion is a fit to noise wearing a contrarian costume.

### Should a faded signal use the same stops as the original?

No. Inverting the entry inverts the return profile: the original might cut losses fast and ride winners, while its fade wins often and small against occasional violent losses when a real trend ignites. Fades therefore demand hard stops beyond the level that proves a genuine breakout, quicker profit-taking, and sizing that respects the negative skew. Reusing the original's exit logic is the classic implementation error.

### Is buying oversold conditions a form of signal inversion?

Conceptually, yes: mean-reversion entries fade momentum's message, treating an extreme as stretch to be retraced rather than strength to be joined. The oscillator is the same; the regime assumption flips. That framing explains the perennial oscillator argument, both camps are right in their own regime, and it locates the real decision in classification rather than in the indicator.

### Why do inverted backtests look better than inverted live results?

Several biases stack. Costs hit both directions, so the mirror image overstates the fade's edge by roughly twice the cost load; fills are worse for fades, which by construction trade against the tape's momentum; and the negative expectancy being faded was often overfitted in sample to begin with. The honest procedure prices the inverted version as its own strategy, frictions and fills included, not as the backtest's reflection.

## Related concepts

- Signal Hygiene: https://www.luxalgo.com/library/concept/signal-hygiene/
- Repaint-safe Engineering: https://www.luxalgo.com/library/concept/repaint-safe-engineering/
- Filter-setup-trigger-exit Architecture: https://www.luxalgo.com/library/concept/filter-setup-trigger-exit-architecture/
- Alerts & Webhooks: https://www.luxalgo.com/library/concept/alerts-and-webhooks/

---

Source: https://www.luxalgo.com/library/concept/signal-inversion/ (LuxAlgo Library, the encyclopedia of trading & technical analysis). Free to use with attribution: https://www.luxalgo.com/library/license/