Mansfield Relative Strength: Spot Stocks Outperforming the Market
Mansfield Relative Strength is a comparative momentum indicator that measures a stock's return against the S&P 500, showing you whether it's genuinely outperforming or just riding the market's coattails. I've been burned too many times by stocks that looked strong on their own chart but were actually lagging the broader market — this indicator fixed that blind spot for me.
Most traders obsess over whether a stock is going up or down. The better question is whether it's going up faster than everything else. MRS answers that with a single line normalized around zero. Above zero means outperformance. Below zero means the stock is underperforming. No guesswork.
When AAPL was up 2% in a day last November but the S&P 500 gained 3.1%, MRS showed a negative reading. I'd have missed that warning if I only stared at AAPL's green candle. That's the whole value of this tool — it forces you to compare, not just observe.

What Makes the Mansfield Relative Strength Indicator Different?
Most momentum tools tell you if a stock is overbought or oversold. MRS tells you something more useful: whether your stock is worth holding over an index fund.
The calculation is this — take the ratio of the stock price divided by the S&P 500, smooth it with a moving average, and normalize around zero. Stan Weinstein documented this in "Secrets for Profiting in Bull and Bear Markets," and the logic still holds up today.
The timeframe parameters follow institutional convention:
| Timeframe | Periods | Matching MA |
|---|---|---|
| Daily | 200 | 200-day SMA |
| Weekly | 52 | 52-week SMA |
| Monthly | 10 | 10-month SMA |
These aren't thrown together. Daily at 200 matches the 200-day moving average that every institutional trader watches. Monthly at 10 roughly aligns with how fund managers evaluate cycle performance.
Getting the Mansfield Relative Strength Indicator on Your Charts
The fastest way is grabbing the code from Pineify's library. I've spent hours debugging Pine Script syntax errors over the years — Pineify skips all that nonsense. The code is ready to use and stays updated when TradingView pushes changes.
Here's my routine: get the code from Pineify, open TradingView's Pine Editor (bottom bar), paste it, click Add to Chart. The MRS line appears in its own pane with a color-coded background — green when your stock beats the market, red when it lags. Simple enough that you'll read it at a glance.
I'd personally like to see the indicator support more benchmark presets out of the box, but swapping the comparison symbol manually takes ten seconds. Not a dealbreaker.
Want to tweak the colors or line thickness? Right-click the indicator, hit Settings, and adjust. I've made my zero line bright yellow and thicker so it pops against the background. Minor change, but it helps when I'm scanning multiple charts quickly.
How I Actually Use This Indicator in My Trading
The obvious signal is a zero-line cross from below to above. I don't jump in right away — I wait to see if the line holds above zero for at least three sessions. False breakouts happen, and patience has saved me more than haste ever has.
When the line drops below zero, that's my cue to tighten stops or trim. In early 2025, I was long an energy stock whose MRS line fell below zero while oil prices were still rising. The stock was lagging despite the favorable sector. I cut my position by half, and when energy pulled back two weeks later, I'd saved roughly 8% on that trade.
Here's something I learned the hard way: the slope matters more than beginners think. A rising MRS line below zero means relative strength is improving even before the cross. I caught a reversal on AMZN in March 2025 this way — MRS was climbing for six sessions before it hit zero, and the stock gained 11% over the next three weeks.
Focus your attention on stocks that stay above zero consistently. In my NVDA journal from October to December 2024, MRS stayed positive for 9 of 12 weeks while NVDA outperformed the S&P 500 by roughly 18%. Those are the compounders you want to own.
I never use MRS alone. It tells me which stocks to focus on, not when to enter or exit. For timing, I pair it with the Relative Vigor Index. For broader context, I cross-reference it with proven swing trading setups.
The Settings That Actually Matter (And the Ones That Don't)
People overthink indicator settings. The MRS defaults work for 90% of cases. The real lever is your comparison symbol.
SPY is the default. For tech stocks I switch to QQQ. For small caps, IWM. For financials, XLF. I've compared the same tech stock against SPY and QQQ and gotten different MRS readings — a misplaced benchmark leads to bad decisions.
The lookback period is your second lever. Shorter periods (try 50) make the line jumpy — better for quick moves but stressful to watch. Longer periods (200+) smooth the noise but delay signals. I stick with 200 on daily charts for swing trading.
I also keep my zero line thick and bright. Small visual tweak, big difference in reading speed when you're scanning 20 charts before market open.
Testing This Thing Properly (Because Hope Isn't a Strategy)
I used to eyeball charts and convince myself indicators worked. Backtesting humbled me fast.
Start with one rule: buy on cross above zero, sell on cross below. Run it in TradingView's Strategy Tester across multiple timeframes. What works on daily charts often fails on hourly ones. I keep a spreadsheet tracking MRS performance on 50 stocks across bull, bear, and sideways conditions.
Don't forget transaction costs. I ran a backtest that looked profitable until I factored in commissions and slippage. Realistic spreads eat into signal-driven strategies more than you'd expect.
Test across market environments. MRS tends to struggle in choppy, directionless markets. I ran it through the sideways summer of 2024 and confirmed that limitation. Know it before you risk real money.
Pay attention to maximum drawdown numbers. A 15% drawdown on a report is abstract. Living through it with your capital on the line is visceral. If your backtest shows deep drawdowns, backtest your strategy properly before sizing up.
Questions I Get Asked All the Time (And My Honest Answers)
Q: Can I use the Mansfield Relative Strength indicator for crypto trading?
A: Yes, but switch the benchmark. Compare altcoins to Bitcoin instead of SPY. I've tested this on ETH/BTC pairs and the concept transfers fine — just expect wider swings than equities.
Q: How often should I check the MRS indicator?
A: Daily for swing trading, more for day trading. I check it once every morning during my pre-market screen. The key is consistency, not frequency.
Q: What's the biggest mistake people make?
A: Treating MRS as predictive. It tells you what's happening with relative strength, not what will happen. I've watched traders pile into a stock on a single zero-line cross without checking the broader market or fundamentals. It's a filter, not a crystal ball.
Q: Should I use different settings for different sectors?
A: Change the benchmark — QQQ for tech, XLF for financials — and keep the calculation periods at default. The benchmark swap matters more than any calculation tweak.
Q: Can this indicator help me avoid big losses?
A: It's an early warning, not a guarantee. When a stock's MRS declines below zero and stays there, pay attention. I trimmed an energy position in January 2025 after five consecutive days below zero. The stock dropped another 12% over the next three weeks. That said, during a market-wide crash every MRS line dives together — no indicator saves you from that.
Q: How does this compare to regular RSI?
A: They answer different questions. RSI measures overbought and oversold on the stock's own price history. MRS compares the stock against a benchmark. A stock can have low RSI (oversold) while showing positive MRS (outperforming the market). I use RSI for timing entries and MRS for deciding what to buy.
Q: Can I use this for forex trading?
A: Yes. Compare EUR/USD to a dollar index or another major currency pair. Same concept, different benchmark. The relative strength logic holds across any liquid market.
Q: What does it mean when the MRS line sits around zero for weeks?
A: The stock is moving in lockstep with the market. No outperformance, no underperformance. I usually skip these stocks — there's no edge to trade when everything moves together.
Q: Should I use MRS for picking stocks or timing trades?
A: Stock selection first, timing second. I filter for consistent relative strength first, then use other tools for entries and exits. Think of MRS as your screener, not your entry trigger.
▶What is the Mansfield Relative Strength indicator and how does it work?
Think of it as a direct comparison tool. It divides the stock price by the S&P 500, smooths the ratio with a moving average, and centers everything around zero. Above zero means outperformance, below means lagging. Stan Weinstein popularized this, and I've found it cuts through the noise when I'm scanning for stocks actually worth owning.
▶How is Mansfield Relative Strength different from RSI?
RSI looks inward at the stock's own price momentum. MRS looks outward at how the stock stacks up against the market. A stock can be oversold by RSI while still beating the S&P 500 on MRS — that's actually a setup I watch for. I use RSI when I'm timing entries and MRS when I'm deciding what to buy.
▶What does the zero line mean in the Mansfield Relative Strength indicator?
It's the dividing line. Above zero means outperforming, below means underperforming. Crossings are the obvious signals, but don't ignore the slope. A rising line below zero means relative strength is improving even before the cross. That nuance took me a while to learn.
▶Which benchmark should I use with the Mansfield Relative Strength indicator?
SPY is the safe default for most US large-caps. But I've gotten better results matching the benchmark to the stock: QQQ for tech, IWM for small-caps, XLF for financials. For crypto, use Bitcoin or a broad crypto index. The benchmark choice matters more than most people realize.
▶Can I use the Mansfield Relative Strength indicator for crypto or forex?
Works fine. For crypto, benchmark against Bitcoin instead of SPY. For forex, use a dollar index or a major pair. The core idea transfers to any liquid market — just pick the right reference asset. Fair warning: crypto MRS swings are wider than equities. I tested it on ETH/BTC and the day-to-day volatility made the signal harder to read.
▶What lookback period settings work best for Mansfield Relative Strength?
Stick with the institutional defaults: 200 on daily, 52 on weekly, 10 on monthly. These match how the big players think about timeframes. Shorter periods make the line jumpier — I tried 50 on daily and couldn't handle the noise. Longer periods smooth it out but delay the signal. Backtest any changes before you trust them.
▶How do I add the Mansfield Relative Strength indicator to TradingView?
Grab the code from Pineify's library to skip the Pine Script coding. Copy it, open TradingView, find the Pine Editor at the bottom, paste, and click Add to Chart. The MRS line appears in its own pane with green and red backgrounds. I've tested this process on a dozen different stocks and it works the same every time.



