Systemicbeta

(Bearish) CrossUnder

systemic:core-cuIndicators

Inputs

NameTypeDescription
First DatasetNumber seriesThe series you expect to cross *below* the second dataset.
Second DatasetNumber seriesThe reference line that the first dataset may cross below.

Outputs

NameTypeDescription
CrossUnderTrue/false seriesA true/false series that is `True` on each bar where the first dataset crossed below the second.

Cost

5
credits per run
1,000
bars

0.198 + 0.00478·n credits for n bars, rounded up. The marks are each plan's limit of bars.

The Crossunder module detects the bar where one series crosses below another, a classic bearish signal in technical analysis. It is the mirror image of the Crossover module and helps identify trend reversals and exit points.


What Is a Crossunder?

A crossunder occurs when a faster-moving line drops below a slower-moving line:

graph LR
    subgraph Before["Before Crossunder"]
        A1["Fast Line: ABOVE"]
        A2["Slow Line: BELOW"]
    end
    
    subgraph Cross["⚡ Crossunder Moment"]
        B["Lines Intersect"]
    end
    
    subgraph After["After Crossunder"]
        C1["Fast Line: BELOW"]
        C2["Slow Line: ABOVE"]
    end
    
    Before --> Cross --> After

The module outputs True on the bar where the first dataset crosses below the second (a bearish cross), False on every other bar where the comparison is possible, and an empty value where it is not (see Missing Data below). For the bullish direction, use the Crossover module.


The Mathematics

The crossunder compares each bar against the last bar with data before it — call it pp:

