OPEN-SOURCE SCRIPT
VCP-Minervini v2

This indicator is based on the famous Volatility Contraction Pattern (VCP) developed by Mark Minervini. It is designed to detect breakout setups in stocks and indices and provides a complete framework for identifying and managing them.
VCP Detection: Uses ATR to measure contracting volatility and highlights potential setups with yellow markers.
Pivot Level: Once a VCP is detected, the script automatically fixes a pivot resistance level and plots it as a red line.
Breakout Signal: When price closes above the pivot and remains above the EMA, a green marker confirms that a breakout is active.
Exit Logic: If momentum fades (volume drops below average and True Range contracts), the green marker disappears, signaling it may be time to secure profits or adjust stops.
EMA Filter: Ensures that setups are only valid in the direction of the prevailing trend by requiring price to trade above the selected EMA.
How to use it
This tool is best suited for swing traders and position traders looking for clean breakout opportunities. It is not a simple mashup of indicators but an original combination specifically built for VCP setups.
Use primarily on daily or weekly charts of liquid stocks.
Build a watchlist from yellow markers (potential setups).
Watch for price closing above the pivot line to confirm the breakout.
Manage trades while the green marker is active, and take caution when it disappears.
Adjust the parameters to fine-tune detection sensitivity for your market or trading style.
VCP Detection: Uses ATR to measure contracting volatility and highlights potential setups with yellow markers.
Pivot Level: Once a VCP is detected, the script automatically fixes a pivot resistance level and plots it as a red line.
Breakout Signal: When price closes above the pivot and remains above the EMA, a green marker confirms that a breakout is active.
Exit Logic: If momentum fades (volume drops below average and True Range contracts), the green marker disappears, signaling it may be time to secure profits or adjust stops.
EMA Filter: Ensures that setups are only valid in the direction of the prevailing trend by requiring price to trade above the selected EMA.
How to use it
This tool is best suited for swing traders and position traders looking for clean breakout opportunities. It is not a simple mashup of indicators but an original combination specifically built for VCP setups.
Use primarily on daily or weekly charts of liquid stocks.
Build a watchlist from yellow markers (potential setups).
Watch for price closing above the pivot line to confirm the breakout.
Manage trades while the green marker is active, and take caution when it disappears.
Adjust the parameters to fine-tune detection sensitivity for your market or trading style.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。