OPEN-SOURCE SCRIPT
Weinstein Stage Analyzer — Table Only (more padding)

What it does
This indicator applies Stan Weinstein’s Stage Analysis (Stages 1–4) and presents the result in a clean, compact table only—no lines, labels, or overlays. It shows:
• Previous Stage
• Current Stage (with Early / Mature / Late tag)
• Duration (how long price has been in the current stage, in HTF bars)
• Sentiment (Bullish / Bearish / Balanced / Cautious, derived from stage & maturity)
Timeframe-aware logic
• Weekly charts: classic 30-period MA (Weinstein’s original 30-week concept).
• Daily & Intraday: computed on Daily 150 as a practical daily translation of the 30-week idea.
• Monthly: ~7-period MA (~30 weeks ≈ 7 months).
The stage classification itself is evaluated on this HTF context and then displayed on your active chart.
EMA/SMA toggle
Choose EMA (default) or SMA for the trend line used in stage detection.
How stages are decided (practical rules)
• Stage 2 (Advance): MA rising with price above an upper band.
• Stage 4 (Decline): MA falling with price below a lower band.
• Flat MA zones become Stage 1 (Base) or Stage 3 (Top) depending on the prior trend.
“Maturity” tags (Early/Mature/Late) come from run length and extension beyond the band.
Inputs you can tweak
• MA Type: EMA / SMA
• Price Band (±%) and Slope Threshold to tighten/loosen stage flips
• Maturity thresholds: min/max bars & late-extension %
Notes
• Duration is for the entire current stage (e.g., total time in Stage 4), not just the maturity slice.
• A Top Padding Rows input is included to nudge the table lower if it overlaps your OHLC readout.
Disclaimer
For educational use only. Not financial advice. Always confirm with your own analysis, risk management, and market context.
This indicator applies Stan Weinstein’s Stage Analysis (Stages 1–4) and presents the result in a clean, compact table only—no lines, labels, or overlays. It shows:
• Previous Stage
• Current Stage (with Early / Mature / Late tag)
• Duration (how long price has been in the current stage, in HTF bars)
• Sentiment (Bullish / Bearish / Balanced / Cautious, derived from stage & maturity)
Timeframe-aware logic
• Weekly charts: classic 30-period MA (Weinstein’s original 30-week concept).
• Daily & Intraday: computed on Daily 150 as a practical daily translation of the 30-week idea.
• Monthly: ~7-period MA (~30 weeks ≈ 7 months).
The stage classification itself is evaluated on this HTF context and then displayed on your active chart.
EMA/SMA toggle
Choose EMA (default) or SMA for the trend line used in stage detection.
How stages are decided (practical rules)
• Stage 2 (Advance): MA rising with price above an upper band.
• Stage 4 (Decline): MA falling with price below a lower band.
• Flat MA zones become Stage 1 (Base) or Stage 3 (Top) depending on the prior trend.
“Maturity” tags (Early/Mature/Late) come from run length and extension beyond the band.
Inputs you can tweak
• MA Type: EMA / SMA
• Price Band (±%) and Slope Threshold to tighten/loosen stage flips
• Maturity thresholds: min/max bars & late-extension %
Notes
• Duration is for the entire current stage (e.g., total time in Stage 4), not just the maturity slice.
• A Top Padding Rows input is included to nudge the table lower if it overlaps your OHLC readout.
Disclaimer
For educational use only. Not financial advice. Always confirm with your own analysis, risk management, and market context.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.