อินดิเคเตอร์สำหรับ TradingViewTradingView indicator

Multi-Period VWAP v1.6.1

VWAP ที่ยึดตามปฏิทิน: Daily VWAP พร้อม SD band สามชั้นและ stretch zone ระหว่าง SD2–SD3 กับ Week, Month และ Year VWAP ที่มีเส้น Previous ของช่วงก่อนหน้า เปิดโหมด Black Tide Rituals แล้ว band ของ Daily จะเปลี่ยนตามช่วงเทรดของ Black Tide Rituals ให้เห็นเฉพาะระดับที่ช่วงนั้นใช้ ค่าเริ่มต้นวาดแค่เส้น Daily VWAP สีทองของ session ปัจจุบัน ส่วนอื่นเปิดเมื่อคุณต้องการ อินดิเคเตอร์บอกว่าราคาอยู่ตรงไหนเทียบกับ value ส่วนการตัดสินใจเทรดเป็นของคุณ กราฟทุกอันในหน้านี้เป็นกราฟจริงที่กดได้ กด ตั้งค่า เพื่อเปิดแผงตั้งค่าแบบเดียวกับบน TradingView ข้างกราฟCalendar-anchored VWAP: the Daily VWAP with three SD bands and a stretch zone between SD2 and SD3, and the Week, Month and Year VWAPs with Previous lines for the period before. Switch on the Black Tide Rituals mode and the Daily bands follow Black Tide Rituals' trading windows, showing only the levels each window trades. At the defaults it draws just the gold Daily VWAP of the current session; the rest is there when you want it. The indicator shows where price stands against value; the trade itself is yours. Every chart on this page is live: press Settings to open the same settings you have on TradingView beside the chart.

ส่วนที่ 1Part 1

Daily VWAP

1โมดูลนี้คืออะไรWhat it is

Daily VWAP คือราคาเฉลี่ยถ่วงด้วย volume ตั้งแต่ต้นช่วงจนถึงแท่งปัจจุบัน เป็นตัวแทนของ value ที่ตลาดยอมซื้อขายกันในช่วงนั้น ค่าเริ่มต้นเริ่มนับใหม่ทุก Session สำหรับ XAUUSD คือการเปิดวันเทรด (05:00 เวลาไทยในช่วงเวลาออมแสงของสหรัฐฯ 06:00 นอกช่วงนั้น) ราคาที่ใช้เป็น hlc3 แบบเดียวกับ VWAP ในตัวของ TradingView เส้นนี้จึงตรงกับ VWAP ของคนอื่นบนกราฟเดียวกันThe Daily VWAP is the volume-weighted average price from the start of the period to the current bar: the value the market has agreed to trade at so far. By default it resets every Session, which for XAUUSD is the trading-day open (05:00 Bangkok during US daylight saving time, 06:00 outside it). It reads hlc3, as TradingView's built-in VWAP does, so the line agrees with anyone else's VWAP on the same chart.

SD band สามชั้นวางห่างจาก VWAP เป็นจำนวนเท่าของ standard deviation ของราคาในช่วงเดียวกัน (ค่าเริ่มต้น 1, 2 และ 3 เท่า) band จึงกว้างขึ้นเมื่อราคาแกว่งมาก และแคบเมื่อตลาดนิ่ง ทุก band ปิดไว้ตามค่าเริ่มต้น กราฟด้านล่างเปิด SD1 กับ SD2 และปิด Current period only ไว้ เพื่อให้เห็นการเริ่มนับใหม่ทุกวัน (เฉพาะการ์ดนี้)The three SD bands sit a number of standard deviations of the same period's prices away from VWAP (1, 2 and 3 by default), so they widen when price swings and narrow when the market is quiet. Every band ships off. The chart below has SD1 and SD2 on and Current period only off, so each daily reset shows (on this card only).

