Mis à jour
Stan Weinstein Power Zone Screener

Sure — here's the short version:
**What it does:** A Pine v6 indicator that checks price against Stan Weinstein's classic 30-period MA (default: weekly timeframe). If price is above the MA → **Power Zone**. Below it → **No Power Zone**.
**Screener part:** You paste a comma-separated list of stocks (up to 39 per copy) into an input box. The script loops through all of them using `request.security()` — something only possible in Pine v6 — pulls each stock's price and MA, and sorts them into a table with Power Zone stocks on top.
**Alerts:** Fires automatically whenever a stock newly crosses into (or out of) the Power Zone. You just set up one TradingView alert on "Any alert() function call" and it covers every stock in your list.
**Bonus:** Also plots the MA and tints the chart background green/red for whatever symbol you're currently viewing.
**What it does:** A Pine v6 indicator that checks price against Stan Weinstein's classic 30-period MA (default: weekly timeframe). If price is above the MA → **Power Zone**. Below it → **No Power Zone**.
**Screener part:** You paste a comma-separated list of stocks (up to 39 per copy) into an input box. The script loops through all of them using `request.security()` — something only possible in Pine v6 — pulls each stock's price and MA, and sorts them into a table with Power Zone stocks on top.
**Alerts:** Fires automatically whenever a stock newly crosses into (or out of) the Power Zone. You just set up one TradingView alert on "Any alert() function call" and it covers every stock in your list.
**Bonus:** Also plots the MA and tints the chart background green/red for whatever symbol you're currently viewing.
Notes de version
Sure — here's the short version:**What it does:** A Pine v6 indicator that checks price against Stan Weinstein's classic 30-period MA (default: weekly timeframe). If price is above the MA → **Power Zone**. Below it → **No Power Zone**.
**Screener part:** You paste a comma-separated list of stocks (up to 39 per copy) into an input box. The script loops through all of them using `request.security()` — something only possible in Pine v6 — pulls each stock's price and MA, and sorts them into a table with Power Zone stocks on top.
**Alerts:** Fires automatically whenever a stock newly crosses into (or out of) the Power Zone. You just set up one TradingView alert on "Any alert() function call" and it covers every stock in your list.
**Bonus:** Also plots the MA and tints the chart background green/red for whatever symbol you're currently viewing.
Notes de version
**What changed:** Added two explicit conditions — `Above Stan Indicator` and `Below Stan Indicator` — as separate plot columns, alongside your existing entry/exit crossover alerts.**Why:** Your crossover alerts (`bullCross`/`bearCross`) only fire the moment a stock flips zones. These new ones are **state-based** — true on every bar a stock currently sits above or below the MA — so you can filter/count them in the Pine Screener.
**How to use it:** In the Screener, add these as columns, filter `Above Stan Indicator = 1` to see (and count) every stock in your index currently in the Power Zone, and `Below Stan Indicator = 1` for the rest.
Notes de version
**What changed:** Renamed/added two new alert conditions — **"In Power Zone"** and **"In No Power Zone"** — separate from your existing "Entered"/"Exited" ones.**Why:** Entered/Exited only fire the moment a stock flips. These new ones fire on **every bar** a stock is already sitting above or below the MA — so they catch all stocks currently in that state, not just new flips.
**Result:** In the Screener/alert dropdown you'll now see 4 conditions total: Entered Power Zone, Exited Power Zone, In Power Zone, In No Power Zone. Use the last two to see/count everything already in each zone.
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.