編輯精選
OPEN-SOURCE SCRIPT

Buyers & Sellers Profile + Dynamic S/R (Zeiierman)

59 934
█ Overview
Buyers & Sellers Profile + Dynamic S/R (Zeiierman) is a volume-profile and market-structure indicator designed to combine a large rolling Buyers/Sellers Volume Profile with dynamically generated support and resistance levels.

Instead of treating the volume profile and swing structure as separate tools, the indicator connects them directly.
快照
Price structure first identifies a potential pivot high or pivot low. The volume profile then evaluates the surrounding price area to determine whether meaningful volume structure exists near that pivot. If the profile shows enough evidence, the pivot can become an active support or resistance level.

The result is a large Buyers/Sellers Volume Profile, along with dynamic support and resistance levels directly influenced by the underlying volume distribution.
快照
⚪ Buyers & Sellers Volume Profile
The indicator builds a rolling volume profile across the selected historical lookback.

Instead of assigning an entire candle's volume to one price, each candle's volume is distributed across the profile rows touched by its high-to-low range. The amount allocated to each row depends on how much of the candle overlaps that price area.

Volume is then separated into estimated buying and selling activity based on where the candle closes inside its range.
Pine Script®

A candle closing near its high contributes more to estimated buying volume, while a candle closing near its low contributes more to estimated selling volume.

This is an estimated Buyers/Sellers profile derived from candle data, not true bid/ask or footprint order-flow volume.

The highest-volume row becomes the Point of Control (POC) and can be highlighted directly on the profile.
快照
⚪ Dynamic Support & Resistance
The indicator starts with confirmed swing highs and lows, then uses the volume profile to validate and refine them.

Around each pivot, it searches for the strongest nearby profile node using:

• Volume strength relative to the POC.
• Local prominence versus nearby rows.
• Estimated buying or selling dominance.
• Distance from the raw pivot.

These factors form a Profile Evidence Score.

Weak pivots are rejected, while strong profile-confirmed pivots become dynamic support or resistance levels.
快照

█ How It Works
⚪ 1. Pivot Structure Detection
The indicator detects confirmed swing highs and swing lows using the selected Swing Length.

A pivot is only known after the required number of bars has formed to its right, so the structure is confirmed rather than detected from future information.

The raw pivot represents the initial structural price that the profile engine will evaluate.

⚪ 2. Profile Node Search
After a pivot is confirmed, the indicator searches the surrounding profile within the selected ATR distance.

Each nearby price row receives an evidence score.
Pine Script®

• Node Strength measures the row's volume relative to the POC.
• Local Peak Quality measures whether the row stands out relative to neighboring rows.
• Directional Volume favors estimated buying volume for support candidates and estimated selling volume for resistance candidates.
• Pivot Proximity favors profile structure that remains reasonably close to the original swing.

⚪ 3. Profile-Guided Level Location
The strongest valid profile node does not simply replace the pivot.

Instead, the profile can pull the raw pivot toward the selected volume node.
Pine Script®

Stronger profile evidence produces a stronger pull toward the volume node, while weaker evidence keeps the final level closer to the original structural pivot.

This creates a direct relationship between market structure and the volume profile:

• Price proposes the level.
• Volume refines the level.

⚪ 4. Final Level Score
Every valid level also receives a final strength score.
Pine Script®

Profile structure therefore has the largest influence on the final score.

The score is displayed inside the pivot marker and can also be shown at the current endpoint of the level.

⚪ 5. Absorption and Pivot Quality
The indicator also examines the candles around the pivot.

Absorption strength increases when elevated volume appears together with a relatively small candle body.

The engine additionally measures:

• Pivot volume relative to its recent average.
• Wick rejection at the pivot.
• The strongest absorption event around the swing.

⚪ 6. Level Lifecycle
Active levels remain on the chart until price closes decisively through them.

The Break ATR setting adds a volatility-adjusted buffer before the level is considered invalidated.

Nearby same-direction levels can also be merged so multiple almost-identical levels do not accumulate in the same area.

If the maximum number of active levels is exceeded, the weakest level is removed first.

█ How to Use

⚪ Read the Buyers/Sellers Profile
The profile shows where trading activity is concentrated across the selected lookback. Larger profile sections represent heavier volume, while the POC marks the highest-volume price area.
快照
⚪ Identify Profile-Confirmed Support & Resistance
The indicator does not plot every swing high and low. A pivot must align with sufficient nearby profile structure before becoming an active level. The profile can also shift the final level away from the exact wick and toward a stronger nearby volume node.

• Resistance: Use profile-confirmed resistance levels as areas to watch for rejection when price retests them. If price fails to break through the level, it may act as resistance and lead to a bearish reaction.
快照
• Support: Use profile-confirmed support levels as areas to watch for a bullish reaction when price retests them. If price holds above the level, it may act as support and lead to a bounce.
快照

█ Settings

Large Rolling Profile
  • Lookback: Sets the number of historical bars used to construct the large rolling profile. The same profile methodology is reconstructed historically when pivots are evaluated.
  • Rows: Controls the number of price levels used to divide the profile.
  • Width: Sets the maximum horizontal width of the profile. The POC row reaches the maximum width while other rows scale relative to it.
  • Offset: Controls the horizontal distance between current price and the displayed profile.
  • Show Profile: Enables or disables the large Buyers/Sellers Volume Profile.
  • POC: Highlights the highest-volume profile row.
  • Level Rows: Highlights profile rows containing active support or resistance levels.

Profile-Guided Pivot Engine
  • Swing Length: Controls the left/right pivot confirmation length.
  • Search ATR: Defines how far around the original pivot the indicator may search for a stronger profile node.
  • Min Node: Sets the minimum node volume relative to the profile POC required for a pivot to qualify.
  • Min Evidence: Sets the minimum combined Profile Evidence Score required for the candidate.
  • Profile Pull: Controls how strongly the selected profile node can relocate the raw pivot.
  • Min Score: Sets the minimum final level score required before support or resistance is created.
  • Max Levels: Sets the maximum number of active dynamic levels.
  • Merge ATR: Controls how close same-direction levels can be before they are treated as duplicates.
  • Break ATR: Sets the ATR-based buffer price must close beyond before an active level is invalidated.


-----------------
Disclaimer

The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.

All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。