2อ่านบนกราฟยังไงReading it on the chart

  • เส้นทึบ คือ Daily VWAP มีป้าย Daily VWAP ที่ปลายขวา เมื่อเลือก Anchor เป็น Week หรือ Month ป้ายจะเป็น Weekly VWAP / Monthly VWAP เส้นกระโดดตอนเปิดวัน เพราะ VWAP เริ่มนับใหม่จากแท่งแรกของวันThe solid line is the Daily VWAP, tagged Daily VWAP at its right end; with the Anchor on Week or Month the tag reads Weekly VWAP / Monthly VWAP. The line jumps at the day's open, where VWAP starts again from the first bar.
  • เส้นจุด คือ SD band คู่บนและล่าง ป้ายบอกชั้นของตัวเอง เช่น Daily +2σ ราคาที่อยู่นอก ±1σ ห่างจาก value มาก ส่วนนอก ±2σ มักมองว่ายืดแล้วThe dotted lines are the SD band pairs, each tagged with its level, as in Daily +2σ. Price outside ±1σ is well away from value; outside ±2σ it is stretched.
  • บนสเกลราคาด้านขวามีป้ายค่าล่าสุดของทุกเส้นที่วาด สีเดียวกับเส้นThe price scale carries each drawn line's last value, in the line's colour.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

VWAP · Dailyเส้นและจุดเริ่มนับThe line and its anchor5
VWAP · DailySD bandSD bands4
VWAP · Modulesสวิตช์ของ Daily VWAPThe Daily VWAP switch1

4ทดลองปรับค่าเองTry it

  1. VWAP ของสัปดาห์A weekly VWAP

    เปลี่ยน Anchor เป็น Week เส้นจะไม่เริ่มใหม่ทุกวัน แต่สะสมตั้งแต่ต้นสัปดาห์ และ band กว้างขึ้นตามช่วงราคาของทั้งสัปดาห์Set the Anchor to Week: the line no longer starts over each day but builds from the week's open, and the bands widen with the whole week's range.

  2. ครบสามชั้นAll three levels

    เปิด SD3 ด้วย แล้วดูว่าราคาแตะ ±3σ บ่อยแค่ไหนเทียบกับ ±1σSwitch SD3 on as well and see how rarely price reaches ±3σ next to ±1σ.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • Session กับ Day ต่างกันตรงไหนSession versus Day

    บน XAUUSD session ของตลาดคือวันเทรด จึงได้เส้นเดียวกัน ความต่างจะเห็นบนสินทรัพย์ที่มีช่วงนอกเวลาทำการ เช่นหุ้น ซึ่ง Session เริ่มนับที่แท่งแรกของช่วงปกติOn XAUUSD the market session is the trading day, so both give the same line. The difference shows on symbols with extended hours, such as stocks, where Session resets on the first bar of regular hours.

  • band ไม่ได้บอกทิศA band is not a direction

    ราคาที่อยู่นอก +2σ ยืดขึ้นไปไกลจาก value ไม่ได้แปลว่าต้องกลับลง ในวันที่มีแนวโน้มแรง ราคาเดินเกาะ band ได้ทั้งวันPrice beyond +2σ is stretched far above value; that does not mean it must come back. On a strong trend day price can ride a band all day.

  • ต้นวัน band แคบมากBands are tight early in the day

    ไม่กี่แท่งแรกหลังเริ่มนับใหม่ σ ยังมาจากข้อมูลน้อย band จึงแคบและแตะง่าย ระดับจะนิ่งขึ้นเมื่อวันเดินไปIn the first few bars after a reset σ rests on little data, so the bands are tight and easy to touch; the levels settle as the day goes on.

ส่วนที่ 2Part 2

Stretch zone และ Band FillStretch zone and Band Fill

1โมดูลนี้คืออะไรWhat it is

Stretch zone คือช่วงระหว่าง SD2 กับ SD3 ทั้งสองฝั่ง ราคาที่เข้ามาในช่วงนี้ยืดออกห่างจาก value มาก สีไล่จากใสสนิทที่ SD2 ไปจนเข้มสุดที่ SD3 ยิ่งราคาเข้าไปลึก สีด้านหลังยิ่งเข้ม โซนบนใช้สี Bear โซนล่างใช้สี Bull เพราะราคาที่ยืดขึ้นไปเหนือ value มักมองว่าเป็นสภาวะฝั่งขาย ไม่ใช่ฝั่งซื้อThe stretch zone is the band between SD2 and SD3 on each side: price in it is stretched well away from value. It fades in from fully clear at SD2 to its strongest at SD3, so the deeper price pushes in, the stronger the shading behind it. The upper zone takes the Bear colour and the lower the Bull colour : price stretched above value is often read as a sell-side condition, not a bullish one.

