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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน