OPEN-SOURCE SCRIPT
Session ATP (Trend Colored)

📌 Average Traded Price (ATP) – What It Means
ATP (Average Traded Price) is the weighted average price at which a stock has traded during the session, considering both price and volume.
It tells you where the majority of money has actually traded — not just the candle close.
If price stays above ATP → Buyers are in control
If price stays below ATP → Sellers dominate
ATP is like the intraday fair value of the stock.
📌 How ATP Helps in Trading
ATP gives three major insights:
1️⃣ Strength of Trend (Real Strength)
ATP rises only if strong volume enters at higher prices.
So, a rising ATP confirms genuine bullish strength, not fake moves.
ATP falling confirms real selling pressure, not random dips.
2️⃣ High-Probability Retests
Price often pulls back to ATP before taking the next direction.
Price above ATP → ATP becomes support
Price below ATP → ATP becomes resistance
This makes ATP extremely useful for intraday entries.
3️⃣ Identifying Where Big Players Are Positioned
Since ATP is volume-weighted, it reflects where institutions and big orders traded most.
If price stays above the level where institutions bought → trend is strong
If price stays below their cost → trend is weak
📌 How ATP Indicates Price Direction
In your improved version, ATP is trend-colored:
✔ Green → ATP rising → buyers dominating
✔ Red → ATP falling → sellers dominating
✔ Gray → sideways
Direction rule:
Bullish bias when price > ATP and ATP rising
Bearish bias when price < ATP and ATP falling
No-trade zone when price and ATP are flat / tangled
ATP often acts as:
Magnet in consolidation
Springboard in uptrend
Ceiling in downtrend
This helps you judge whether the move is:
A breakout with strength, or
A fake move without volume support.
🔥 Final Line
ATP is one of the few indicators that shows where the real money is trading, making it an excellent guide for intraday trend confirmation, support/resistance, and entry timing.
ATP (Average Traded Price) is the weighted average price at which a stock has traded during the session, considering both price and volume.
It tells you where the majority of money has actually traded — not just the candle close.
If price stays above ATP → Buyers are in control
If price stays below ATP → Sellers dominate
ATP is like the intraday fair value of the stock.
📌 How ATP Helps in Trading
ATP gives three major insights:
1️⃣ Strength of Trend (Real Strength)
ATP rises only if strong volume enters at higher prices.
So, a rising ATP confirms genuine bullish strength, not fake moves.
ATP falling confirms real selling pressure, not random dips.
2️⃣ High-Probability Retests
Price often pulls back to ATP before taking the next direction.
Price above ATP → ATP becomes support
Price below ATP → ATP becomes resistance
This makes ATP extremely useful for intraday entries.
3️⃣ Identifying Where Big Players Are Positioned
Since ATP is volume-weighted, it reflects where institutions and big orders traded most.
If price stays above the level where institutions bought → trend is strong
If price stays below their cost → trend is weak
📌 How ATP Indicates Price Direction
In your improved version, ATP is trend-colored:
✔ Green → ATP rising → buyers dominating
✔ Red → ATP falling → sellers dominating
✔ Gray → sideways
Direction rule:
Bullish bias when price > ATP and ATP rising
Bearish bias when price < ATP and ATP falling
No-trade zone when price and ATP are flat / tangled
ATP often acts as:
Magnet in consolidation
Springboard in uptrend
Ceiling in downtrend
This helps you judge whether the move is:
A breakout with strength, or
A fake move without volume support.
🔥 Final Line
ATP is one of the few indicators that shows where the real money is trading, making it an excellent guide for intraday trend confirmation, support/resistance, and entry timing.
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.