โซนเปิดไว้ตามค่าเริ่มต้น แต่ต้องมีทั้ง SD2 และ SD3 เพราะสีวาดระหว่างสองเส้นนี้ ถ้าขาดเส้นใดเส้นหนึ่งโซนจะไม่ขึ้น กราฟด้านล่างเปิด SD2 กับ SD3 และปิด Current period only ไว้ (เฉพาะการ์ดนี้) Band Fill เป็นอีกแบบ ระบายแต่ละคู่ band จากเส้นบนถึงเส้นล่างด้วยสีของ VWAP ได้เป็นซองซ้อนกันรอบเส้น เปิดพร้อมกันกับโซนได้The zone ships on but needs SD2 and SD3 both on, since it is drawn between those two lines; with either missing it does not show. The chart below has SD2 and SD3 on and Current period only off (on this card only). Band Fill is the other kind: it shades each band pair from its upper line to its lower in the VWAP's colour, nested envelopes around the line. Both can run together.

2อ่านบนกราฟยังไงReading it on the chart

  • สีแดงเหนือ VWAP ระหว่าง +2σ กับ +3σ ราคาที่เข้าไปถึงสีเข้มใกล้ +3σ ยืดขึ้นไปมากRed above VWAP between +2σ and +3σ: price reaching the deep shade near +3σ is stretched far up.
  • สีเขียวใต้ VWAP ระหว่าง −2σ กับ −3σ ด้านล่างแบบเดียวกันGreen below VWAP between −2σ and −3σ: the same, below.
  • Band Fill ปิดไว้ตามค่าเริ่มต้น เมื่อเปิดจะเห็นซองสีทองจางๆ หนึ่งชั้นต่อหนึ่ง band ที่เปิดอยู่ ซองในซ้อนกับซองนอก จึงเข้มขึ้นใกล้ VWAPBand Fill ships off. On, each band that is on adds a faint gold envelope; the inner ones overlap the outer, so the shading deepens near VWAP.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

VWAP · DailyStretch zone2
VWAP · DailyBand Fill1
VWAP · ColorsสีของโซนThe zone's colours1

4ทดลองปรับค่าเองTry it

  1. ลึกแค่ไหนHow deep

    เพิ่ม Zone Opacity เป็น 50 แล้วดูแท่งที่เข้าไปในโซน ยิ่งใกล้ +3σ หรือ −3σ สียิ่งเข้มRaise Zone Opacity to 50 and watch the bars that push into the zone: the closer to +3σ or −3σ, the darker the shade.

  2. สองแบบพร้อมกันBoth at once

    เปิด Band Fill คู่กับโซน ซองสีทองบอกความกว้างของแต่ละชั้น โซนสีบอกช่วงที่ยืดSwitch Band Fill on beside the zone: the gold envelopes show each level's width, the coloured zone the stretch.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • เปิดโซนแล้วไม่เห็นอะไรThe zone is on and nothing shows

    บนกราฟใหม่ band ทุกเส้นปิดอยู่ โซนต้องมีทั้ง SD2 และ SD3 ก่อน การตั้งค่าของโซนจึงเป็นสีเทาจนกว่าจะเปิดทั้งสองOn a fresh chart every band is off. The zone needs SD2 and SD3 first, which is why its setting stays greyed until both are on.

  • สีแดงไม่ได้แปลว่าขาลงRed is not a downtrend

    สีบอกว่าราคายืดไปฝั่งไหนจาก value ไม่ได้บอกทิศของแนวโน้ม ในวันขาขึ้นแรง ราคาอาจอยู่ในโซนแดงนานหลายชั่วโมงThe colour says which side of value price is stretched to, not where the trend points. On a strong up day price can sit in the red zone for hours.

  • Show Bands ปิดโซนด้วยShow Bands takes the zone with it

    ปิด Show Bands แล้วโซนและ Band Fill หายด้วย เพราะทั้งสองวาดระหว่างเส้น band ปิด Show VWAP ไม่มีผลกับโซนWith Show Bands off the zone and Band Fill go too, since both are drawn between the band lines. Show VWAP off does not touch the zone.

ส่วนที่ 3Part 3

โหมด Black Tide RitualsBlack Tide Rituals mode

1โมดูลนี้คืออะไรWhat it is

Mode ในหมวด Modules มีสองแบบ Visual (ค่าเริ่มต้น) ให้สวิตช์ของ band เป็นตัวกำหนดว่าวาดอะไร ส่วน Black Tide Rituals ให้ band ของ Daily เปลี่ยนตามช่วงเทรดของ Black Tide Rituals ให้เห็นเฉพาะระดับที่ช่วงนั้นเทรด วันเทรดแบ่งเป็นสามช่วง ตัดสินตอนแท่งปิด:The Mode under Modules has two settings. Visual (default) lets the band switches decide what draws. Black Tide Rituals makes the Daily bands follow Black Tide Rituals' trading windows, showing only the levels each window trades. The trading day falls into three windows, judged at the bar close:

