OPEN-SOURCE SCRIPT
Updated AG Pro Price Acceptance Profile [AGPro Series]

AG Pro Price Acceptance Profile [AGPro Series]
OVERVIEW
AG Pro Price Acceptance Profile is a price-structure tool designed to reveal where the market is spending time, where it is repeatedly returning, and where it is rejecting price efficiently.
Instead of using volume distribution, signal arrows, or breakout-style triggers, this script builds an acceptance/rejection map from price-time interaction inside a rolling lookback window. The goal is simple: make it easier to identify where price is being accepted, where it is being rejected, and whether current price is trading inside balance or at its outer edges.
This is not a volume profile clone, not a support/resistance line generator, and not a momentum signal script. It focuses on one specific question:
Which price areas are currently showing repeated acceptance, and which areas are failing to hold price?
That narrow focus is intentional. The script is built as an analytical context tool rather than an entry engine.

UNIQUE EDGE
The core idea is to measure acceptance through price-time behavior rather than centralized volume data.
The profile logic evaluates how often price revisits a zone, how long it tends to remain there, and how efficiently it exits that zone. This creates a structured map of:
- Acceptance zones
- Rejection zones
- The active balance area
- The current market state relative to that balance
Because the methodology is based on price persistence and revisit behavior, the script can be useful on markets where volume-based profiling is either unavailable, fragmented, or not the preferred analytical lens.
METHODOLOGY
The script divides the rolling price range into rows and evaluates each row using multiple internal dimensions derived from recent bars:
1) Time at price
Measures how frequently the market occupies each row across the selected lookback.
2) Revisit density
Tracks how often price returns to a row after leaving it. Repeated revisits can indicate ongoing acceptance or unfinished balancing behavior.
3) Dwell persistence
Approximates whether the market tends to spend stable time in an area rather than only touching it briefly.
4) Rejection speed
Measures how efficiently price exits an area after interaction. Faster and cleaner exits tend to support rejection classification.
5) Balance mapping
Uses the strongest acceptance region to define the current balance area and then classifies the live market location relative to it.
The result is a simplified profile-style framework built from price behavior itself.
HOW TO READ IT
The large balance area highlights the current acceptance region derived from the profile engine.
Acceptance zones mark price areas that showed stronger persistence, repeated interaction, and better structural acceptance within the chosen lookback.
Rejection zones mark areas where price interacted but failed to remain stable, leading to less durable occupation and faster displacement.
The panel is designed to summarize the current profile state:
- Acceptance Strength: relative quality of the dominant accepted area
- Revisit Density: how actively the market is returning to profiled zones
- Balance Width: width of the accepted region relative to the full profiled range
- Rejection Speed: how efficiently price is leaving unstable areas
- Location: whether current price is inside, above, or below balance
In practice, traders can use the script to distinguish between stable trade location and unstable trade location, instead of treating every nearby level as equally important.

