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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.