ช่วง NY rituals ตั้งแต่เปิดวันจนถึง 13:30 เวลาไทย วาด ±1σ ซึ่งเป็นโซน Inverse NY · ระหว่างสองช่วง 13:30 ถึง 17:00 วาด ±2σ ±3σ โดยไม่ระบายสี · ช่วง Asia rituals ตั้งแต่ 17:00 จนถึงเปิดวันถัดไป วาด ±2σ ±3σ พร้อม stretch zone เพราะเป็นช่วงที่เทรดระดับ stretch ของ Daily ถ้าเปิดโหมดเดียวกันใน Session VWAP ด้วย ตัวนั้นจะระบายโซนของ New York ในช่วง NY rituals จึงเห็นโซนทีละอันเสมอ กราฟด้านล่างอยู่ในโหมดนี้และปิด Current period only ไว้ เพื่อให้เห็นหลายวัน (เฉพาะการ์ดนี้)NY rituals, from the day's open to 13:30 Bangkok, draw ±1σ, the Inverse NY zone. Between windows, 13:30 to 17:00, draw ±2σ ±3σ unshaded. Asia rituals, from 17:00 to the next day's open, draw ±2σ ±3σ with the stretch zone, the window that trades the Daily stretch levels. With Session VWAP in its own Black Tide Rituals mode, that script shades New York's zone in the NY rituals window, so one zone shows at a time. The chart below is in this mode with Current period only off, so several days show (on this card only).

2อ่านบนกราฟยังไงReading it on the chart

  • ช่วงที่มีแค่เส้นจุดคู่ใน คือช่วง NY rituals เห็นเฉพาะ Daily ±1σOnly the inner dotted pair : the NY rituals window, Daily ±1σ alone.
  • เส้นจุดคู่นอกโดยไม่มีสี คือระหว่างสองช่วง ±2σ ±3σThe outer dotted pairs with no shade: between windows, ±2σ ±3σ.
  • เส้นคู่นอกพร้อมสีแดงและเขียว คือช่วง Asia rituals ±2σ ±3σ และ stretch zoneThe outer pairs with red and green shading: the Asia rituals window, ±2σ ±3σ with the stretch zone.
  • ป้ายที่ปลายขวาบอกเฉพาะ band ของช่วงที่แท่งล่าสุดอยู่ เส้น Daily VWAP วาดตลอดในโหมดนี้The right-end tags name only the bands of the window the latest bar is in. The Daily VWAP line draws throughout in this mode.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

VWAP · ModulesMode1
VWAP · Ritual Windowsเวลาของแต่ละช่วงThe windows' times3

4ทดลองปรับค่าเองTry it

  1. เทียบกับ VisualAgainst Visual

    สลับเป็น Visual แล้วกลับมา ใน Visual ที่ค่าตั้งของการ์ดนี้ไม่มี band เลย เพราะ SD ทุกเส้นปิดอยู่ ส่วนโหมดนี้วาด band ของแต่ละช่วงให้เองSwitch to Visual and back. In Visual, with this card's settings, no band draws, since every SD switch is off; this mode draws each window's bands itself.

  2. ซองของแต่ละช่วงEach window's envelope

    เปิด Band Fill แล้วดูว่าซองแคบในช่วง NY และกว้างในช่วงอื่นSwitch Band Fill on: a narrow envelope in the NY window, wide ones in the others.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • บนกราฟจริงเห็นแค่ช่วงเดียวOn a live chart you see one window

    Current period only เปิดไว้ตามค่าเริ่มต้น กราฟจึงแสดงเฉพาะวันนี้ ถ้าตอนนี้อยู่ในช่วง NY rituals จะเห็นแค่ ±1σ เป็นเรื่องปกติCurrent period only ships on, so the chart shows today alone. In the NY rituals window that means ±1σ and nothing else, as intended.

  • เวลาต้องตรงกับ RitualsThe times must match Rituals

    ถ้าเปลี่ยนเวลาใน Black Tide Rituals ต้องเปลี่ยนที่นี่ด้วย มิฉะนั้น band จะเปลี่ยนช่วงคนละเวลากับสัญญาณChange the times in Black Tide Rituals and change them here too, or the bands will switch windows at a different time from the signals.

  • สวิตช์ band เป็นสีเทาThe band switches go grey

    ในโหมดนี้ SD1 / SD2 / SD3 และ Show Bands ไม่มีผล ถ้าอยากซ่อน band ต้องกลับไป VisualIn this mode SD1 / SD2 / SD3 and Show Bands do nothing; to hide the bands, go back to Visual.

