OPEN-SOURCE SCRIPT
Price Acceptance Signature [Luis Edition]

Price Acceptance Signature (PAS)
Price Acceptance Signature (PAS) is a technical indicator designed to measure something most common indicators ignore: not whether price moved, but whether the market truly accepted that movement inside the candle. It focuses on candle structure, closing position, wick rejection, and short-term persistence to estimate the quality of price execution rather than simple direction or volatility.
What problem it solves
Most indicators answer questions like:
Is the market overbought or oversold?
Is momentum rising or falling?
Is volatility expanding or contracting?
PAS solves a different problem. It tries to detect whether a move is real and accepted or just a fast, inefficient excursion that gets rejected. This is useful because many false breakouts, weak continuation candles, and trapped moves look strong at first glance but leave behind poor internal structure. PAS helps you filter those situations.
Core idea
Every candle has internal behavior:
The body shows how much of the range was actually held.
The wicks show rejection.
The close location shows whether the market finished near the high, middle, or low.
A sequence of candles shows whether acceptance is persistent or unstable.
PAS combines these elements into one score. A strong positive PAS suggests that buyers have not only pushed price upward, but that the candle closed in a way that confirms acceptance. A strong negative PAS suggests the same idea for sellers. A weak or near-zero PAS suggests indecision, rejection, or low-quality movement.
Formula
A simple version of the indicator can be written as:
PAS = signed acceptance score + persistence bonus
Where the acceptance score is built from:
bodyScore = |close - open| / (high - low)
closeScore = |close - mid| / (high - low) / 2
cleanScore = 1 - ((upperWick + lowerWick) / (high - low))
Then:
rawPAS = bodyScore × 0.45 + closeScore × 0.35 + cleanScore × 0.20
And finally:
If the candle closes bullish, PAS is positive.
If the candle closes bearish, PAS is negative.
A small persistence bonus can be added when the current candle agrees with the previous PAS direction.
Why these parts matter
1. Body score
This measures how much of the candle’s range was actually controlled by one side. A large body usually means stronger conviction.
2. Close score
This measures where the candle ended relative to its range. A close near the high is stronger for buyers; a close near the low is stronger for sellers.
3. Clean score
This measures wick efficiency. Long wicks often mean rejection or failed attempts. A “clean” candle with smaller wicks often signals more acceptance.
4. Persistence bonus
One strong candle is not always enough. If the next candle supports the same acceptance direction, the signal becomes more meaningful.
Practical interpretation
You can use PAS in several ways:
Breakout confirmation: wait for a breakout candle to show strong positive PAS instead of trading every break.
False breakout filter: if price breaks a level but PAS stays weak, the move may be fragile.
Trend continuation: in an uptrend, strong positive PAS candles can confirm that the market is still accepting higher prices.
Reversal suspicion: if price makes a new high but PAS weakens, that can suggest exhaustion or rejection.
Entry timing: a strong PAS candle after compression can be a cleaner trigger than a plain momentum indicator.
Example
Imagine three bullish candles:
Candle A has a huge wick, a small body, and closes in the middle of the range.
Candle B breaks higher, but the close is weak and the wick is still large.
Candle C closes near the high with a strong body and small wicks.
Traditional momentum tools may already look positive on Candle B. PAS would probably still treat Candle B as weak, then give more confidence only on Candle C. That is the key advantage: it distinguishes appearance of movement from quality of acceptance.
How to read the output
A practical reading could be:
Above zero: bullish acceptance.
Below zero: bearish acceptance.
Near zero: no clear acceptance.
High positive spike: strong bullish expansion with good structure.
High negative spike: strong bearish expansion with good structure.
If you smooth the line, the indicator becomes easier to read visually. If you keep it raw, it becomes more reactive but noisier.
Best market conditions
PAS works best when the market is:
Breaking out of compression.
Repricing after a clean impulsive move.
Testing a key level.
Transitioning from range to trend, or trend to exhaustion.
It is less useful in:
Extremely random chop.
Very low-liquidity periods.
Markets with tiny ranges and distorted candle structure.
How it differs from classic indicators
This indicator is not trying to replace RSI, MACD, ATR, or moving averages. It answers a different question.
RSI measures relative strength over time.
MACD measures trend and momentum convergence.
ATR measures volatility.
PAS measures candle acceptance quality.
That makes it more structural and more “micro” in its logic.
How to use it in practice
A solid workflow would be:
Mark your key levels.
Wait for price to approach a level or break out of compression.
Watch whether PAS confirms the move with a strong accepted candle.
Avoid entering just because price touched the level.
Use PAS as a quality filter, not as a standalone prediction machine.
In other words, PAS should help you ask:
Is the market really accepting this price, or just visiting it?
Trading philosophy behind it
The philosophy is simple: strong trading moves are not just about speed, but about acceptance. A market that truly accepts a price level tends to leave cleaner candles, stronger closes, and less rejection. PAS tries to measure that directly.
Final note
PAS is most powerful when combined with structure, not used alone. It becomes especially interesting if you pair it with:
session highs and lows,
range compression,
liquidity sweeps,
higher timeframe context.
That turns it from a simple oscillator into a real decision filter.
Price Acceptance Signature (PAS) is a technical indicator designed to measure something most common indicators ignore: not whether price moved, but whether the market truly accepted that movement inside the candle. It focuses on candle structure, closing position, wick rejection, and short-term persistence to estimate the quality of price execution rather than simple direction or volatility.
What problem it solves
Most indicators answer questions like:
Is the market overbought or oversold?
Is momentum rising or falling?
Is volatility expanding or contracting?
PAS solves a different problem. It tries to detect whether a move is real and accepted or just a fast, inefficient excursion that gets rejected. This is useful because many false breakouts, weak continuation candles, and trapped moves look strong at first glance but leave behind poor internal structure. PAS helps you filter those situations.
Core idea
Every candle has internal behavior:
The body shows how much of the range was actually held.
The wicks show rejection.
The close location shows whether the market finished near the high, middle, or low.
A sequence of candles shows whether acceptance is persistent or unstable.
PAS combines these elements into one score. A strong positive PAS suggests that buyers have not only pushed price upward, but that the candle closed in a way that confirms acceptance. A strong negative PAS suggests the same idea for sellers. A weak or near-zero PAS suggests indecision, rejection, or low-quality movement.
Formula
A simple version of the indicator can be written as:
PAS = signed acceptance score + persistence bonus
Where the acceptance score is built from:
bodyScore = |close - open| / (high - low)
closeScore = |close - mid| / (high - low) / 2
cleanScore = 1 - ((upperWick + lowerWick) / (high - low))
Then:
rawPAS = bodyScore × 0.45 + closeScore × 0.35 + cleanScore × 0.20
And finally:
If the candle closes bullish, PAS is positive.
If the candle closes bearish, PAS is negative.
A small persistence bonus can be added when the current candle agrees with the previous PAS direction.
Why these parts matter
1. Body score
This measures how much of the candle’s range was actually controlled by one side. A large body usually means stronger conviction.
2. Close score
This measures where the candle ended relative to its range. A close near the high is stronger for buyers; a close near the low is stronger for sellers.
3. Clean score
This measures wick efficiency. Long wicks often mean rejection or failed attempts. A “clean” candle with smaller wicks often signals more acceptance.
4. Persistence bonus
One strong candle is not always enough. If the next candle supports the same acceptance direction, the signal becomes more meaningful.
Practical interpretation
You can use PAS in several ways:
Breakout confirmation: wait for a breakout candle to show strong positive PAS instead of trading every break.
False breakout filter: if price breaks a level but PAS stays weak, the move may be fragile.
Trend continuation: in an uptrend, strong positive PAS candles can confirm that the market is still accepting higher prices.
Reversal suspicion: if price makes a new high but PAS weakens, that can suggest exhaustion or rejection.
Entry timing: a strong PAS candle after compression can be a cleaner trigger than a plain momentum indicator.
Example
Imagine three bullish candles:
Candle A has a huge wick, a small body, and closes in the middle of the range.
Candle B breaks higher, but the close is weak and the wick is still large.
Candle C closes near the high with a strong body and small wicks.
Traditional momentum tools may already look positive on Candle B. PAS would probably still treat Candle B as weak, then give more confidence only on Candle C. That is the key advantage: it distinguishes appearance of movement from quality of acceptance.
How to read the output
A practical reading could be:
Above zero: bullish acceptance.
Below zero: bearish acceptance.
Near zero: no clear acceptance.
High positive spike: strong bullish expansion with good structure.
High negative spike: strong bearish expansion with good structure.
If you smooth the line, the indicator becomes easier to read visually. If you keep it raw, it becomes more reactive but noisier.
Best market conditions
PAS works best when the market is:
Breaking out of compression.
Repricing after a clean impulsive move.
Testing a key level.
Transitioning from range to trend, or trend to exhaustion.
It is less useful in:
Extremely random chop.
Very low-liquidity periods.
Markets with tiny ranges and distorted candle structure.
How it differs from classic indicators
This indicator is not trying to replace RSI, MACD, ATR, or moving averages. It answers a different question.
RSI measures relative strength over time.
MACD measures trend and momentum convergence.
ATR measures volatility.
PAS measures candle acceptance quality.
That makes it more structural and more “micro” in its logic.
How to use it in practice
A solid workflow would be:
Mark your key levels.
Wait for price to approach a level or break out of compression.
Watch whether PAS confirms the move with a strong accepted candle.
Avoid entering just because price touched the level.
Use PAS as a quality filter, not as a standalone prediction machine.
In other words, PAS should help you ask:
Is the market really accepting this price, or just visiting it?
Trading philosophy behind it
The philosophy is simple: strong trading moves are not just about speed, but about acceptance. A market that truly accepts a price level tends to leave cleaner candles, stronger closes, and less rejection. PAS tries to measure that directly.
Final note
PAS is most powerful when combined with structure, not used alone. It becomes especially interesting if you pair it with:
session highs and lows,
range compression,
liquidity sweeps,
higher timeframe context.
That turns it from a simple oscillator into a real decision filter.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.