PROTECTED SOURCE SCRIPT
OptX - ZigZag Triangle with Market Appetite

OptX - ZigZag Based Dynamic Triangle with Market Appetite Indicator
This protected script automatically detects and draws the latest converging triangle patterns using ZigZag pivot points. It combines classic price geometry with a proprietary "Market Appetite" momentum metric to highlight potential breakout strength.
Key Features:
- Automatically identifies recent swing highs and lows
- Draws upper resistance and lower support lines to form a triangle
- Includes a dashed diagonal line for visual structure
- Fills the triangle with dynamic color intensity and opacity reflecting current market momentum
- Clearly labels active resistance and support levels
- On breakout (within configurable bars after pivot), shows breakout conviction as a percentage (BO 0-100%)
Market Appetite Concept:
A custom momentum indicator that measures market intensity by analyzing normalized changes in both price and volume volatility:
- Recent price and volume movements are standardized and combined
- Scaled relative to recent extremes over an extended lookback
- Higher values indicate stronger momentum, resulting in more intense triangle fill and higher breakout percentage labels
- Designed to gauge the underlying conviction in price moves
Trend-adaptive coloring (based on 20-period SMA):
- Bullish conditions: green/blue tones
- Bearish conditions: red/gray tones
Ideal for spotting triangle breakouts with built-in momentum assessment.
Settings include full customization of ZigZag sensitivity, colors, fill opacity, appetite calculation period, breakout detection window, and line styles.
This is an original indicator combining ZigZag-based triangle detection with a unique price-volume momentum evaluation – developed independently and not derived from simple combinations of existing public scripts.
This protected script automatically detects and draws the latest converging triangle patterns using ZigZag pivot points. It combines classic price geometry with a proprietary "Market Appetite" momentum metric to highlight potential breakout strength.
Key Features:
- Automatically identifies recent swing highs and lows
- Draws upper resistance and lower support lines to form a triangle
- Includes a dashed diagonal line for visual structure
- Fills the triangle with dynamic color intensity and opacity reflecting current market momentum
- Clearly labels active resistance and support levels
- On breakout (within configurable bars after pivot), shows breakout conviction as a percentage (BO 0-100%)
Market Appetite Concept:
A custom momentum indicator that measures market intensity by analyzing normalized changes in both price and volume volatility:
- Recent price and volume movements are standardized and combined
- Scaled relative to recent extremes over an extended lookback
- Higher values indicate stronger momentum, resulting in more intense triangle fill and higher breakout percentage labels
- Designed to gauge the underlying conviction in price moves
Trend-adaptive coloring (based on 20-period SMA):
- Bullish conditions: green/blue tones
- Bearish conditions: red/gray tones
Ideal for spotting triangle breakouts with built-in momentum assessment.
Settings include full customization of ZigZag sensitivity, colors, fill opacity, appetite calculation period, breakout detection window, and line styles.
This is an original indicator combining ZigZag-based triangle detection with a unique price-volume momentum evaluation – developed independently and not derived from simple combinations of existing public scripts.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。