ส่วนที่ 4Part 4

Week · Month · Year

1โมดูลนี้คืออะไรWhat it is

Period VWAP คือ VWAP ของช่วงที่ยาวกว่า: Week , Month และ Year แต่ละเส้นเริ่มนับใหม่เมื่อขึ้นสัปดาห์ เดือน หรือปีใหม่ ตามปฏิทินการซื้อขายของสินทรัพย์ (สัปดาห์ของ XAUUSD เริ่มเช้าวันจันทร์เวลาไทย) เปิดพร้อมกันได้ทั้งสามเส้น แต่ละเส้นมี SD band ของตัวเอง ซึ่งคำนวณ σ ในช่วงเดียวกับเส้น ทั้งชุดปิดไว้ตามค่าเริ่มต้น เปิดด้วย Period VWAP ในหมวด Modules แล้วจะได้ Week พร้อม band ±1σThe Period VWAPs are VWAPs over longer spans: Week , Month and Year . Each resets at the start of a new week, month or year on the symbol's own trading calendar (XAUUSD's week opens Monday morning, Bangkok time). All three can run together, each with its own SD band, its σ taken over the same span as the line. The set ships off; Period VWAP under Modules switches it on, giving the Week line with its ±1σ band.

Previous คือ VWAP ของช่วงก่อนหน้าที่ต่อเข้ามาในช่วงนี้ มีสองโหมด AVWAP (ค่าเริ่มต้น) ยึดจุดเริ่มของช่วงก่อนแล้วสะสมต่อ เป็น fair value ตั้งแต่เปิดสัปดาห์ก่อนที่ขยับตามการซื้อขายตอนนี้ บอกว่าช่วงใหม่กำลังดึง value เดิมขึ้นหรือลง VWAP คือค่าสุดท้ายของช่วงก่อน ค้างเป็นเส้นนิ่งไว้ทดสอบ กราฟด้านล่างเป็น 1H เปิด Period VWAP และ Previous ของ Week ไว้ (เฉพาะการ์ดนี้)Previous is the last period's VWAP carried into this one, in two modes. AVWAP (default) is anchored at the last period's start and keeps accumulating: fair value since last week's open, moving as this week trades, which shows whether the new period is dragging the old value up or down. VWAP is the last period's final value, held flat as a level to test. The chart below is 1H with Period VWAP and the Week's Previous line on (on this card only).

2อ่านบนกราฟยังไงReading it on the chart

  • เส้นม่วงหนา คือ Week VWAP ป้าย Weekly VWAP และ band ของสัปดาห์ ป้าย Weekly +1σ / Weekly -1σ เส้นเริ่มที่แท่งแรกของสัปดาห์นี้ เพราะ Current period only เปิดอยู่The thick purple line is the Week VWAP, tagged Weekly VWAP, with the week's band tagged Weekly +1σ / Weekly -1σ. It starts on this week's first bar, since Current period only is on.
  • เส้นจุดม่วง คือ Previous ของ Week แบบ AVWAP ป้าย Prev Week AVWAP วาดจากต้นสัปดาห์ก่อน ข้ามรอยต่อของสัปดาห์โดยไม่ขาด มาจนถึงแท่งล่าสุดThe dotted purple line is the Week's Previous line in AVWAP mode, tagged Prev Week AVWAP: drawn from last week's start, across the week boundary without a break, to the latest bar.
  • Month กับ Year ปิดไว้ตามค่าเริ่มต้น ป้ายเป็น Monthly VWAP / Yearly VWAP และ Prev Month AVWAP แบบเดียวกันMonth and Year ship off; their tags read Monthly VWAP / Yearly VWAP and Prev Month AVWAP in the same way.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

VWAP · Modulesเปิดช่วงที่ต้องการChoosing the periods3
VWAP · Weekเส้น band และ Previous (Month ใช้ชุดเดียวกัน)Line, band and Previous (Month has the same set)5
VWAP · Yearสีคงที่A fixed colour1

