OPEN-SOURCE SCRIPT
Minervini Power Play Indicator

### 📝 **Description:**
**Overview**
This indicator is designed to detect one of the most explosive and highly coveted chart patterns in the stock market: the **Power Play** (also known as the High Tight Flag), popularized by trading champion Mark Minervini.
The Power Play is a "velocity pattern" that occurs when a stock is experiencing a massive fundamental catalyst or extreme supply/demand imbalance, leading to a parabolic thrust followed by a shallow, tight consolidation.
**How It Works (The Math)**
This script filters for the strict mathematical criteria required for a true Power Play:
1. **The Thrust:** The stock must have surged by at least 100% (price doubled) within a period of 8 weeks (40 trading days) or less.
2. **The Pullback (Depth):** During the subsequent consolidation, the stock must not pull back more than 20% to 25% from the absolute peak of the thrust.
3. **The Consolidation:** The stock must be trading sideways or slightly down (not immediately making new highs).
When all these conditions are met, a **Yellow Circle** will plot below the daily candle, alerting you that the stock is in a valid Power Play consolidation zone.
**Customizable Parameters**
- **Thrust Period:** Default is 40 trading days (approx. 8 weeks).
- **Minimum Gain Multiplier:** Default is 2.0 (representing a 100% gain from the lowest low to the highest high).
- **Maximum Pullback:** Default is 0.25 (allowing a maximum 25% correction from the highest high).
**⚠️ How to Trade It (Crucial)**
This indicator serves as an **alert system**, NOT a blind buy signal. While the script calculates the math perfectly, algorithms cannot visually identify a Volatility Contraction Pattern (VCP).
When the yellow dot appears, you must manually inspect the chart for:
- **Price Tightness:** The daily ranges should be visibly contracting from left to right.
- **Volume Dry-Up:** Volume should shrink dramatically during the tightest areas of the flag.
- **Entry & Stop:** Buy the breakout above the pivot point of the tightest area, and place a strict, tight stop-loss just below that consolidation. If the stock drops below the 25% threshold, the dots will disappear, indicating the setup has failed.
*(Disclaimer: This script is for educational purposes only. Always combine indicator alerts with manual visual confirmation and strict risk management.)*
**Overview**
This indicator is designed to detect one of the most explosive and highly coveted chart patterns in the stock market: the **Power Play** (also known as the High Tight Flag), popularized by trading champion Mark Minervini.
The Power Play is a "velocity pattern" that occurs when a stock is experiencing a massive fundamental catalyst or extreme supply/demand imbalance, leading to a parabolic thrust followed by a shallow, tight consolidation.
**How It Works (The Math)**
This script filters for the strict mathematical criteria required for a true Power Play:
1. **The Thrust:** The stock must have surged by at least 100% (price doubled) within a period of 8 weeks (40 trading days) or less.
2. **The Pullback (Depth):** During the subsequent consolidation, the stock must not pull back more than 20% to 25% from the absolute peak of the thrust.
3. **The Consolidation:** The stock must be trading sideways or slightly down (not immediately making new highs).
When all these conditions are met, a **Yellow Circle** will plot below the daily candle, alerting you that the stock is in a valid Power Play consolidation zone.
**Customizable Parameters**
- **Thrust Period:** Default is 40 trading days (approx. 8 weeks).
- **Minimum Gain Multiplier:** Default is 2.0 (representing a 100% gain from the lowest low to the highest high).
- **Maximum Pullback:** Default is 0.25 (allowing a maximum 25% correction from the highest high).
**⚠️ How to Trade It (Crucial)**
This indicator serves as an **alert system**, NOT a blind buy signal. While the script calculates the math perfectly, algorithms cannot visually identify a Volatility Contraction Pattern (VCP).
When the yellow dot appears, you must manually inspect the chart for:
- **Price Tightness:** The daily ranges should be visibly contracting from left to right.
- **Volume Dry-Up:** Volume should shrink dramatically during the tightest areas of the flag.
- **Entry & Stop:** Buy the breakout above the pivot point of the tightest area, and place a strict, tight stop-loss just below that consolidation. If the stock drops below the 25% threshold, the dots will disappear, indicating the setup has failed.
*(Disclaimer: This script is for educational purposes only. Always combine indicator alerts with manual visual confirmation and strict risk management.)*
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。