CrossUndert={True,if (Ap−Bp)≥0 and (At−Bt)<0False,otherwise\text{CrossUnder}_t = \begin{cases} \text{True}, & \text{if } (A_{p} - B_{p}) \ge 0 \text{ and } (A_t - B_t) < 0 \\ \text{False}, & \text{otherwise} \end{cases}

Where:

  • AtA_t is the first dataset (typically the faster indicator) at bar tt
  • BtB_t is the second dataset (typically the slower indicator) at bar tt
  • pp is the most recent bar before tt where both datasets have data

Note: This is a bearish-only signal — True only when the first dataset moves from at-or-above to below the second. An upward cross returns False; use the Crossover module to detect it. On a daily series without gaps pp is simply t−1t-1; across a weekend or data gap it is the last bar that has data (see Missing Data).


Missing Data

A missing (empty) value in either input — a data gap or a closed-market bar — gives an empty output on the same bar. The signal is never filled with substitute values.

  • Gaps are bridged: the cross is evaluated between the last two bars that have data. A cross between Friday and Monday gives True on Monday. The weekend bars stay empty, and no signal is lost.
  • The first bar is always empty: a crossunder needs a previous bar to compare against, and the first bar of the run has none. The same applies to the first bar with data when the series starts with a gap.
  • Gaps inside a session: if data drops out, the cross is computed against the last bar before the gap. A cross that happened during the gap shows on the first bar after it — delayed, not lost.

The Death Cross: A Famous Crossunder

The most famous crossunder pattern in equity trading:

Fast LineSlow LineSignal
50-day SMA200-day SMADeath Cross (Bearish)
flowchart TD
    SMA50["50-Day SMA"]
    SMA200["200-Day SMA"]
    CU["Crossunder Module"]
    Signal{"Death Cross?"}
    Sell["Bearish Signal"]
    Hold["No Signal"]
    
    SMA50 --> CU
    SMA200 --> CU
    CU --> Signal
    Signal -->|True| Sell
    Signal -->|False| Hold

Historically, the Death Cross has preceded some major bear markets. In March 2020, the S&P 500 formed a Death Cross during the COVID crash. But like all technical signals, it is not infallible: the market recovered rapidly afterward.


Building a Complete Signal Set

Crossunder works best when paired with Crossover, so you get both entry and exit signals:

flowchart TD
    subgraph Data["Price Data"]
        Price["Close Prices"]
    end
    
    subgraph Indicators["Moving Averages"]
        EMA12["EMA(12)"]
        EMA26["EMA(26)"]
    end
    
    subgraph Detection["Signal Detection"]
        CO["Crossover Module"]
        CU["Crossunder Module"]
    end
    
    subgraph Actions["Signals"]
        Buy["Bullish Signal"]
        Sell["Bearish Signal"]
    end
    
    Price --> EMA12 & EMA26
    EMA12 & EMA26 --> CO & CU
    CO --> Buy
    CU --> Sell

Use Cases Beyond Moving Averages

1. RSI Overbought Exit

Detect when RSI crosses below the 70 overbought threshold:

First DatasetSecond DatasetSignal Meaning
RSIConstant 70Exit overbought zone

2. MACD Signal Line Cross

The MACD crossing below its signal line is a momentum sell signal:

First DatasetSecond DatasetSignal Meaning
MACD LineSignal LineMomentum turning bearish

3. Price Breaking Support

Detect when price crosses below a key moving average:

First DatasetSecond DatasetSignal Meaning
Close Price200-day SMAMajor support broken

Cryptocurrency Considerations

Crypto markets are particularly volatile, making crossunder signals both:

  • More frequent — Higher volatility means more crossings
  • More significant — Large moves can follow confirmed breakdowns

Consider using:

  • Longer periods (4H, Daily) to filter noise
  • Volume confirmation — Breakdowns with high volume are more reliable
  • Multiple confirmations — Wait for 2-3 bars below the cross point

Advantages

  • Clear exit signals — One exact bar marks the cross
  • Pairs naturally with Crossover — Entry and exit signals together
  • Works across all markets — Equities, crypto, forex, commodities
  • Objective — No interpretation needed

Disadvantages

  • Lagging indicator — Signals come after the move begins
  • Whipsaws — Sideways markets generate false signals
  • No magnitude — Can't distinguish small crosses from major breakdowns

Data Alignment in Systemic

When connecting inputs to the Crossunder module, Systemic automatically aligns your data:

ScenarioFirst DatasetSecond DatasetBehavior
Both from modulesBTC 1HETH 15mThe 1H values are repeated on the 15m bars
Module + ConstantRSI output70The constant is repeated on every RSI bar
Different history lengths100 bars150 barsThe shorter series is not extended; bars without both values give an empty output

Important Considerations

  • A slower series repeats its last value: When a 1-hour series is aligned to 15-minute data, the bars in between take the latest hourly value
  • No interpolation: Values between two readings are never estimated, so crossunders are detected on actual data only
  • First output is always empty: A crossunder needs a previous bar to compare against, so the first output cannot be computed. It is empty, not False

Indicator Assessment

%%{init: {"themeVariables": {"cScale0": "#4F46E5", "cScale1": "#059669"}}}%%
quadrantChart
    title Crossunder Indicator Assessment
    x-axis Low --> High
    y-axis Low --> High
    quadrant-1 High Popularity & Reliability
    quadrant-2 High Reliability & Low Popularity
    quadrant-3 Low Reliability & Popularity
    quadrant-4 High Popularity & Low Reliability
    "Traditional Markets": [0.85, 0.75]
    "Cryptocurrency": [0.75, 0.60]
DimensionStocks/MacroCryptoExplanation
Popularity⭐⭐⭐⭐⭐⭐⭐⭐⭐The Death Cross is among the most cited technical signals in financial media. Crypto traders also widely use it, though newer indicators sometimes take precedence.
Reliability⭐⭐⭐⭐⭐⭐⭐In traditional markets, crossunders on long periods (daily/weekly) have historically preceded significant moves. Crypto's higher volatility leads to more false signals.
Complexity⭐⭐One of the simplest indicators to understand: it compares two values on consecutive bars.
Versatility⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐Applicable to any two time series: prices, indicators, on-chain metrics, or custom data. Works across all periods and asset classes.
Recent Interest⭐⭐⭐⭐⭐⭐⭐A classic indicator with steady interest. The 2022 crypto bear market renewed focus on bearish crossunder signals for risk management.

Further Reading

Rendering diagrams...
© 2026 WanoLabs. All rights reservedBeta v0.1.5