4ทดลองปรับค่าเองTry it

  1. สองโหมดของ PreviousThe two Previous modes

    สลับ Previous เป็นโหมด VWAP เส้นจะกลายเป็นระดับนิ่งของค่าสุดท้ายสัปดาห์ก่อน และวาดเฉพาะสัปดาห์นี้Switch Previous to VWAP mode: the line becomes last week's final value, flat, drawn across this week only.

  2. เดือนกับสัปดาห์Month beside week

    เปิด Month ด้วย ต้นเดือนนี้ตรงกับต้นสัปดาห์ ทั้งสองเส้นจึงเริ่มจากแท่งเดียวกัน แล้วแยกกันเมื่อสัปดาห์ถัดไปเริ่มSwitch Month on too. This month began with this week, so both lines start on the same bar; they part when the next week starts.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • ต้นสัปดาห์ Week VWAP เกาะราคาEarly in the week the Week VWAP hugs price

    วันแรกของสัปดาห์ Week VWAP มีข้อมูลแค่ไม่กี่ชั่วโมง จึงเกือบเท่ากับ Daily VWAP และ band แคบ เส้นจะมีน้ำหนักมากขึ้นเมื่อสัปดาห์เดินไปOn the week's first day the Week VWAP has only hours of data, so it sits close to the Daily VWAP with a narrow band; it gains weight as the week goes on.

  • Previous ไม่ได้ขึ้นกับเส้นของช่วงPrevious does not need the period's line

    ปิดเส้น Week แล้ว Previous ของ Week ยังวาดถ้าเปิดไว้ ปิด Period VWAP เท่านั้นที่ปิดทุกอย่างในชุดนี้With the Week line off, the Week's Previous line still draws if it is on; only Period VWAP switches the whole set off.

  • AVWAP กับ VWAP ไม่ใช่เส้นเดียวกันAVWAP and VWAP are different lines

    AVWAP ยังขยับตามราคาตอนนี้ VWAP เป็นค่าตายตัวของช่วงก่อน เมื่อปิด Current period only เส้น Previous จะแสดงย้อนหลังทุกช่วง และขาดที่รอยต่อของแต่ละช่วงAVWAP keeps moving with this period's trading; VWAP is the last period's fixed value. With Current period only off, the Previous line shows for every period, broken at each boundary.

ส่วนที่ 5Part 5

Display

1โมดูลนี้คืออะไรWhat it is

Current period only เป็นสวิตช์หลักที่ช่วยให้กราฟโล่ง เปิดไว้ตามค่าเริ่มต้น VWAP ทุกเส้นจะวาดเฉพาะช่วงปัจจุบันของตัวเอง Daily VWAP วาดเฉพาะวันนี้ (หรือสัปดาห์ เดือน ตาม Anchor) Week VWAP เฉพาะสัปดาห์นี้ Month VWAP เฉพาะเดือนนี้ เส้นของช่วงที่จบไปแล้วถูกซ่อน ยกเว้นเส้น Previous ที่ยังแสดงในช่วงปัจจุบัน เพราะเป็นช่วงที่มันใช้อ้างอิง (เส้น Previous แบบ AVWAP วาดจากต้นช่วงก่อน) ปิดสวิตช์นี้แล้วจะเห็นย้อนหลังทั้งหมดCurrent period only is the master declutter, on by default: every VWAP draws only its own current period. The Daily VWAP draws today (or this week or month, by its Anchor), the Week VWAP this week, the Month VWAP this month. Finished periods' lines are hidden, except the Previous lines, which stay across the current period, the one they are a reference for (an AVWAP Previous line draws from its anchor, the last period's start). Switch it off for the full history.

Line labels วางป้ายเล็กที่ปลายขวาของ VWAP ทุกเส้นที่มองเห็น ห่างจากแท่งล่าสุดสองแท่ง สีเดียวกับเส้น ป้ายแต่ละอันขึ้นตามสวิตช์ของเส้นตัวเอง กราฟด้านล่างเป็น 1H เปิด Period VWAP และ SD1 ของ Daily ไว้ (เฉพาะการ์ดนี้)Line labels put a small tag at the right end of every visible VWAP line, two bars past the latest bar, in the line's colour; each tag follows its own line's switch. The chart below is 1H with Period VWAP and the Daily SD1 on (on this card only).

