[DAOL] Event Value Shift

⏺️ What is it?
[DAOL] Event Value Shift compares price location with the movement of an Anchored Volume Weighted Average Price (VWAP).
It combines three elements:
• Anchored VWAP — a volume-weighted average calculated from a defined starting point
• Price Distance — how far the close is above or below VWAP, expressed in ATR units
• Value Shift — how much VWAP has moved over a selected number of bars, expressed in ATR units
The purpose is to distinguish price moving away from its reference from price moving in the same direction as that reference.
VWAP is an average derived from chart price and volume. It is not the actual cost basis of all market participants.
⏺️ Indicator นี้คืออะไร?
[DAOL] Event Value Shift เปรียบเทียบว่า ราคาห่างจากค่าเฉลี่ยมากแค่ไหน และค่าเฉลี่ยขยับไปทางเดียวกับราคาหรือไม่
ผสมหลักการ 3 ส่วน:
• Anchored VWAP — ราคาเฉลี่ยถ่วงน้ำหนักด้วย Volume ตั้งแต่จุดเริ่มที่กำหนด
• Price Distance — ราคาปิดอยู่เหนือหรือใต้ VWAP กี่ ATR
• Value Shift — VWAP ขยับขึ้นหรือลงกี่ ATR ในจำนวนแท่งที่เลือก
ช่วยแยกภาพ “ราคาวิ่งห่างจากค่าเฉลี่ย” กับ “ราคาและค่าเฉลี่ยขยับไปทางเดียวกัน”
VWAP เป็นค่าเฉลี่ยจากราคาและ Volume ไม่ใช่ต้นทุนจริงของผู้ถือครองทั้งหมด
⏺️ Why use Event Value Shift?
• Adds context to price distance from VWAP
• Separates the direction of VWAP movement from the direction of price location
• Uses ATR to express both measurements on a common scale
• Displays the underlying measurements rather than combining everything into one score
• Supports analysis from a selected event or a recurring exchange-day boundary
A large distance from VWAP does not automatically imply overbought, oversold, or an upcoming reversal.
⏺️ ทำไมต้องใช้?
• เพิ่มบริบทให้การอ่านระยะราคาห่างจาก VWAP
• แยกทิศทางการขยับของ VWAP ออกจากตำแหน่งราคา
• ใช้ ATR เป็นหน่วยร่วมสำหรับอ่านทั้งสองค่า
• แสดงตัวเลขแยกกัน เพื่อให้เข้าใจเหตุผลของสถานะ
• เลือกเริ่มติดตามจากเหตุการณ์ หรือเริ่มใหม่ตามขอบวันของตลาดได้
ราคาห่างจาก VWAP มากไม่ได้ยืนยันว่าซื้อมากเกินไป ขายมากเกินไป หรือกำลังจะกลับตัว
⏺️ How is it calculated?
Anchored VWAP = Sum of (HLC3 × Volume) ÷ Sum of Volume since the anchor
HLC3 = (High + Low + Close) ÷ 3
Price Distance = (Close − Current VWAP) ÷ Previous Bar ATR
Value Shift = (Current VWAP − VWAP N bars ago) ÷ Previous Bar ATR
Both VWAP observations must belong to the same anchor period. The indicator waits for sufficient VWAP history and a valid positive ATR before classifying a state.
Using the previous bar’s ATR prevents the evaluated bar from enlarging its own volatility denominator.
⏺️ คำนวณอย่างไร?
Anchored VWAP = ผลรวม (HLC3 × Volume) ÷ Volume รวมตั้งแต่จุดเริ่ม
HLC3 = (High + Low + Close) ÷ 3
Price Distance = (ราคาปิด − VWAP ปัจจุบัน) ÷ ATR ของแท่งก่อน
Value Shift = (VWAP ปัจจุบัน − VWAP เมื่อ N แท่งก่อน) ÷ ATR ของแท่งก่อน
VWAP ทั้งสองค่าต้องอยู่ภายในรอบ Anchor เดียวกัน ระบบจะรอประวัติ VWAP และ ATR ให้พร้อมก่อนจำแนกสถานะ
ใช้ ATR ของแท่งก่อน เพื่อไม่ให้แท่งที่กำลังประเมินขยายตัวหารของตัวเอง
⏺️ Anchor modes
Exchange day:
• Resets at TradingView’s exchange-day boundary
• Requires an intraday chart
• Starts at the first observed day boundary after the beginning of loaded history
• Does not separately identify custom morning, afternoon, or night sessions
Selected time:
• Starts at the first bar opening at or after the selected time
• Requires a loaded bar before the selected time
• If the selected event falls inside a bar, calculation starts at the next bar opening
• Includes the full volume of the actual anchor bar
The dashboard displays the actual anchor time in the exchange timezone.
⏺️ เลือกจุดเริ่มอย่างไร?
Exchange day:
• เริ่มใหม่ที่ขอบวันตาม TradingView
• ใช้กับกราฟ Intraday
• เริ่มจากขอบวันแรกที่ตรวจพบหลังจุดเริ่มประวัติที่โหลด
• ไม่ได้แยก Session เช้า บ่าย หรือกลางคืนโดยเฉพาะ
Selected time:
• เริ่มจากแท่งแรกที่เปิดตรงหรือหลังเวลาที่เลือก
• ต้องโหลดให้มีแท่งก่อนเวลาที่เลือกด้วย
• หากเหตุการณ์อยู่กลางแท่ง จะเริ่มที่เวลาเปิดแท่งถัดไป
• นับ Volume เต็มแท่งที่ใช้เป็น Anchor
Dashboard แสดงเวลาเริ่มจริงตามเขตเวลาของตลาด
⏺️ How to read the colors
🟢 Green — price is sufficiently above VWAP, and VWAP has moved upward beyond the selected threshold
🔴 Red — price is sufficiently below VWAP, and VWAP has moved downward beyond the selected threshold
🟡 Gold — price is far from VWAP, while VWAP displacement remains below the meaningful-shift threshold
🔵 Blue — price location and VWAP displacement oppose each other: above VWAP while VWAP falls, or below VWAP while VWAP rises
Gray — near or unclear conditions, or confirmation/data is not ready
The VWAP line color represents the confirmed state. The dashboard separately displays the latest classification, which may differ while confirmation is pending.
⏺️ อ่านสีอย่างไร?
🟢 เขียว — ราคาอยู่เหนือ VWAP ถึงเกณฑ์ และ VWAP ขยับขึ้นผ่านเกณฑ์
🔴 แดง — ราคาอยู่ใต้ VWAP ถึงเกณฑ์ และ VWAP ขยับลงผ่านเกณฑ์
🟡 ทอง — ราคาห่าง VWAP มาก แต่ VWAP ขยับน้อยกว่าเกณฑ์
🔵 ฟ้า — ตำแหน่งราคากับการขยับ VWAP สวนทาง เช่น ราคาเหนือ VWAP แต่ VWAP ลดลง
สีเทา — ใกล้ค่าเฉลี่ยหรือยังไม่ชัด หรือข้อมูล/การยืนยันยังไม่พร้อม
สีเส้น VWAP แสดงสถานะที่ยืนยันแล้ว ส่วน Dashboard แสดงสถานะล่าสุดแยกไว้ จึงอาจต่างกันระหว่างรอยืนยัน
⏺️ Example
Price Distance: +1.8 ATR
Value Shift: +0.05 ATR over 5 bars
With default thresholds, this qualifies as “Far / VWAP moving little”: price is well above its reference, but the reference has moved only slightly.
If Value Shift increases to +0.20 ATR while price remains sufficiently above VWAP, the latest classification becomes “Above / VWAP rising.”
Neither observation guarantees continuation or reversal.
⏺️ ตัวอย่าง
Price Distance: +1.8 ATR
Value Shift: +0.05 ATR ใน 5 แท่ง
ตามค่าเริ่มต้น จะเข้าเกณฑ์ “ราคาห่าง แต่ VWAP ขยับน้อย” เพราะราคาอยู่เหนือค่าเฉลี่ยมาก แต่ค่าเฉลี่ยเปลี่ยนเพียงเล็กน้อย
หาก Value Shift เพิ่มเป็น +0.20 ATR และราคายังเหนือ VWAP ถึงเกณฑ์ สถานะล่าสุดจะเปลี่ยนเป็น “เหนือ VWAP / VWAP ขยับขึ้น”
ทั้งสองกรณีไม่ได้รับประกันว่าราคาจะไปต่อหรือกลับตัว
⏺️ Default settings
• Anchor mode — Exchange day
• VWAP displacement lookback — 5 bars
• ATR length — 14
• Minimum price distance — 0.25 ATR
• Far distance — 1.50 ATR
• Meaningful VWAP displacement — 0.10 ATR
• Confirmation — 2 consecutive closed bars
The optional distance envelope is VWAP ± 1.50 prior-bar ATR by default. It is an ATR-distance reference, not a statistical confidence band.
⏺️ ค่าเริ่มต้น
• Anchor mode — Exchange day
• VWAP displacement lookback — 5 แท่ง
• ATR length — 14
• ระยะราคาขั้นต่ำ — 0.25 ATR
• เกณฑ์ราคาห่างมาก — 1.50 ATR
• เกณฑ์ VWAP ขยับชัด — 0.10 ATR
• ยืนยันสถานะ — 2 แท่งปิดต่อเนื่อง
กรอบระยะที่เปิดแสดงได้คือ VWAP ± 1.50 ATR ของแท่งก่อนตามค่าเริ่มต้น เป็นกรอบอ้างอิงระยะ ไม่ใช่ช่วงความเชื่อมั่นทางสถิติ
⏺️ How to use and alerts
Use a standard time-based candlestick or bar chart with suitable volume data.
Read Price Distance and Value Shift together. For event analysis, define the anchor before evaluating the outcome rather than selecting a favorable starting point afterward.
Available alerts:
• Above / VWAP rising
• Below / VWAP falling
• Far / little VWAP shift
• Price / VWAP opposed
• Any confirmed state change
The first confirmed state after each anchor initializes silently. Subsequent alerts occur when the confirmed state changes.
Create an alert using “Once Per Bar Close.” Recreate alerts after changing inputs or code.
⏺️ วิธีใช้และการแจ้งเตือน
ใช้กราฟแท่งเทียนหรือแท่งราคาตามเวลาที่มีข้อมูล Volume เหมาะสม แล้วอ่าน Price Distance ร่วมกับ Value Shift
หากติดตามเหตุการณ์ ควรกำหนดจุดเริ่มก่อนประเมินผล ไม่เลือกย้อนหลังเฉพาะจุดที่ให้ภาพสวย
เลือก Alert ได้สำหรับสถานะเขียว แดง ทอง ฟ้า หรือการเปลี่ยนสถานะทุกประเภท
สถานะแรกที่ยืนยันหลังแต่ละ Anchor ใช้เริ่มต้นระบบโดยไม่แจ้งเตือน จากนั้นจะแจ้งเมื่อสถานะยืนยันเปลี่ยน
ตั้ง “Once Per Bar Close” และสร้าง Alert ใหม่หลังเปลี่ยน Input หรือโค้ด
⏺️ Development and attribution
This implementation was written for DAOL without copying Community script source code.
It combines Anchored VWAP, ATR-based normalization, signed VWAP displacement, and closed-bar state confirmation for a specific purpose: comparing price location with the movement of its anchored reference.
Anchored VWAP and ATR are established concepts. No claim is made that these concepts or their general combination are new.
References:
TradingView — Anchored VWAP drawing tool
TradingView — Average True Range, developed by J. Welles Wilder
⏺️ การพัฒนาและอ้างอิง
โค้ดเขียนขึ้นสำหรับ DAOL โดยไม่คัดลอกสคริปต์ Community ผสม Anchored VWAP การปรับระยะด้วย ATR การวัดการขยับ VWAP และการยืนยันด้วยแท่งปิด
ส่วนต่อยอดคือการแยกตำแหน่งราคาออกจากการเปลี่ยนค่าเฉลี่ย พร้อมแสดงเหตุผลของแต่ละสถานะ ไม่อ้างว่า Anchored VWAP, ATR หรือการผสมสองแนวคิดเป็นสิ่งใหม่ทั้งหมด
แหล่งอ้างอิงระบุไว้ด้านบน โดย ATR อ้างอิงผลงานของ J. Welles Wilder
⏺️ Limitations and disclaimer
• VWAP is not the actual cost basis of all holders, intrinsic value, or institutional positioning.
• VWAP tends to become less responsive as cumulative volume grows. Small displacement may reflect anchor age rather than weak participation.
• Price and VWAP measurements are related because current price contributes to VWAP. They are not independent confirmations.
• Missing or negative volume invalidates the anchor calculation until the next reset. Genuine zero-volume bars do not change VWAP.
• Results depend on the anchor, chart timeframe, session settings, contract rollover, and data feed.
• Closed-bar confirmation introduces delay and does not prevent data revisions.
• Numerical checks have been completed outside Pine. TradingView compilation and market-feed validation remain pending.
• For educational and informational purposes only. It is not a standalone trading system and does not guarantee returns.
⏺️ ข้อจำกัดและคำชี้แจง
• VWAP ไม่ใช่ต้นทุนจริงของผู้ถือครองทั้งหมด มูลค่าที่แท้จริง หรือสถานะของสถาบัน
• เมื่อสะสม Volume มากขึ้น VWAP มักตอบสนองช้าลง การขยับน้อยอาจเกิดจากอายุ Anchor ไม่ใช่กิจกรรมอ่อนลง
• ราคาและ VWAP มีความเกี่ยวข้องกัน เพราะราคาปัจจุบันมีส่วนในการคำนวณ VWAP จึงไม่ใช่หลักฐานยืนยันที่เป็นอิสระจากกัน
• หาก Volume หายหรือเป็นลบ จะถือว่าการคำนวณ Anchor ไม่สมบูรณ์จนถึงรอบเริ่มใหม่ ส่วนแท่ง Volume ศูนย์จริงไม่เปลี่ยน VWAP
• จุดเริ่ม Timeframe Session การเปลี่ยนสัญญา และฟีดข้อมูลมีผลต่อผลลัพธ์
• การรอแท่งปิดทำให้มีความล่าช้า และไม่ได้ป้องกันการแก้ไขข้อมูลย้อนหลัง
• ตรวจสูตรเชิงตัวเลขแล้ว แต่ยังต้อง Compile และตรวจฟีดตลาดจริงใน TradingView
• ใช้เพื่อการศึกษาและประกอบการวิเคราะห์ ไม่ใช่ระบบซื้อขายโดยลำพังหรือการรับประกันผลตอบแทน
[DAOL] Event Value Shift compares price location with the movement of an Anchored Volume Weighted Average Price (VWAP).
It combines three elements:
• Anchored VWAP — a volume-weighted average calculated from a defined starting point
• Price Distance — how far the close is above or below VWAP, expressed in ATR units
• Value Shift — how much VWAP has moved over a selected number of bars, expressed in ATR units
The purpose is to distinguish price moving away from its reference from price moving in the same direction as that reference.
VWAP is an average derived from chart price and volume. It is not the actual cost basis of all market participants.
⏺️ Indicator นี้คืออะไร?
[DAOL] Event Value Shift เปรียบเทียบว่า ราคาห่างจากค่าเฉลี่ยมากแค่ไหน และค่าเฉลี่ยขยับไปทางเดียวกับราคาหรือไม่
ผสมหลักการ 3 ส่วน:
• Anchored VWAP — ราคาเฉลี่ยถ่วงน้ำหนักด้วย Volume ตั้งแต่จุดเริ่มที่กำหนด
• Price Distance — ราคาปิดอยู่เหนือหรือใต้ VWAP กี่ ATR
• Value Shift — VWAP ขยับขึ้นหรือลงกี่ ATR ในจำนวนแท่งที่เลือก
ช่วยแยกภาพ “ราคาวิ่งห่างจากค่าเฉลี่ย” กับ “ราคาและค่าเฉลี่ยขยับไปทางเดียวกัน”
VWAP เป็นค่าเฉลี่ยจากราคาและ Volume ไม่ใช่ต้นทุนจริงของผู้ถือครองทั้งหมด
⏺️ Why use Event Value Shift?
• Adds context to price distance from VWAP
• Separates the direction of VWAP movement from the direction of price location
• Uses ATR to express both measurements on a common scale
• Displays the underlying measurements rather than combining everything into one score
• Supports analysis from a selected event or a recurring exchange-day boundary
A large distance from VWAP does not automatically imply overbought, oversold, or an upcoming reversal.
⏺️ ทำไมต้องใช้?
• เพิ่มบริบทให้การอ่านระยะราคาห่างจาก VWAP
• แยกทิศทางการขยับของ VWAP ออกจากตำแหน่งราคา
• ใช้ ATR เป็นหน่วยร่วมสำหรับอ่านทั้งสองค่า
• แสดงตัวเลขแยกกัน เพื่อให้เข้าใจเหตุผลของสถานะ
• เลือกเริ่มติดตามจากเหตุการณ์ หรือเริ่มใหม่ตามขอบวันของตลาดได้
ราคาห่างจาก VWAP มากไม่ได้ยืนยันว่าซื้อมากเกินไป ขายมากเกินไป หรือกำลังจะกลับตัว
⏺️ How is it calculated?
Anchored VWAP = Sum of (HLC3 × Volume) ÷ Sum of Volume since the anchor
HLC3 = (High + Low + Close) ÷ 3
Price Distance = (Close − Current VWAP) ÷ Previous Bar ATR
Value Shift = (Current VWAP − VWAP N bars ago) ÷ Previous Bar ATR
Both VWAP observations must belong to the same anchor period. The indicator waits for sufficient VWAP history and a valid positive ATR before classifying a state.
Using the previous bar’s ATR prevents the evaluated bar from enlarging its own volatility denominator.
⏺️ คำนวณอย่างไร?
Anchored VWAP = ผลรวม (HLC3 × Volume) ÷ Volume รวมตั้งแต่จุดเริ่ม
HLC3 = (High + Low + Close) ÷ 3
Price Distance = (ราคาปิด − VWAP ปัจจุบัน) ÷ ATR ของแท่งก่อน
Value Shift = (VWAP ปัจจุบัน − VWAP เมื่อ N แท่งก่อน) ÷ ATR ของแท่งก่อน
VWAP ทั้งสองค่าต้องอยู่ภายในรอบ Anchor เดียวกัน ระบบจะรอประวัติ VWAP และ ATR ให้พร้อมก่อนจำแนกสถานะ
ใช้ ATR ของแท่งก่อน เพื่อไม่ให้แท่งที่กำลังประเมินขยายตัวหารของตัวเอง
⏺️ Anchor modes
Exchange day:
• Resets at TradingView’s exchange-day boundary
• Requires an intraday chart
• Starts at the first observed day boundary after the beginning of loaded history
• Does not separately identify custom morning, afternoon, or night sessions
Selected time:
• Starts at the first bar opening at or after the selected time
• Requires a loaded bar before the selected time
• If the selected event falls inside a bar, calculation starts at the next bar opening
• Includes the full volume of the actual anchor bar
The dashboard displays the actual anchor time in the exchange timezone.
⏺️ เลือกจุดเริ่มอย่างไร?
Exchange day:
• เริ่มใหม่ที่ขอบวันตาม TradingView
• ใช้กับกราฟ Intraday
• เริ่มจากขอบวันแรกที่ตรวจพบหลังจุดเริ่มประวัติที่โหลด
• ไม่ได้แยก Session เช้า บ่าย หรือกลางคืนโดยเฉพาะ
Selected time:
• เริ่มจากแท่งแรกที่เปิดตรงหรือหลังเวลาที่เลือก
• ต้องโหลดให้มีแท่งก่อนเวลาที่เลือกด้วย
• หากเหตุการณ์อยู่กลางแท่ง จะเริ่มที่เวลาเปิดแท่งถัดไป
• นับ Volume เต็มแท่งที่ใช้เป็น Anchor
Dashboard แสดงเวลาเริ่มจริงตามเขตเวลาของตลาด
⏺️ How to read the colors
🟢 Green — price is sufficiently above VWAP, and VWAP has moved upward beyond the selected threshold
🔴 Red — price is sufficiently below VWAP, and VWAP has moved downward beyond the selected threshold
🟡 Gold — price is far from VWAP, while VWAP displacement remains below the meaningful-shift threshold
🔵 Blue — price location and VWAP displacement oppose each other: above VWAP while VWAP falls, or below VWAP while VWAP rises
Gray — near or unclear conditions, or confirmation/data is not ready
The VWAP line color represents the confirmed state. The dashboard separately displays the latest classification, which may differ while confirmation is pending.
⏺️ อ่านสีอย่างไร?
🟢 เขียว — ราคาอยู่เหนือ VWAP ถึงเกณฑ์ และ VWAP ขยับขึ้นผ่านเกณฑ์
🔴 แดง — ราคาอยู่ใต้ VWAP ถึงเกณฑ์ และ VWAP ขยับลงผ่านเกณฑ์
🟡 ทอง — ราคาห่าง VWAP มาก แต่ VWAP ขยับน้อยกว่าเกณฑ์
🔵 ฟ้า — ตำแหน่งราคากับการขยับ VWAP สวนทาง เช่น ราคาเหนือ VWAP แต่ VWAP ลดลง
สีเทา — ใกล้ค่าเฉลี่ยหรือยังไม่ชัด หรือข้อมูล/การยืนยันยังไม่พร้อม
สีเส้น VWAP แสดงสถานะที่ยืนยันแล้ว ส่วน Dashboard แสดงสถานะล่าสุดแยกไว้ จึงอาจต่างกันระหว่างรอยืนยัน
⏺️ Example
Price Distance: +1.8 ATR
Value Shift: +0.05 ATR over 5 bars
With default thresholds, this qualifies as “Far / VWAP moving little”: price is well above its reference, but the reference has moved only slightly.
If Value Shift increases to +0.20 ATR while price remains sufficiently above VWAP, the latest classification becomes “Above / VWAP rising.”
Neither observation guarantees continuation or reversal.
⏺️ ตัวอย่าง
Price Distance: +1.8 ATR
Value Shift: +0.05 ATR ใน 5 แท่ง
ตามค่าเริ่มต้น จะเข้าเกณฑ์ “ราคาห่าง แต่ VWAP ขยับน้อย” เพราะราคาอยู่เหนือค่าเฉลี่ยมาก แต่ค่าเฉลี่ยเปลี่ยนเพียงเล็กน้อย
หาก Value Shift เพิ่มเป็น +0.20 ATR และราคายังเหนือ VWAP ถึงเกณฑ์ สถานะล่าสุดจะเปลี่ยนเป็น “เหนือ VWAP / VWAP ขยับขึ้น”
ทั้งสองกรณีไม่ได้รับประกันว่าราคาจะไปต่อหรือกลับตัว
⏺️ Default settings
• Anchor mode — Exchange day
• VWAP displacement lookback — 5 bars
• ATR length — 14
• Minimum price distance — 0.25 ATR
• Far distance — 1.50 ATR
• Meaningful VWAP displacement — 0.10 ATR
• Confirmation — 2 consecutive closed bars
The optional distance envelope is VWAP ± 1.50 prior-bar ATR by default. It is an ATR-distance reference, not a statistical confidence band.
⏺️ ค่าเริ่มต้น
• Anchor mode — Exchange day
• VWAP displacement lookback — 5 แท่ง
• ATR length — 14
• ระยะราคาขั้นต่ำ — 0.25 ATR
• เกณฑ์ราคาห่างมาก — 1.50 ATR
• เกณฑ์ VWAP ขยับชัด — 0.10 ATR
• ยืนยันสถานะ — 2 แท่งปิดต่อเนื่อง
กรอบระยะที่เปิดแสดงได้คือ VWAP ± 1.50 ATR ของแท่งก่อนตามค่าเริ่มต้น เป็นกรอบอ้างอิงระยะ ไม่ใช่ช่วงความเชื่อมั่นทางสถิติ
⏺️ How to use and alerts
Use a standard time-based candlestick or bar chart with suitable volume data.
Read Price Distance and Value Shift together. For event analysis, define the anchor before evaluating the outcome rather than selecting a favorable starting point afterward.
Available alerts:
• Above / VWAP rising
• Below / VWAP falling
• Far / little VWAP shift
• Price / VWAP opposed
• Any confirmed state change
The first confirmed state after each anchor initializes silently. Subsequent alerts occur when the confirmed state changes.
Create an alert using “Once Per Bar Close.” Recreate alerts after changing inputs or code.
⏺️ วิธีใช้และการแจ้งเตือน
ใช้กราฟแท่งเทียนหรือแท่งราคาตามเวลาที่มีข้อมูล Volume เหมาะสม แล้วอ่าน Price Distance ร่วมกับ Value Shift
หากติดตามเหตุการณ์ ควรกำหนดจุดเริ่มก่อนประเมินผล ไม่เลือกย้อนหลังเฉพาะจุดที่ให้ภาพสวย
เลือก Alert ได้สำหรับสถานะเขียว แดง ทอง ฟ้า หรือการเปลี่ยนสถานะทุกประเภท
สถานะแรกที่ยืนยันหลังแต่ละ Anchor ใช้เริ่มต้นระบบโดยไม่แจ้งเตือน จากนั้นจะแจ้งเมื่อสถานะยืนยันเปลี่ยน
ตั้ง “Once Per Bar Close” และสร้าง Alert ใหม่หลังเปลี่ยน Input หรือโค้ด
⏺️ Development and attribution
This implementation was written for DAOL without copying Community script source code.
It combines Anchored VWAP, ATR-based normalization, signed VWAP displacement, and closed-bar state confirmation for a specific purpose: comparing price location with the movement of its anchored reference.
Anchored VWAP and ATR are established concepts. No claim is made that these concepts or their general combination are new.
References:
TradingView — Anchored VWAP drawing tool
TradingView — Average True Range, developed by J. Welles Wilder
⏺️ การพัฒนาและอ้างอิง
โค้ดเขียนขึ้นสำหรับ DAOL โดยไม่คัดลอกสคริปต์ Community ผสม Anchored VWAP การปรับระยะด้วย ATR การวัดการขยับ VWAP และการยืนยันด้วยแท่งปิด
ส่วนต่อยอดคือการแยกตำแหน่งราคาออกจากการเปลี่ยนค่าเฉลี่ย พร้อมแสดงเหตุผลของแต่ละสถานะ ไม่อ้างว่า Anchored VWAP, ATR หรือการผสมสองแนวคิดเป็นสิ่งใหม่ทั้งหมด
แหล่งอ้างอิงระบุไว้ด้านบน โดย ATR อ้างอิงผลงานของ J. Welles Wilder
⏺️ Limitations and disclaimer
• VWAP is not the actual cost basis of all holders, intrinsic value, or institutional positioning.
• VWAP tends to become less responsive as cumulative volume grows. Small displacement may reflect anchor age rather than weak participation.
• Price and VWAP measurements are related because current price contributes to VWAP. They are not independent confirmations.
• Missing or negative volume invalidates the anchor calculation until the next reset. Genuine zero-volume bars do not change VWAP.
• Results depend on the anchor, chart timeframe, session settings, contract rollover, and data feed.
• Closed-bar confirmation introduces delay and does not prevent data revisions.
• Numerical checks have been completed outside Pine. TradingView compilation and market-feed validation remain pending.
• For educational and informational purposes only. It is not a standalone trading system and does not guarantee returns.
⏺️ ข้อจำกัดและคำชี้แจง
• VWAP ไม่ใช่ต้นทุนจริงของผู้ถือครองทั้งหมด มูลค่าที่แท้จริง หรือสถานะของสถาบัน
• เมื่อสะสม Volume มากขึ้น VWAP มักตอบสนองช้าลง การขยับน้อยอาจเกิดจากอายุ Anchor ไม่ใช่กิจกรรมอ่อนลง
• ราคาและ VWAP มีความเกี่ยวข้องกัน เพราะราคาปัจจุบันมีส่วนในการคำนวณ VWAP จึงไม่ใช่หลักฐานยืนยันที่เป็นอิสระจากกัน
• หาก Volume หายหรือเป็นลบ จะถือว่าการคำนวณ Anchor ไม่สมบูรณ์จนถึงรอบเริ่มใหม่ ส่วนแท่ง Volume ศูนย์จริงไม่เปลี่ยน VWAP
• จุดเริ่ม Timeframe Session การเปลี่ยนสัญญา และฟีดข้อมูลมีผลต่อผลลัพธ์
• การรอแท่งปิดทำให้มีความล่าช้า และไม่ได้ป้องกันการแก้ไขข้อมูลย้อนหลัง
• ตรวจสูตรเชิงตัวเลขแล้ว แต่ยังต้อง Compile และตรวจฟีดตลาดจริงใน TradingView
• ใช้เพื่อการศึกษาและประกอบการวิเคราะห์ ไม่ใช่ระบบซื้อขายโดยลำพังหรือการรับประกันผลตอบแทน
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.
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.