# Weinstein Stage Analysis

Weinstein Stage Analysis is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Classifies a chart into Weinstein's four stages from the slope of the 30-week moving average and price's position against it. Stage 1 bases and Stage 3 tops are boxed from the decline low or advance high, closes through their resistance or support mark Stage 2 breakouts graded by volume and Stage 4 breakdowns, each label reporting its volume ratio and Mansfield relative strength, and retests plus a correction-trailing stop follow the trade.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Mar 24, 2026.
- Access: free.
- Concepts: [Weinstein stage analysis](https://www.luxalgo.com/library/concept/weinstein-stage-analysis/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=wjhb197hpa0708mdojgh307m
- Page: https://www.luxalgo.com/library/indicator/weinstein-stage-analysis/

The **Weinstein Stage Analysis** is a comprehensive tool built to identify the four distinct phases of a security's life cycle. By analyzing price action in relation to a long term moving average, it allows traders to differentiate between basing (Stage 1), advancing (Stage 2), topping (Stage 3), and declining (Stage 4). This systematic approach helps investors focus on market leaders in uptrends and avoid capital exposure during major downturns.

## How to Trade the Weinstein Stage Analysis?

The core of this method relies on trend following. The most favorable environment for long positions is Stage 2, which is confirmed when price closes above the resistance level of a Stage 1 base and above the moving average while that average is flat or rising. Traders typically look for high volume on these breakouts to confirm buying conviction.

To manage risk, the indicator provides automatic stop levels based on recent correction extremes. When trading long in Stage 2, these stops can be trailed behind confirmed pivot lows. Conversely, Stage 4 signifies a breakdown below support, serving as a warning to avoid the asset or initiate short positions.

The Mansfield Relative Strength feature acts as a secondary filter. By ensuring the asset is outperforming a chosen benchmark, traders can prioritize assets with high institutional demand. Additionally, the retest feature provides a second entry opportunity; if price breaks out but then pulls back to verify the previous resistance as new support without falling back into the base, it can offer a lower risk entry point.

## Weinstein Stage Analysis Settings

### Moving Average
*   **MA Length (weeks)**: Defines the primary trend filter, set to 30 weeks by default.
*   **MA Type**: Choose between Simple, Exponential, or Weighted moving averages.
*   **MA Color**: Toggles the moving average color between stage based coloring or slope based coloring.
*   **Slope Lookback (weeks)**: Determines the time window to measure the percentage change of the moving average.
*   **Flat Band %**: Sets the percentage threshold used to define a flat moving average.

### Stage Rules
*   **Minimum Base (weeks)**: The duration a base must last before a breakout can be considered valid.
*   **Range Lookback (weeks)**: Establishes the anchor points for range detection.
*   **Require Breakout Volume**: When enabled, filters out Stage 2 entries if volume does not meet the specified multiple of the average.

### Mansfield Relative Strength
*   **Benchmark**: Selects the market index used for comparative analysis.
*   **Mansfield RS Length (weeks)**: The lookback period for calculating relative strength performance.
*   **Require Positive RS for Stage 2**: Forces the indicator to only signal Stage 2 breakouts if the asset is currently outperforming the benchmark.

### Trade Management
*   **Trades**: Selects the active mode (Long and Short, Long Only, or Off).
*   **Initial Stop Lookback (weeks)**: The time frame used to determine the initial stop level placement.
*   **Trail Behind Corrections**: Automates the movement of stop orders based on confirmed pivot points.

## Frequently Asked Questions

### How are the four stages calculated?
The stages are determined by the position of the price relative to the chosen moving average combined with the slope of that average. A rising average with price above it indicates a bullish phase, while a falling average with price below it marks a bearish phase.

### What is the purpose of the Mansfield Relative Strength?
This metric identifies whether an asset is gaining or losing momentum compared to a broader market index. Using it as a filter helps traders avoid weak stocks that are simply moving due to general market conditions rather than genuine internal strength.

### Can I use this for day trading?
While the method was originally designed for long term weekly charts, the indicator includes logic to adjust for daily and intraday timeframes. However, expect more frequent transitions and higher levels of noise when applying it to shorter time intervals.

## Related indicators

- [Structure & Trend Dashboard](https://www.luxalgo.com/library/indicator/structure-trend-dashboard/) (Trend Regime Label): markdown at https://www.luxalgo.com/library/indicator/structure-trend-dashboard.md
- [Trending Market Toolkit](https://www.luxalgo.com/library/indicator/trending-market-toolkit/) (Trend Regime Label): markdown at https://www.luxalgo.com/library/indicator/trending-market-toolkit.md
- [Change-Point Detection (CUSUM)](https://www.luxalgo.com/library/indicator/change-point-detection-cusum/) (Trend Regime Label): markdown at https://www.luxalgo.com/library/indicator/change-point-detection-cusum.md
- [Correlation Trend Indicator](https://www.luxalgo.com/library/indicator/correlation-trend-indicator/) (Trend): markdown at https://www.luxalgo.com/library/indicator/correlation-trend-indicator.md
- [HyperTrend](https://www.luxalgo.com/library/indicator/hypertrend/) (Trend Regime Label): markdown at https://www.luxalgo.com/library/indicator/hypertrend.md
- [HTF Candle Consistency](https://www.luxalgo.com/library/indicator/htf-candle-consistency/) (Higher-timeframe Trend Filter): markdown at https://www.luxalgo.com/library/indicator/htf-candle-consistency.md
- [Average Directional Index](https://www.luxalgo.com/library/indicator/average-directional-index/) (ADX / DMI System): markdown at https://www.luxalgo.com/library/indicator/average-directional-index.md
- [Anchored Powered KAMA](https://www.luxalgo.com/library/indicator/anchored-powered-kama/) (Kaufman Efficiency Ratio): markdown at https://www.luxalgo.com/library/indicator/anchored-powered-kama.md

---

Source: https://www.luxalgo.com/library/indicator/weinstein-stage-analysis/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