2อ่านบนกราฟยังไงReading it on the chart

  • ป้ายที่ปลายขวา บอกว่าเส้นไหนคืออะไร: Daily VWAP, Daily +1σ, Weekly VWAP, Weekly +1σ สีของป้ายเป็นสีของเส้นนั้นThe tags at the right edge say which line is which: Daily VWAP, Daily +1σ, Weekly VWAP, Weekly +1σ, each in its line's colour.
  • ปิด Current period only แล้ว Daily VWAP จะแสดงทุกวันย้อนหลัง และ Week VWAP ทุกสัปดาห์ ป้ายยังอยู่ที่แท่งล่าสุดเท่านั้นWith Current period only off the Daily VWAP shows every past day and the Week VWAP every past week; the tags stay at the latest bar only.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

VWAP · DisplayการแสดงผลDisplay2
VWAP · ModulesData Window export1

4ทดลองปรับค่าเองTry it

  1. ย้อนหลังทั้งหมดThe full history

    ปิด Current period only แล้วดู Daily VWAP กับ band ของทุกวัน และ Week VWAP ของสัปดาห์ก่อนๆSwitch Current period only off: the Daily VWAP and its band for every day, and the Week VWAP for earlier weeks.

  2. กราฟเปล่าA bare chart

    ปิด Line labels เมื่อจำสีของแต่ละเส้นได้แล้ว ขอบขวาจะโล่งSwitch Line labels off once you know the colours: the right edge clears.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • เส้นหายไปเมื่อวานนี้Yesterday's line is gone

    ไม่ใช่ข้อผิดพลาด Current period only ซ่อนเส้นของวันที่จบแล้ว ปิดสวิตช์นี้ถ้าต้องการย้อนดูNot a fault: Current period only hides the finished days. Switch it off to look back.

  • ป้ายซ้อนกันTags overlap

    เมื่อเส้นอยู่ใกล้กัน ป้ายที่ขอบขวาจะซ้อนกัน เช่นต้นสัปดาห์ที่ Week VWAP เกือบเท่ากับ Daily VWAP ปิดป้ายของ SD band ก่อนถ้าแน่นเกินไปLines close together stack their tags, as early in the week when the Week VWAP nearly equals the Daily VWAP. Switch the SD band tags off first if it crowds.

  • export ไม่ได้วาดอะไรThe export draws nothing

    Data Window export มีไว้ให้สคริปต์อื่นอ่าน ถ้ายังไม่มีอะไรต่อไว้ ให้ปิดไว้The Data Window export is for another script to read; leave it off until something is wired to it.

ส่วนที่ 6Part 6

Alerts

1โมดูลนี้คืออะไรWhat it is

Multi-Period VWAP ส่ง alert ผ่าน alert() สวิตช์ Alerts ในหมวด Modules ปิดไว้ตามค่าเริ่มต้น เปิดแล้วให้สร้าง alert บน TradingView ครั้งเดียว: Condition -> Multi-Period VWAP [Arxon Edge] -> Any alert() function call เหตุการณ์ที่จะส่งเลือกในหมวด Alerts · VWAP มีสองแบบ Daily VWAP cross เมื่อราคาปิดข้าม Daily VWAP และ SD band reached เมื่อราคาแตะ band ชั้นที่เลือก แล้วพร้อมส่งใหม่เมื่อราคาปิดกลับเข้ามาใน band ราคาที่ปิดอยู่นอก band ต่อเนื่องจึงได้ alert เดียวMulti-Period VWAP alerts through alert(). The Alerts switch under Modules ships off; once it is on, create one alert on TradingView: Condition -> Multi-Period VWAP [Arxon Edge] -> Any alert() function call. Which events fire is chosen under Alerts · VWAP, two kinds: Daily VWAP cross, when price closes through the Daily VWAP, and SD band reached, when price touches the selected band; it re-arms once price closes back inside, so price that keeps closing beyond the band gives one alert.

ข้อความแบบปกติหน้าตาแบบนี้ [MPVWAP] XAUUSD 5 · Crossed above Daily VWAP @ 3990.120 · above VWAP คือคำนำหน้า สินทรัพย์ ไทม์เฟรม เหตุการณ์ ราคา แล้วตามด้วยฝั่งที่ราคาปิดเทียบกับ Daily VWAP ทุกเหตุการณ์ตัดสินตอนแท่งปิดเท่านั้น กราฟด้านล่างเปิด Alerts, Daily VWAP cross, SD band reached และ SD2 ไว้ (เฉพาะการ์ดนี้) รายการใต้กราฟคือข้อความที่จะได้รับA prose message looks like [MPVWAP] XAUUSD 5 · Crossed above Daily VWAP @ 3990.120 · above VWAP: the prefix, symbol, timeframe, event and price, then the side of the Daily VWAP price closed on. Every event is judged at the bar close. The chart below has Alerts, Daily VWAP cross, SD band reached and SD2 on (on this card only); the list under it is the messages you would receive.

