Gova's WSA Screener

**Gova's WSA Screener** is a Pine Script v6 indicator that automates Stan Weinstein's 4-stage market cycle analysis (Basing → Advancing → Topping → Declining) so you can screen an entire index for it.
**How it decides the stage:**
- Uses a moving average (default 30-period) on whatever timeframe you pick (Weekly by default, per Weinstein's original method)
- Price above a **rising** MA → Stage 2 (Advancing)
- Price below a **falling** MA → Stage 4 (Declining)
- A **flat** MA following a prior Stage 4 → Stage 1 (Basing)
- A **flat** MA following a prior Stage 2 → Stage 3 (Topping)
**What it gives you:**
- 8 boolean outputs — "Already in" and "Entering" for each of the 4 stages — plotted as hidden data-window plots so they can be used as filter columns in TradingView's Pine Screener across an index or watchlist
- On-chart visuals: a colored background per stage (bright green/orange/red/gray), the stage MA line, and an info table showing the current stage name and MA slope %
- Built-in alerts that fire the moment a symbol enters a new stage
**Use case:** apply it as a screener column set to find, say, every stock in Nifty 50 that just broke into Stage 2 (a Weinstein-style breakout buy signal), or is sitting in Stage 4 to avoid.
**How it decides the stage:**
- Uses a moving average (default 30-period) on whatever timeframe you pick (Weekly by default, per Weinstein's original method)
- Price above a **rising** MA → Stage 2 (Advancing)
- Price below a **falling** MA → Stage 4 (Declining)
- A **flat** MA following a prior Stage 4 → Stage 1 (Basing)
- A **flat** MA following a prior Stage 2 → Stage 3 (Topping)
**What it gives you:**
- 8 boolean outputs — "Already in" and "Entering" for each of the 4 stages — plotted as hidden data-window plots so they can be used as filter columns in TradingView's Pine Screener across an index or watchlist
- On-chart visuals: a colored background per stage (bright green/orange/red/gray), the stage MA line, and an info table showing the current stage name and MA slope %
- Built-in alerts that fire the moment a symbol enters a new stage
**Use case:** apply it as a screener column set to find, say, every stock in Nifty 50 that just broke into Stage 2 (a Weinstein-style breakout buy signal), or is sitting in Stage 4 to avoid.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.