KEY INPUTS
Lookback
Controls how much recent history is used to build the profile.
Rows
Defines profile resolution. Higher values increase granularity but can also make the map more sensitive.
Acceptance Threshold / Rejection Threshold
Adjust how selective the script is when classifying stronger acceptance and rejection areas.
Maximum Acceptance / Rejection Zones
Controls chart density and visual focus.
Panel and label settings
Allow adaptation for different chart layouts and screen sizes.
LIMITATIONS AND TRANSPARENCY
This script does not predict future price movement.
It does not generate guaranteed reversal points.
It does not replace execution logic or risk management.
Acceptance and rejection are contextual measurements derived from the selected lookback and row resolution. Different settings can produce different maps because the profile is adaptive by design.
As with any charting tool based on rolling historical context, zones may evolve when older bars leave the lookback window and new bars enter it.
This script is best used as a contextual framework for market location, not as a standalone trade mandate.
RISK DISCLOSURE
This indicator is for analytical and educational use only. It does not provide financial advice, investment advice, or trading guarantees. All trading decisions remain the responsibility of the user.
OVERVIEW
AG Pro Price Acceptance Profile is a price-structure tool designed to reveal where the market is spending time, where it is repeatedly returning, and where it is rejecting price efficiently.
Instead of using volume distribution, signal arrows, or breakout-style triggers, this script builds an acceptance/rejection map from price-time interaction inside a rolling lookback window. The goal is simple: make it easier to identify where price is being accepted, where it is being rejected, and whether current price is trading inside balance or at its outer edges.
This is not a volume profile clone, not a support/resistance line generator, and not a momentum signal script. It focuses on one specific question:
Which price areas are currently showing repeated acceptance, and which areas are failing to hold price?
That narrow focus is intentional. The script is built as an analytical context tool rather than an entry engine.
UNIQUE EDGE
The core idea is to measure acceptance through price-time behavior rather than centralized volume data.
The profile logic evaluates how often price revisits a zone, how long it tends to remain there, and how efficiently it exits that zone. This creates a structured map of:
- Acceptance zones
- Rejection zones
- The active balance area
- The current market state relative to that balance
Because the methodology is based on price persistence and revisit behavior, the script can be useful on markets where volume-based profiling is either unavailable, fragmented, or not the preferred analytical lens.
METHODOLOGY
The script divides the rolling price range into rows and evaluates each row using multiple internal dimensions derived from recent bars:
1) Time at price
Measures how frequently the market occupies each row across the selected lookback.
2) Revisit density
Tracks how often price returns to a row after leaving it. Repeated revisits can indicate ongoing acceptance or unfinished balancing behavior.
3) Dwell persistence
Approximates whether the market tends to spend stable time in an area rather than only touching it briefly.
4) Rejection speed
Measures how efficiently price exits an area after interaction. Faster and cleaner exits tend to support rejection classification.
5) Balance mapping
Uses the strongest acceptance region to define the current balance area and then classifies the live market location relative to it.
The result is a simplified profile-style framework built from price behavior itself.
HOW TO READ IT
The large balance area highlights the current acceptance region derived from the profile engine.
Acceptance zones mark price areas that showed stronger persistence, repeated interaction, and better structural acceptance within the chosen lookback.
Rejection zones mark areas where price interacted but failed to remain stable, leading to less durable occupation and faster displacement.
The panel is designed to summarize the current profile state:
- Acceptance Strength: relative quality of the dominant accepted area
- Revisit Density: how actively the market is returning to profiled zones
- Balance Width: width of the accepted region relative to the full profiled range
- Rejection Speed: how efficiently price is leaving unstable areas
- Location: whether current price is inside, above, or below balance
In practice, traders can use the script to distinguish between stable trade location and unstable trade location, instead of treating every nearby level as equally important.
KEY INPUTS
Lookback
Controls how much recent history is used to build the profile.
Rows
Defines profile resolution. Higher values increase granularity but can also make the map more sensitive.
Acceptance Threshold / Rejection Threshold
Adjust how selective the script is when classifying stronger acceptance and rejection areas.
Maximum Acceptance / Rejection Zones
Controls chart density and visual focus.
Panel and label settings
Allow adaptation for different chart layouts and screen sizes.
LIMITATIONS AND TRANSPARENCY
This script does not predict future price movement.
It does not generate guaranteed reversal points.
It does not replace execution logic or risk management.
Acceptance and rejection are contextual measurements derived from the selected lookback and row resolution. Different settings can produce different maps because the profile is adaptive by design.
As with any charting tool based on rolling historical context, zones may evolve when older bars leave the lookback window and new bars enter it.
This script is best used as a contextual framework for market location, not as a standalone trade mandate.
RISK DISCLOSURE
This indicator is for analytical and educational use only. It does not provide financial advice, investment advice, or trading guarantees. All trading decisions remain the responsibility of the user.
Release Notes
UPDATE NOTES - V1.1This first update focuses on presentation quality, chart readability, and clearer visual prioritization inside the existing price-acceptance framework.
The core purpose of the script remains the same: to map accepted and rejected price areas in a structured way so users can evaluate where balance, revisit behavior, and rejection pressure may be developing. This release does not reposition the script or introduce predictive claims. Instead, it refines how the existing profile is displayed on the chart so the most relevant zones and metrics can be interpreted more quickly.
What changed
• Improved zone hierarchy
Acceptance and rejection areas now use a cleaner visual ranking structure so the most relevant zones stand out more clearly at first glance.
• Added optional rank-and-score labels
Zone labels can now display both the zone rank and its relative score, making the visual output easier to interpret directly on the chart.
• Added optional zone midlines
A thin midpoint line can now be shown inside each displayed zone for cleaner structure definition and more precise chart reading.
• Refined balance-area presentation
The balance block has been visually softened so it provides context without overpowering the active acceptance and rejection zones.
• Improved panel presentation
The status panel has been updated with a cleaner visual hierarchy and more distinct metric separation, especially in light-theme layouts.
• Updated default display balance
Default visual settings were adjusted to produce a more polished chart appearance while preserving the script’s original analytical intent.
What did not change
• The script still evaluates price acceptance and rejection using the same underlying profile-based framework.
• This update is primarily visual and presentational.
• No claim is being made that the script predicts future price direction.
• The tool should still be used as a contextual chart-reading aid, not as a standalone decision engine.
Notes
• Users who prefer a simpler display can still reduce label detail, hide midlines, or adjust panel and label sizes in Settings.
• Visual output may vary depending on symbol, timeframe, chart scale, and selected display inputs.
Release Notes
AG Pro Price Acceptance Profile [AGPro Series]UPDATE NOTES - V1.3
This update focuses on chart clarity, label hierarchy, and a cleaner visual presentation for the acceptance profile structure.
• Refined the panel header into a single merged first row with the standard AG Pro blue title bar.
• Set the default panel text size to Small for a more compact top-right footprint.
• Kept label text at Normal size to improve readability in publish screenshots and live chart use.
• Improved right-edge label spacing to reduce overlap between nearby acceptance and rejection zones.
• Enhanced the strongest zones with a more prominent visual emphasis for a cleaner hierarchy.
• Strengthened the balance area edge definition to make the active profile structure easier to read.
• Preserved the core acceptance / rejection profile logic while improving the overall chart presentation.
This update is primarily visual and structural. It is designed to improve readability, chart balance, and screenshot quality without changing the core purpose of the tool.
For educational and analytical use only. Not financial advice.
Release Notes
UPDATE NOTES — v1.4Brand & Standards
- Header, panel and palette aligned to the AGPro Series visual standard.
- Panel uses the standardized merged blue header row, no version number displayed.
- Script title standard applied; "AG Pro" kept only in shorttitle and panel header.
New Context Layer
- Acceptance Heatmap: subtle dwell-density shading across the full lookback range for cleaner structural context (toggle on/off).
- Balance Rotation: compares first-half vs second-half activity centers to report Stable, Migrating Up or Migrating Down.
- VAH / VAL labels now show explicit price levels at the right edge.
Zone Rendering
- Acceptance and rejection zones are now long horizontal S/R-style boxes that span the lookback window and project into the future.
- Improved label collision resolver and right-edge projection keep labels clearly outside of candles.
- Minimum zone gap control prevents clustering.
Panel
- Position selector expanded (Top/Bottom/Middle, Left/Right).
- Panel and label text sizes are fully adjustable; default is Normal.
- Optional Compact layout keeps the footprint tight.
Alerts
- Optional alerts for Accepted, Rejected, Rotation Up and Rotation Down transitions (bar-close confirmed).
Notes
- This is a visualization and structural context tool, not a trading strategy.
- No solicitation, no external links, no performance claims.
Release Notes
UPDATE NOTES - V1.5This update focuses on stronger chart presence, cleaner panel structure and better performance while preserving the original price-time acceptance concept.
What changed:
- Added subtle Balance Edge Zones around Value Area High and Value Area Low for a stronger support/resistance-style read without turning the script into a supply/demand tool.
- Added a new Profile Quality metric that combines acceptance strength, revisit activity, zone separation and balance width into one clear dashboard value.
- Added State Sensitivity control with Responsive, Balanced and Strict modes.
- Improved right-side label projection so zone labels sit cleaner outside the candle area.
- Kept both label and panel text size adjustable, with Normal as the default.
- Refined the panel header into the standard single merged blue title row.
- Kept only the script panel title in the first panel row.
- Optimized the profile engine so the heavier profile calculations run only for the active last-bar view.
- Added alertcondition support for Accepted, Rejected, Rotation Up and Rotation Down states.
- Updated the public script title format by removing the AG Pro prefix while keeping the [AGPro Series] suffix.
The script remains focused on price-time acceptance, rejection behavior, active balance structure, VAH/VAL context and balance migration. It does not use volume profile logic, supply/demand detection, fair value gaps, order blocks, liquidity sweeps or breakout signals, keeping it clearly separated from other AGPro Series tools.
Release Notes
UPDATE NOTES - V1.6This is a small screenshot polish update. The core Price Acceptance Profile engine, state logic, alerts and calculations are unchanged.
- Slightly extended the default zone projection to create a cleaner right-side visual shelf.
- Increased the default label offset so VAH/VAL, acceptance, rejection and rotation labels sit farther away from the candles.
- Softened the broad balance area fill by one step for better candle readability.
- Preserved the standard single merged blue panel header row.
No calculation logic was changed in this release.
Release Notes
🔧 UPDATE NOTES - V1.7This update focuses on decision-state clarity, publication-quality visuals, panel readability, and cleaner interpretation of the existing price-time acceptance model.
The core purpose of the script remains unchanged.
This release improves how the existing acceptance, rejection, balance, and rotation logic is presented, organized, and interpreted on the chart.
This script continues to function as an analytical and visualization tool.
It does not attempt to predict price direction or provide guaranteed outcomes.
------------------------
What Changed
------------------------
• Added a clearer Acceptance Score framework
The panel now summarizes profile quality as a 0-100 Acceptance Score with a grade. This makes the tool easier to read at a glance and gives the current profile state a clearer decision-support structure.
• Added stronger next-action states
The script now reports clearer action states such as ACCEPTANCE READY, ACCEPTED UP, ACCEPTED DOWN, REJECTION REVIEW, EDGE REVIEW, MONITOR BALANCE, and WAIT PROFILE.
• Improved zone text and visual hierarchy
The active balance area, edge zones, acceptance zones, and rejection zones can now display centered text. This makes the chart more readable and gives the profile map a stronger publication-ready appearance.
• Refined label density
Event labels now use cooldown, maximum label count, and label memory controls. This helps keep the chart active without allowing old labels to dominate the current structure.
• Improved right-side tags
VAH, VAL, accepted midpoint, active score, acceptance zones, and rejection zones now read more clearly as right-side shelf references.
• Reworked the panel into a decision panel
The panel now emphasizes State, Acceptance Score, Acceptance, Rejection, Rotation, Location, and Action instead of presenting only raw profile metrics.
------------------------
Visual Improvements
------------------------
• Improved chart readability by adding centered text inside the most important profile zones
• Reduced visual clutter through better label spacing, event memory, and controlled defaults
• Refined visual hierarchy so balance, acceptance, rejection, and edge zones are easier to distinguish
• Improved right-side label structure so key levels sit outside candles more cleanly
• Strengthened the panel color flow so current state and action stand out immediately
------------------------
Interface & Usability
------------------------
• Optimized panel layout for clearer information flow
• Added a cleaner score-and-action model for faster interpretation
• Improved label readability for live chart interaction and publish screenshots
• Kept panel show/hide, panel location, theme, and font size controls available
• Kept label font size adjustable, with Normal as the default
------------------------
Behavior Notes
------------------------
This update does not change the core analytical purpose of the script.
The script remains focused on price-time acceptance, rejection behavior, balance migration, and active trade-location context.
The updated action states are context labels, not trade instructions.
Users should interpret the outputs as market structure and trade-location context rather than predictive signals.
------------------------
Limitations Reminder
------------------------
The script remains a rule-based analytical tool.
Market conditions such as volatility, liquidity, timeframe differences, and selected lookback settings may affect how acceptance and rejection zones appear.
The profile is adaptive by design, so zones may change as older bars leave the lookback window and newer bars enter it.
------------------------
Risk Reminder
------------------------
This script is for educational and analytical purposes only.
It does not provide financial advice or guaranteed trading outcomes.
Users remain responsible for their own decisions, execution, and risk management.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
⚡ Precision Pine tools for crypto & FX traders
📊 ICT • Smart Money • Market Structure • Liquidity
🧠 Rules-based decision tools. No hype. No guesswork
⭐ Public AGPro Series + advanced invite-only tools
💬 t.me/agprolabs
📊 ICT • Smart Money • Market Structure • Liquidity
🧠 Rules-based decision tools. No hype. No guesswork
⭐ Public AGPro Series + advanced invite-only tools
💬 t.me/agprolabs
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
⚡ Precision Pine tools for crypto & FX traders
📊 ICT • Smart Money • Market Structure • Liquidity
🧠 Rules-based decision tools. No hype. No guesswork
⭐ Public AGPro Series + advanced invite-only tools
💬 t.me/agprolabs
📊 ICT • Smart Money • Market Structure • Liquidity
🧠 Rules-based decision tools. No hype. No guesswork
⭐ Public AGPro Series + advanced invite-only tools
💬 t.me/agprolabs
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.