2อ่านบนกราฟยังไงReading it on the chart

  • จุดสีส้มบนกราฟ คือแท่งที่มี alert กดรายการในบันทึกเพื่อไปที่แท่งนั้นThe orange dots on the chart are bars with an alert; press an entry in the log to jump to its bar.
  • Crossed above / below Daily VWAP ราคาตามหลัง @ คือราคาปิดของแท่งนั้น Reached VWAP +2σ / -2σ band ราคาตามหลัง @ คือระดับของ band ที่แตะCrossed above / below Daily VWAP: the price after @ is the bar's close. Reached VWAP +2σ / -2σ band: the price after @ is the band level touched.
  • บริบท above VWAP เมื่อราคาปิดเหนือ Daily VWAP มิฉะนั้น below VWAPThe context: above VWAP with the close above the Daily VWAP, otherwise below VWAP.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

Alertsรูปแบบข้อความMessage format5
Alerts · VWAPเหตุการณ์Events2

4ทดลองปรับค่าเองTry it

  1. ดู JSONSee the JSON

    เปิด JSON payload แล้วอ่านข้อความในบันทึกSwitch on JSON payload and read the log.

  2. ชั้นนอกสุดThe outer band

    เปลี่ยนเป็นชั้น 3 รายการ Reached จะน้อยลงมาก เพราะราคาแตะ ±3σ ไม่บ่อยSwitch to band 3: far fewer Reached entries, since price seldom touches ±3σ.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • alert ไม่ได้ขึ้นกับสิ่งที่วาดAlerts do not follow what is drawn

    alert คำนวณจาก Daily VWAP ตาม Anchor เสมอ ถึงจะปิด Daily VWAP, ปิด band หรืออยู่ในโหมด Black Tide Rituals ที่ซ่อน band ชั้นนั้นไว้ alert ก็ยังส่ง ข้อความยังเขียนว่า Daily VWAP แม้ Anchor จะเป็น WeekAlerts always work from the Daily VWAP by its Anchor. With the Daily VWAP off, the bands off, or the Black Tide Rituals mode hiding that band, they still fire, and the message still says Daily VWAP even with the Anchor on Week.

  • สร้าง alert ครั้งเดียวOne alert covers it

    ไม่ต้องสร้าง alert แยกต่อเหตุการณ์ ทุกอย่างที่ติ๊กไว้ส่งผ่าน Any alert() function call ตัวเดียว ถ้าเปลี่ยนการตั้งค่าหลังสร้าง alert ต้องสร้างใหม่ alert เดิมใช้ค่าตอนที่สร้างNo alert per event: everything ticked comes through the one Any alert() function call alert. Settings changed after creating it need a new alert; the old one keeps the settings it was created with.

  • แตะแล้วส่งซ้ำเมื่อไหร่When a touch repeats

    หลังแตะ band แล้ว ราคาต้องปิดกลับเข้ามาข้างในก่อนจึงส่งได้อีก ราคาที่ปิดอยู่นอก band หลายแท่งติดกันได้ alert เดียว ส่วนแท่งที่แค่ไส้เทียนแตะแล้วปิดกลับเข้ามา จะพร้อมส่งใหม่ทันที แท่งถัดไปที่แตะจึงส่งอีกAfter a touch, price must close back inside before the band can alert again: price closing beyond the band for many bars gives one alert, while a bar that only wicks to it and closes back inside re-arms at once, so the next touch alerts again.

อ้างอิงReference

การตั้งค่าทั้งหมดAll settings

ทุกช่องตั้งค่าของ v1.6.1 เรียงตามหน้าตั้งค่าบน TradingView ช่องที่มีจุดทอง เปลี่ยนแล้วกราฟเปลี่ยนตาม กด (i) เพื่ออ่านคำอธิบายของช่องนั้นEvery input of v1.6.1, in the order TradingView shows them. Inputs with a gold dot change the chart; press (i) for an input’s description.