อินดิเคเตอร์สำหรับ TradingView · แสดงในหน้าต่างของตัวเองTradingView indicator · draws in its own pane
Cumulative Volume Delta v1.0.0
อินดิเคเตอร์นี้วาด Cumulative Volume Delta (CVD) เป็นแท่งเทียนในหน้าต่างใต้กราฟราคา แต่ละแท่งของกราฟถูกอ่านจากไทม์เฟรมย่อย volume ของแท่งย่อยที่ปิดขึ้นนับเป็นฝั่งซื้อ ปิดลงนับเป็นฝั่งขาย ผลต่างของสองฝั่งคือ เดลต้า ของแท่งนั้น แล้วบวกสะสมเป็นยอดรวมที่เริ่มนับใหม่จาก 0 ทุกต้นช่วง (ค่าเริ่มต้นรายวัน) คำนวณแบบเดียวกับที่ TradingView อธิบาย CVD ในตัวของมัน มีสองรุ่นจากโค้ดชุดเดียวกัน: CVD+ ใช้ฟรี มีแท่ง CVD เส้นเฉลี่ย เครื่องหมายขัดแย้ง และ Divergence ส่วน CVD Pro เพิ่มเครื่องมือโครงสร้างที่ใช้กับราคามาใช้กับ volume: Consolidation, Reaction Levels, Market Structure และ Treasure Box พร้อม alert ต้องใช้กราฟที่มีข้อมูล volume กราฟทุกอันในหน้านี้เป็นกราฟจริงที่กดได้ ราคาอยู่ด้านบน หน้าต่าง CVD อยู่ด้านล่าง เลื่อนเมาส์ไปบนแท่งไหน ค่า CVD ของแท่งนั้นจะแสดงในหน้าต่าง กด ตั้งค่า เพื่อเปิดแผงตั้งค่าแบบเดียวกับบน TradingViewThis indicator draws Cumulative Volume Delta (CVD) as candles in a pane under the price chart. Each chart bar is read from a lower timeframe: the volume of the intrabars that closed up counts as buying, the volume of those that closed down as selling, and the difference is the bar’s delta. The deltas add up into a total that starts again from 0 at the start of each period (each day by default), the way TradingView documents its built-in CVD. Two editions come from one code base: CVD+ is free and has the CVD candles, the average, conflict marks and Divergence; CVD Pro adds the structure tools used on price, run on the volume — Consolidation, Reaction Levels, Market Structure and the Treasure Box — and alerts. It needs volume data. Every chart on this page is live: price on top, the CVD pane below. Move the cursor over a bar to read its CVD in the pane, and press Settings for the same settings you have on TradingView.
iCVD+ กับ CVD Pro ต่างกันตรงไหนCVD+ and CVD Pro
ทั้งสองรุ่นคำนวณ CVD และ Divergence เหมือนกันทุกจุด CVD+ คือ CVD Pro ที่ล็อกค่าของส่วน Pro ไว้ที่ค่าเริ่มต้นและปิดโมดูล Pro ทั้งหมด หัวข้อและช่องตั้งค่าที่มีป้าย Pro ในหน้านี้มีเฉพาะใน CVD Pro กราฟในหน้านี้แสดงค่าเริ่มต้นของ CVD ProBoth editions calculate CVD and Divergence the same way. CVD+ is CVD Pro with every Pro-only setting fixed at its default and the Pro modules off. Parts and settings marked Pro on this page are in CVD Pro only. The charts here show CVD Pro’s defaults.
| สิ่งที่มีWhat it has | CVD+ | CVD Pro |
|---|---|---|
| แท่ง CVD เส้น CVD MA เส้นศูนย์CVD candles, CVD MA, zero line | ✓ | ✓ |
| Anchor period, Continuous, ไทม์เฟรมย่อยเองAnchor period, Continuous, custom intrabar timeframe | ✓ | ✓ |
| เครื่องหมายขัดแย้ง (Delta conflict)Delta conflict marks | ✓ | ✓ |
| Divergence แบบ Regular และ Hidden บนหน้าต่างและบนราคาRegular and hidden divergence, in the pane and on price | ✓ | ✓ |
| Divergence ที่กำลังก่อตัวForming divergence | — | ✓ |
| สี CVD MA ตามสถานะ ขึ้น / ลง / ทรง และป้ายท้ายเส้นCVD MA bull / bear / flat color and its badge | — | ✓ |
| Consolidation, Reaction Levels, Market Structure, Treasure BoxConsolidation, Reaction Levels, Market Structure, Treasure Box | — | ✓ |
| AlertsAlerts | — | ✓ |
| ค่าใน Data WindowData Window values | 10 | 13 |
ส่วนที่ 1Part 1
แท่ง CVD และจุดรีเซ็ตCVD candles and the reset
1โมดูลนี้คืออะไรWhat it is
แต่ละแท่งของกราฟถูกอ่านจากไทม์เฟรมย่อย (กราฟนาทีและชั่วโมงใช้แท่ง 1 นาที กราฟรายวันใช้ 5 นาที กราฟวินาทีใช้ 1 วินาที ที่เหลือใช้ 1 ชั่วโมง) volume ของแท่งย่อยที่ปิดสูงกว่าเปิดนับเป็นฝั่งซื้อ ปิดต่ำกว่าเปิดนับเป็นฝั่งขาย ถ้าเปิดเท่ากับปิด ดูจากราคาปิดของแท่งย่อยก่อนหน้า ผลต่างระหว่างฝั่งซื้อกับฝั่งขายคือเดลต้าของแท่ง ค่าสูงสุดและต่ำสุดที่เดลต้าวิ่งไปถึงระหว่างแท่งกลายเป็นไส้ของแท่ง CVDEach chart bar is read from a lower timeframe (1 minute on minute and hour charts, 5 minutes on daily, 1 second on seconds charts, 1 hour otherwise). The volume of an intrabar that closed above its open counts as buying, below its open as selling; when open and close are equal, the intrabar is compared with the previous one’s close. Buying less selling is the bar’s delta, and the highest and lowest the delta reached inside the bar become the CVD candle’s wicks.
เดลต้าของทุกแท่งบวกสะสมเป็นยอดรวม ซึ่งเริ่มจาก 0 ใหม่ทุกต้นช่วงของ Anchor period (ค่าเริ่มต้น 1 วัน) แท่ง CVD เป็นสีเขียวเมื่อยอดรวมเพิ่มขึ้นในแท่งนั้น สีแดงเมื่อลดลง Continuous ไม่รีเซ็ตเลย เป็นยอดรวมต่อเนื่องเส้นเดียว เส้นจุดที่ระดับ 0 คือเส้นศูนย์The deltas add up into a total that starts again from 0 at the start of each Anchor period (1 day by default). A CVD candle is green when the total rose on the bar, red when it fell. Continuous never resets and runs one unbroken total. The dotted line at 0 is the zero line.
2อ่านบนกราฟยังไงReading it on the chart
- แท่ง CVD ตัวแท่งคือยอดรวมตอนเปิดถึงตอนปิดแท่ง ไส้คือจุดสูงสุดต่ำสุดที่เดลต้าไปถึงระหว่างแท่ง แท่งเขียวยาวคือฝั่งซื้อชนะมากในแท่งนั้นCVD candle the body runs from the total at the open to the total at the close; the wicks are the highest and lowest the delta reached inside the bar. A long green body is a bar buying won by a wide margin
- จุดรีเซ็ต แท่งแรกของแต่ละวันเริ่มจาก 0 ระดับของ CVD จึงเทียบกันได้ภายในวันเดียวกันเท่านั้นThe reset the first bar of each day starts from 0, so CVD levels compare only within the same day
- ยอดรวมเหนือ 0 ทั้งวันฝั่งซื้อมากกว่า ใต้ 0 ฝั่งขายมากกว่าAbove 0 buying has outweighed selling so far in the period; below 0, selling has
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.
CVDช่วงรีเซ็ตและไทม์เฟรมย่อยThe reset and the intrabar timeframe3
ยอดรวมเริ่มจาก 0 ทุกต้นช่วงนี้ ในตัวอย่างเลือกได้ 1 วัน และ 1 สัปดาห์The total resets to 0 at the start of each period. The demo offers 1 day and 1 week.
ไม่สนใจ Anchor period ยอดรวมต่อเนื่องเส้นเดียว ทุกโมดูลก็อ่านต่อเนื่องข้ามวันด้วยIgnores the anchor: one unbroken total, and every module reads across days.
เลือกไทม์เฟรมย่อยเอง ต่ำกว่าอ่านแต่ละแท่งละเอียดกว่าแต่ครอบคลุมประวัติน้อยกว่า สูงกว่าครอบคลุมมากกว่าแต่ละเอียดน้อยกว่า กราฟในหน้านี้ใช้แท่ง 1 นาทีเสมอPicks the intrabar timeframe yourself. Lower reads each bar more precisely but covers fewer bars; higher covers more history, less precisely. The charts here always use 1-minute intrabars.
Appearanceสีของแท่งและเส้นศูนย์Candle colors and the zero line2
สีของตัวแท่ง ไส้ และขอบ แยกแท่งขึ้นและแท่งลงBody, wick and border colors, up and down.
สีของเส้นจุดที่ระดับ 0Color of the dotted line at 0.
4ทดลองปรับค่าเองTry it
- ยอดรวมต่อเนื่องOne unbroken total
เปิด Continuous แล้วดูว่า CVD ไม่กลับไปที่ 0 ตอนต้นวันอีกSwitch Continuous on and watch CVD stop returning to 0 at each day’s start.
- รีเซ็ตรายสัปดาห์A weekly reset
ตั้ง Anchor period เป็น 1 สัปดาห์ ยอดรวมสะสมทั้งสัปดาห์Set the Anchor period to 1 week: the total runs through the week.
5จุดที่มักเข้าใจผิดCommon pitfalls
- ระดับของ CVD ข้ามวันเทียบกันไม่ได้CVD levels do not compare across days
ทุกวันเริ่มจาก 0 ค่า 20K เมื่อวานกับ 20K วันนี้ไม่ได้เป็นระดับเดียวกัน ถ้าต้องการเทียบข้ามวัน ใช้ ContinuousEach day starts at 0, so 20K yesterday and 20K today are not the same level. Use Continuous to compare across days.
- ทองและ forex ใช้ tick volumeGold and forex use tick volume
สินทรัพย์ที่ไม่มีตลาดกลาง เช่น XAUUSD ของโบรกเกอร์ volume คือจำนวนครั้งที่ราคาเปลี่ยน ไม่ใช่จำนวนสัญญาที่ซื้อขายจริง CVD ยังอ่านทิศของแรงได้ แต่ตัวเลขไม่ใช่ปริมาณจริงOn instruments with no central exchange, such as a broker’s XAUUSD, volume is the number of price changes, not contracts traded. CVD still reads which side pressed, but the numbers are not real size.
- ประวัติย้อนหลังจำกัดHistory is limited
ไทม์เฟรมย่อยมีข้อมูลย้อนหลังน้อยกว่ากราฟหลัก แท่งเก่ากว่าที่ข้อมูลไทม์เฟรมย่อยมีถึงจะมีเดลต้าเป็น 0 ถ้าสินทรัพย์ไม่มี volume เลย อินดิเคเตอร์จะหยุดพร้อมข้อความแจ้งThe lower timeframe holds less history than the chart, so bars older than its data have a delta of 0. On a symbol with no volume at all, the indicator stops with a message.
ส่วนที่ 2Part 2
CVD MA และการอ่านต่อแท่งCVD MA and per-bar readings
1โมดูลนี้คืออะไรWhat it is
CVD MA คือเส้น EMA บน CVD ความยาวตาม Smoothing length (ค่าเริ่มต้น 20) ใน CVD+ เป็นสีเทาสีเดียว ใน CVD Pro Pro เส้นเปลี่ยนสีตามสถานะ: Bull ขณะ CVD อยู่เหนือเส้น Bear ขณะอยู่ใต้เส้น และ Flat สีเทาเมื่อเส้นแทบไม่ขยับ (ช่วงที่ CVD ตัดไปมา การอ่านเหนือหรือใต้เส้นจึงมีความหมายน้อย) ท้ายเส้นมีป้าย เช่น "CVD MA 20 ▲"The CVD MA is an EMA of CVD, Smoothing length bars long (20 by default). In CVD+ it is one gray line. In CVD Pro Pro it takes its state’s color: Bull while CVD is above it, Bear while below, and gray Flat while the line barely moves — where CVD chops back and forth across it and above / below means little. A badge such as “CVD MA 20 ▲” sits at its right end.
เครื่องหมายขัดแย้ง (Delta conflict) เป็นสี่เหลี่ยมข้าวหลามตัดเล็ก ๆ บนแท่งที่แท่งราคากับแท่ง CVD ไปคนละทาง ใต้แท่ง: ราคาปิดลงแต่ฝั่งซื้อมากกว่า เหนือแท่ง: ราคาปิดขึ้นแต่ฝั่งขายมากกว่า ปิดไว้ตามค่าเริ่มต้น นอกจากนี้ทุกแท่งส่งค่าออกไปที่ Data Window ให้สคริปต์อื่นอ่านได้ เช่น Bar delta, Up / Down volume และ Delta ratio (−1 ถึง +1 สัดส่วนว่าแท่งนั้นซื้อหรือขายฝั่งเดียวแค่ไหน)Delta conflict marks are small diamonds on bars where the price candle and the CVD candle disagree: below the candle, price closed down on net buying; above it, price closed up on net selling. Off by default. Every bar also sends values to the Data Window for other scripts to read — Bar delta, Up and Down volume, and the Delta ratio (−1 to +1: how one-sided the bar’s buying or selling was).
2อ่านบนกราฟยังไงReading it on the chart
- CVD MA เขียวขณะ CVD อยู่เหนือ แดงขณะอยู่ใต้ เทาขณะทรง ProCVD MA green while CVD is above it, red while below, gray while flat Pro
- ป้าย CVD MA 20 ▲ ▲ CVD อยู่เหนือเส้น ▼ อยู่ใต้เส้น มีคำว่า flat เมื่อเส้นทรง ProCVD MA 20 ▲ badge ▲ CVD above the line, ▼ below, “flat” added while it is flat Pro
- เครื่องหมายขัดแย้ง ใต้แท่ง: ราคาลงแต่ซื้อสุทธิ เหนือแท่ง: ราคาขึ้นแต่ขายสุทธิConflict mark below: price down on net buying; above: price up on net selling
- ปิดไว้ตามค่าเริ่มต้น เครื่องหมายขัดแย้งOff by default: conflict marks
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.
Filterเส้นเฉลี่ย สถานะทรง และ delta ratioThe average, its flat state, and the delta ratio3
ความยาวของ EMA ที่วาดบน CVD ในตัวอย่างเลือกได้ 10, 20 และ 50Length of the EMA drawn over CVD. The demo offers 10, 20 and 50.
ทาเส้นเป็นสีเทาเมื่อเส้นขยับน้อยกว่าค่านี้ วัดเป็นจำนวน CVD step (ขนาดเฉลี่ยของเดลต้าหนึ่งแท่ง) ต่อแท่ง ตลอดจำนวนแท่งที่ตั้ง อ่านบนยอดรวมต่อเนื่อง การรีเซ็ตจึงไม่นับเป็นการขยับGreys the line while it moves less than this, in CVD steps (the average size of one bar’s delta) per bar, over the Bars. Read on the unbroken total, so a reset never counts as a move.
แท่งนับเป็นซื้อฝั่งเดียวเมื่อ delta ratio ถึงค่านี้ ขายฝั่งเดียวเมื่อต่ำถึงค่าลบของมัน ใช้กับค่า Delta bull / Delta bear ใน Data Window เท่านั้น ไม่เปลี่ยนสิ่งที่วาดA bar counts as one-sided buying at or above this delta ratio, one-sided selling at or below its negative. Only feeds Delta bull / Delta bear in the Data Window; nothing drawn changes.
Appearanceเส้นเฉลี่ยและเครื่องหมายThe line and the marks4
เปิดเครื่องหมายขัดแย้งและเลือกสีSwitches the conflict marks on and sets their color.
สีของเส้นตามสถานะ ปิดแล้วใช้สีเดียวในช่อง CVD MAThe line’s state colors; off, the single CVD MA color.
สีเดียวของเส้น (ใช้เมื่อปิดสีตามสถานะ และเป็นสีของ CVD+) และความหนาThe line’s single color (used with state colors off, and in CVD+) and its width.
ป้ายท้ายเส้น และระยะเป็นจำนวนแท่งเลยแท่งสุดท้ายThe badge at the line’s end, and how many bars past the last candle it sits.
4ทดลองปรับค่าเองTry it
- แท่งที่ราคากับแรงไม่ตรงกันBars where price and pressure disagree
เปิดเครื่องหมายขัดแย้ง แล้วดูว่ามักเกิดตรงไหนSwitch the conflict marks on and see where they gather.
- เส้นเฉลี่ยที่ช้าลงA slower average
ตั้ง Smoothing length เป็น 50 สถานะเปลี่ยนน้อยครั้งลงSet Smoothing length to 50: the state changes less often.
5จุดที่มักเข้าใจผิดCommon pitfalls
- เส้นเฉลี่ยกระโดดตอนต้นวันThe average jumps at the reset
CVD กลับไปที่ 0 ตอนรีเซ็ต เส้นเฉลี่ยจึงตามลงมาหลายแท่ง ช่วงต้นวันการอ่านเหนือหรือใต้เส้นจึงมีความหมายน้อย สถานะ Flat อ่านจากยอดรวมต่อเนื่องจึงไม่ถูกการรีเซ็ตหลอกCVD returns to 0 at the reset and the average takes several bars to follow, so early in the day above / below means little. The Flat state is read on the unbroken total, so the reset does not fool it.
- ขัดแย้งไม่ใช่สัญญาณกลับตัวA conflict is not a reversal signal
แค่บอกว่าในแท่งนั้นราคากับแรงซื้อขายไปคนละทาง ใช้ประกอบกับบริบทอื่นIt only says price and the buying and selling went different ways on that bar. Read it with the rest of the chart.
ส่วนที่ 3Part 3
Divergence
1โมดูลนี้คืออะไรWhat it is
โมดูลนี้หาจุดกลับตัวของ CVD (ยอดและก้น) แล้วเทียบกับจุดกลับตัวก่อนหน้าชนิดเดียวกัน ฝั่งราคาใช้สวิงของราคาเองรอบจุดกลับตัว (Low ต่ำสุดหรือ High สูงสุดในช่วงแท่ง before และ after) Regular: ราคาทำจุดสุดใหม่แต่ CVD ไม่ทำตาม คือแรงซื้อขายที่หนุนการวิ่งจางลง Hidden: ราคายังรักษาโครงสร้างแนวโน้ม แต่ CVD ทำจุดสุดใหม่ คือการย่อที่ถูกดูดซับ ค่าเริ่มต้นเปิดแค่ RegularThis module finds CVD’s turns (peaks and troughs) and compares each with the previous turn of the same kind. The price side is price’s own swing around the turn — the lowest low or highest high within the before and after bars. Regular: price makes a new extreme and CVD does not, the volume behind the move fading. Hidden: price holds its trend structure while CVD makes the new extreme, a pullback absorbed. Only Regular is on by default.
จุดกลับตัวรู้ได้หลังแท่ง after ปิดครบ (ค่าเริ่มต้น 5 / 5) ไดเวอร์เจนซ์จึงปรากฏช้ากว่าจุดกลับตัวเท่านั้นแล้ววาดย้อนกลับไป นี่คือวิธีหาจุดกลับตัว ไม่ใช่การ repaint สองจุดเทียบกันเมื่ออยู่ห่างกันในช่วง min / max (5 / 60) และอยู่ใน Anchor period เดียวกัน เปิด Also draw on the price chart เพื่อวาดซ้ำบนกราฟราคา ใน CVD Pro Pro มี Show forming: ขณะที่จุดกลับตัวยังรอแท่ง after จะวาดเส้นจุดสีเทาพร้อมป้าย "Bull?" / "Bear?" ซึ่งขยับได้และหายไปถ้าเงื่อนไขไม่เป็นจริงแล้วA turn is known only once its after-bars have closed (5 / 5 by default), so a divergence appears that many bars after the turn and is drawn back at it. That is how turns are found, not repainting. Two turns are compared when they sit min / max apart (5 / 60) and in the same Anchor period. Also draw on the price chart draws each one again on price. CVD Pro Pro adds Show forming: while a turn waits for its after-bars, a dotted gray line and a “Bull?” / “Bear?” label show the divergence it would make; it moves, and goes if the comparison stops holding.
2อ่านบนกราฟยังไงReading it on the chart
- Bull เส้นและป้ายเขียวใต้ก้นของ CVD: ไดเวอร์เจนซ์ขาขึ้นแบบปกติBull a green line and tag under CVD’s trough: regular bullish divergence
- Bear เส้นและป้ายแดงเหนือยอดของ CVD: ไดเวอร์เจนซ์ขาลงแบบปกติBear a red line and tag over CVD’s peak: regular bearish divergence
- H สีเดียวกันแต่จางกว่า: ไดเวอร์เจนซ์แบบซ่อนH the same colors, paler: hidden divergence
- บนกราฟราคา เส้นเชื่อมสวิงราคาสองจุดที่ใช้เทียบ ป้ายอยู่ที่จุดใหม่On price a line between the two price swings compared, the tag at the newer one
- Bull? / Bear? / H? เส้นจุดสีเทา: กำลังก่อตัว ยังไม่ยืนยัน ProBull? / Bear? / H? a dotted gray line: forming, not confirmed Pro
- ปิดไว้ตามค่าเริ่มต้น Hidden, วาดบนกราฟราคาOff by default: Hidden, drawing on price
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.
Modulesสวิตช์ของโมดูลModule switch2
เปิดปิดโมดูล ปิดแล้วเส้น ป้าย และ alert ไดเวอร์เจนซ์หายทั้งหมดSwitches the module; off, its lines, tags and alerts go.
ซ่อนบนไทม์เฟรมกราฟที่สูงกว่าค่านี้ ซ่อนการแสดงผลและ alert การคำนวณยังทำงานHides it above this chart timeframe: display and alerts only; the engine keeps running.
Divergenceชนิด จุดกลับตัว และการวาดKinds, turns and drawing5
ชนิดที่หาWhich kinds are found.
จำนวนแท่งที่ต้องอยู่ทั้งสองข้างของจุดกลับตัว after น้อยเร็วกว่าแต่มีสัญญาณรบกวนมากกว่าBars needed on each side of a turn; fewer after-bars is faster and noisier.
ระยะห่างของสองจุดกลับตัวที่จะนำมาเทียบ สวิงราคาสองจุดก็ต้องห่างกันอย่างน้อยค่า minHow far apart two turns may be to be compared; the two price swings must also sit at least min apart.
วาดทุกไดเวอร์เจนซ์ซ้ำบนกราฟราคาDraws each divergence again on the price chart.
วาดไดเวอร์เจนซ์ที่กำลังก่อตัวเป็นเส้นจุดสีเทาที่แท่งล่าสุดDraws a forming divergence as a dotted gray line on the last bar.
Appearanceสี ความหนา และระยะป้ายColors, width and label gaps4
สี ความหนาของเส้น และขนาดป้าย แบบซ่อนใช้สีเดียวกันแต่จางกว่าColors, line width and label size; hidden divergence uses the same colors, lighter.
ป้ายลอยห่างจากไส้ที่ไกลที่สุดรอบจุดกลับตัวเท่านี้ เป็น CVD stepHow far the label floats beyond the farthest wick around the turn, in CVD steps.
ระยะป้ายบนกราฟราคา เป็นช่วงกว้างเฉลี่ยของแท่งราคาThe label’s gap on the price chart, in average price-bar ranges.
ระยะเพิ่มเมื่อป้ายไดเวอร์เจนซ์อยู่จุดเดียวกับป้าย HH / HL / LH / LL จะได้ไม่ทับกันAdded where a divergence label shares a turn with an HH / HL / LH / LL label, so they do not cover each other.
4ทดลองปรับค่าเองTry it
- ไดเวอร์เจนซ์แบบซ่อนHidden divergence
เปิด Hidden แล้วดูป้าย H ที่จางกว่าSwitch Hidden on and look for the paler H tags.
- ดูบนกราฟราคาOn the price chart
เปิดการวาดบนกราฟราคา แล้วดูสวิงราคาที่ใช้เทียบDraw on price and see the price swings that were compared.
5จุดที่มักเข้าใจผิดCommon pitfalls
- ไดเวอร์เจนซ์มาช้าA divergence arrives late
จุดกลับตัวรู้ได้หลังแท่ง after ปิดครบ เส้นจึงวาดย้อนหลัง และ alert ส่งตอนยืนยันA turn is known only after its after-bars close, so the line is drawn back and the alert fires at the confirmation.
- ไม่เทียบข้ามช่วงรีเซ็ตNo pairs across the reset
เมื่อใช้ Anchor period สองจุดต้องอยู่ในช่วงเดียวกัน คู่ที่คร่อมจุดรีเซ็ตถูกข้าม Continuous ยกเลิกข้อจำกัดนี้With an Anchor period both turns must sit in the same period; pairs across the reset are skipped. Continuous lifts that.
- Forming อาจหายไปForming can vanish
เส้นจุดยังไม่ยืนยัน ถ้าแท่งต่อมาทำให้จุดนั้นไม่เป็นจุดกลับตัว เส้นจะหายไปThe dotted line is unconfirmed: if later bars mean the turn is not one after all, it goes.
ส่วนที่ 4Part 4
กรอบ ConsolidationConsolidation boxes Pro
1โมดูลนี้คืออะไรWhat it is
ตีกรอบช่วงที่ CVD เดินออกข้าง แคบกว่าปกติของสินทรัพย์นี้ในช่วงหลัง วัดเทียบกับช่วงกว้างเฉลี่ยของกรอบเวลาเดียวกันย้อนหลังของมันเอง ไม่มีช่องตั้งความกว้าง กรอบต้องมีอายุครบ Minimum bars (40) จึงวาดและส่ง alert เมื่อ CVD หลุดออกจากกรอบ กรอบหยุดไว้ชั่วคราว ถ้ากลับเข้ามาภายใน Grace bars (6) กรอบเปิดต่อและขยายครอบส่วนที่ออกไป (การเบรกล้มเหลว) การเบรกยืนยันเมื่อออกไปไกลเกินระยะ Confirm หรือครบ Grace bars แล้วยังอยู่นอกกรอบBoxes the stretches where CVD moves sideways, tight for this instrument lately, measured against the average range of its own recent windows; there is no width setting. A box draws and raises alerts once it has lasted Minimum bars (40). When CVD leaves, the box freezes provisionally: back inside within the Grace bars (6) and it reopens, widened to take in the excursion (a failed break). The break confirms when CVD travels the Confirm distance beyond the edge, or the grace runs out with CVD still outside.
เมื่อใช้ Anchor period กรอบต้องเกิดภายในช่วงเดียว และกรอบที่ยังเปิดอยู่จบที่แท่งสุดท้ายของช่วงโดยไม่นับเป็นการเบรก Continuous ยกเลิกข้อจำกัดนี้With an Anchor period a box must form inside one period, and a box still open at the reset ends on the period’s last bar with no break. Continuous lifts both limits.
2อ่านบนกราฟยังไงReading it on the chart
- กรอบที่กำลังก่อตัว สีม่วงอ่อน ยังรับ CVD ต่อForming box pale purple, still taking CVD in
- กรอบที่เบรกแล้ว สีเทา เก็บไว้เป็นบันทึกว่าช่วงนั้นอยู่ตรงไหนBroken box gray, kept as a record of where the range was
- เส้นประกลางกรอบ จุดสมดุลของช่วงDashed midline the range’s equilibrium
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.
ConsolidationการหากรอบFinding a box6
จำนวนแท่งของช่วงที่วัด และจำนวนกรอบเวลาย้อนหลังที่ใช้หาค่าเฉลี่ยเพื่อเทียบBars in the measured range, and how many past windows its average comes from.
ช่วงต้องต่ำกว่าค่าเฉลี่ยของตัวเองแค่ไหน 1.0 คือต่ำกว่าค่าเฉลี่ย ค่าน้อยเข้มขึ้นHow far below its own average the range must sit; 1.0 is anything below average, lower is stricter.
อายุขั้นต่ำก่อนวาดและส่ง alert นับเป็นเวลา ช่วงตลาดปิดจึงนับรวมด้วยHow long a box must last before it draws or alerts, counted in time, so market closes count.
เพดานความสูงของกรอบ เป็น CVD step ปิดไว้ตามค่าเริ่มต้นA ceiling on box height in CVD steps; off by default.
จำนวนแท่งที่ยังกลับเข้ากรอบได้ และระยะที่ยืนยันการเบรกได้ทันทีBars a break can still fail in, and the distance that confirms it at once.
No overlap: กรอบใหม่เกิดได้เมื่อช่วงที่วัดอยู่หลังการเบรกทั้งหมด Merge into zone: ถ้ากรอบใหม่ทับกรอบเดิม กรอบเดิมเปิดต่อและขยายเป็นโซนเดียวNo overlap: a new box forms only once its window sits wholly after the break. Merge into zone: a new box over the old one reopens it as one zone.
ConsolidationการวาดDrawing4
สีของกรอบที่กำลังก่อตัวและที่เบรกแล้วColors of forming and broken boxes.
ขอบบนล่าง และเส้นประกลางกรอบThe top and bottom edges, and the dashed midline.
หลังเบรก การกลับมาที่เส้นกลางภายในจำนวนแท่งนี้นับเป็นการทดสอบซ้ำHow long after a break a return to the midline counts as a retest.
ป้าย Consolidation เหนือกรอบ และจำนวนกรอบที่เก็บไว้The Consolidation label over a box, and how many boxes are kept.
4จุดที่มักเข้าใจผิดCommon pitfalls
- กราฟ 1 ชั่วโมงกับ Anchor รายวันแทบไม่มีกรอบHardly any boxes on 1H with a daily anchor
วันหนึ่งมีราว 23 แท่ง แต่ Window ต้องอยู่ในวันเดียวครบ 50 แท่ง บนไทม์เฟรมสูงใช้ Anchor รายสัปดาห์หรือ ContinuousA day has about 23 bars, but the 50-bar window must sit inside one day. On higher timeframes use a weekly anchor or Continuous.
- การหลุดครั้งแรกยังไม่ใช่การเบรกThe first close outside is not the break
การเบรกยืนยันเมื่อออกไกลพอหรือครบ Grace bars alert ส่งตอนนั้นThe break confirms when CVD goes far enough or the grace bars run out, and the alert fires then.
ส่วนที่ 5Part 5
Reaction Levels Pro
1โมดูลนี้คืออะไรWhat it is
เส้นแนวนอนตรงที่ CVD กลับตัวซ้ำ ๆ เปรียบเหมือนเนคไลน์ของ volume ทุกสวิงที่ยืนยันแล้วของแท่ง CVD ทั้งยอดและก้นนับเป็นหนึ่งครั้ง สวิงที่อยู่ใกล้กันภายใน Zone รวมเป็นระดับเดียว วาดที่ค่าเฉลี่ยของสวิงในระดับนั้น ระดับวาดเมื่อมีครบ 2 ครั้ง และวาดเฉพาะระดับที่ใกล้ CVD ปัจจุบันที่สุดด้านบนและด้านล่าง (ด้านละ 5) ระดับที่ใกล้กันมากวาดเส้นเดียว เลือกระดับที่แข็งแรงที่สุดHorizontal lines where CVD has turned again and again — necklines in the volume. Every confirmed swing of the CVD candle, high or low, is a reaction; swings within the Zone of each other make one level, drawn at their average. A level draws at 2 reactions, and only the nearest above and below the current CVD are drawn (5 each side). Levels very close together draw as one line, the strongest.
เมื่อใช้ Anchor period ทุกระดับล้างตอนรีเซ็ต เพราะ CVD เริ่มจาก 0 ใหม่ ระดับของเมื่อวานจึงไม่มีความหมายแล้ว ระดับจึงเป็นของวันนั้นเท่านั้น เมื่อใช้ Continuous ระดับอยู่จนเงียบไปครบ Expires after (500 แท่ง) การตัดผ่านระดับไม่ได้ลบระดับWith an Anchor period every level clears at the reset — CVD restarts from 0, so yesterday’s values no longer mean anything — and the levels are that day’s own. With Continuous a level stays until it goes quiet for Expires after (500 bars). Crossing a level does not remove it.
2อ่านบนกราฟยังไงReading it on the chart
- เส้นจุดสีม่วง ระดับปฏิกิริยา เริ่มที่ปฏิกิริยาแรกDotted purple line a reaction level, from its first reaction
- RL ×4 จำนวนครั้งที่ CVD กลับตัวที่ระดับนั้น ⇅ กลับตัวมาแล้วทั้งจากด้านบนและด้านล่างRL ×4 how many times CVD turned there; ⇅ it has turned there from both sides
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.
Reaction LevelsสวิงและการนับSwings and counting4
จำนวนแท่งทั้งสองข้างของสวิง สวิงนับได้หลังแท่งขวาปิดครบBars either side of a swing; a swing counts once its right-hand bars have closed.
Swings: ทุกสวิงนับ Returns: CVD ต้องออกห่างระดับก่อนจึงนับครั้งต่อไป Strict returns: ต้องออกห่างกว่านั้น Custom: ตั้งเอง (ในตัวอย่างยังไม่มี Custom)Swings: every swing counts. Returns: CVD must leave the level before the next swing there counts. Strict returns: leave further. Custom: set your own (not in the demo).
สวิงต้องใกล้กันแค่ไหนจึงเป็นระดับเดียว เป็นสัดส่วนของช่วงกว้างเฉลี่ยของแท่ง CVDHow close swings must be to make one level, in average CVD-candle ranges.
ระดับหายไปเมื่อไม่มีปฏิกิริยาใหม่นานเท่านี้A level leaves after this many bars with no new reaction.
Reaction LevelsการวาดDrawing4
จำนวนระดับที่วาดด้านบนและด้านล่าง CVD ปัจจุบันHow many levels draw above and below the current CVD.
ระดับที่ใกล้กันกว่านี้วาดเส้นเดียว 0 = ปิดLevels closer than this draw as one line; 0 = off.
ป้าย RL ท้ายเส้น และค่าของระดับในวงเล็บThe RL label at the line’s end, and the level’s value in brackets.
สี ความหนา และแบบเส้นColor, width and style.
4จุดที่มักเข้าใจผิดCommon pitfalls
- ต้นวันยังไม่มีระดับNo levels early in the day
ทุกระดับล้างตอนรีเซ็ต ต้องรอให้ CVD สวิงซ้ำในวันนั้นก่อนEvery level clears at the reset; it takes repeat swings within the day to build new ones.
- ตัดผ่านไม่ได้ทำให้ระดับหายCrossing does not remove a level
ระดับหายเมื่อเงียบไปนานเท่านั้นOnly going quiet ends a level.
ส่วนที่ 6Part 6
Market Structure Pro
1โมดูลนี้คืออะไรWhat it is
ติดป้ายทุกสวิงของแท่ง CVD เทียบกับสวิงชนิดเดียวกันก่อนหน้า ยอดที่สูงกว่ายอดก่อนหน้าคือ HH ต่ำกว่าคือ LH ก้นที่สูงกว่าก้นก่อนหน้าคือ HL ต่ำกว่าคือ LL คือแนวโน้มของแรงซื้อขายเองทีละสวิง Major (Swing length 21) อ่านการเคลื่อนที่หลัก Minor (หนึ่งในสามของนั้น) อ่านจังหวะภายใน สวิงนับได้หลังแท่งยืนยันปิดครบ (5) และไม่ repaint หลังจากนั้นLabels every swing of the CVD candle against the previous one of the same kind: a high above the last high is HH, below it LH; a low above the last low is HL, below it LL — the trend of the buying and selling itself, swing by swing. Major (Swing length 21) reads the moves; Minor (a third of it) the rhythm inside them. A swing counts once its confirmation bars (5) have closed, and never repaints after.
เมื่อใช้ Anchor period การเทียบอยู่ภายในช่วงเดียว ยอดแรกและก้นแรกหลังรีเซ็ตไม่มีป้าย ป้ายล่าสุดของแต่ละฝั่งส่งออกไปที่ Data Window เป็น CVD swing high / low (+1 HH / HL, −1 LH / LL)With an Anchor period swings compare within the period only, so the first high and first low after the reset carry no label. The last label on each side goes to the Data Window as CVD swing high / low (+1 HH / HL, −1 LH / LL).
2อ่านบนกราฟยังไงReading it on the chart
- HH / HL โครงสร้างขาขึ้นของ CVDHH / HL CVD’s rising structure
- LH / LL โครงสร้างขาลงของ CVDLH / LL CVD’s falling structure
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.
Market StructureสวิงและการวาดSwings and drawing4
จำนวนแท่งด้านซ้ายของสวิง Minor ใช้หนึ่งในสาม (7)Bars to the left of a swing; Minor uses a third (7).
จำนวนแท่งหลังสวิงก่อนนับ น้อยรู้เร็วขึ้น และมีสวิงที่แท่งต่อมาอาจแซงมากขึ้นBars after a swing before it counts; fewer is sooner, with more swings a later bar would have overrun.
Major หรือ MinorMajor or Minor.
สี ขนาด และจำนวนป้ายที่เก็บไว้Colors, size, and how many labels are kept.
4จุดที่มักเข้าใจผิดCommon pitfalls
- ป้ายมาช้ากว่าสวิงLabels come after the swing
สวิงรู้ได้หลังแท่งยืนยันปิดครบ ป้ายจึงวาดย้อนกลับไปที่สวิงA swing is known once its confirmation bars close, so the label is placed back on it.
- ไทม์เฟรมสูงกับ Anchor รายวันHigh timeframes with a daily anchor
บนกราฟ 1 ชั่วโมง วันหนึ่งสั้นกว่าสวิง Major ใช้ Minor หรือ Anchor รายสัปดาห์On 1H a day is shorter than a Major swing; use Minor or a weekly anchor.
ส่วนที่ 7Part 7
Treasure Box Pro
1โมดูลนี้คืออะไรWhat it is
กรอบหนึ่งกรอบต่อวันครอบช่วงเวลาคงที่ 19:00–20:00 น. เวลาไทย (12:00–13:00 UTC ไม่มีเวลาออมแสง จึงไม่เลื่อน) สี Citadel Gold ในหน้าต่าง CVD กรอบครอบค่าสูงสุดและต่ำสุดของ CVD ในช่วงนั้น บนกราฟราคาครอบ High และ Low ของราคา กรอบขยายทีละแท่งระหว่างช่วงเวลา และหยุดเมื่อพ้นช่วง วาดแบบเดียวกับกรอบ Consolidation: พื้น ขอบบนล่าง เส้นประกลาง และป้ายOne box a day over a fixed window, 19:00–20:00 Bangkok (12:00–13:00 UTC; Bangkok has no daylight saving, so it never moves), in Citadel Gold. In the CVD pane it spans CVD’s high and low inside the window; on the price chart, price’s high and low. Both grow bar by bar while the window is open and freeze when it closes. Drawn like a Consolidation box: fill, top and bottom edges, a dashed midline and a label.
ค่าเริ่มต้นซ่อนบนกราฟที่สูงกว่า 1 ชั่วโมง เพราะช่วงหนึ่งชั่วโมงเหลือแค่หนึ่งแท่งหรือน้อยกว่าBy default it hides above 1H, where a one-hour window is one bar or less.
2อ่านบนกราฟยังไงReading it on the chart
- กรอบสีทองในหน้าต่าง CVD ช่วงที่ CVD วิ่งระหว่าง 19:00–20:00Gold box in the CVD pane how far CVD ranged between 19:00 and 20:00
- กรอบสีทองบนกราฟราคา ช่วงราคาในเวลาเดียวกันGold box on price the price range in the same window
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.
Modulesสวิตช์ของโมดูลModule switch1
เปิดปิดโมดูล และซ่อนบนไทม์เฟรมที่สูงกว่าค่านี้Switches the module, and hides it above this timeframe.
Treasure Boxช่วงเวลาและการวาดWindow and drawing4
ช่วงเวลาที่กรอบครอบ ตามเขตเวลาที่ตั้ง (ในตัวอย่างคงที่)The window the box covers, in the chosen time zone (fixed in the demo).
สีพื้นของกรอบ (ขอบ เส้นกลาง และป้ายใช้สีเดียวกันแต่เข้มกว่า) และป้าย Treasure BoxThe box’s fill (edges, midline and label take it stronger) and the Treasure Box label.
วาดกรอบที่สองบนกราฟราคาA second box on the price chart.
จำนวนวันที่เก็บกรอบไว้How many days of boxes are kept.
ส่วนที่ 8Part 8
Alerts Pro
1โมดูลนี้คืออะไรWhat it is
มี alert ตัวเดียว สร้าง alert หนึ่งตัวบนสคริปต์ เลือกเงื่อนไข "Any alert() function call" แล้วติ๊กเหตุการณ์ที่ต้องการในกลุ่ม Alerts ทุกเหตุการณ์ในแท่งเดียวมาในข้อความเดียว คั่นด้วย " · " เช่น "CVD Pro · XAUUSD 5m — CVD broke above its consolidation box @ 4012.345" ต้องเปิด Enable alerts ก่อน ค่าเริ่มต้นส่งเมื่อแท่งปิดเท่านั้น เหตุการณ์ตามการซ่อนของโมดูลด้วย CVD+ ไม่มี alertThere is one alert: create one alert on the script with the condition “Any alert() function call” and tick the events you want in the Alerts groups. Every event on a bar arrives in one message, joined with “ · ”, e.g. “CVD Pro · XAUUSD 5m — CVD broke above its consolidation box @ 4012.345”. Enable alerts must be on; by default events fire on bar close only, and they follow each module’s Hide above. CVD+ has no alerts.
2เหตุการณ์ที่เลือกได้The events
- Consolidation Broke above / Broke below (เปิดไว้), Failed break, Midline touched, Midline retestedConsolidation Broke above / Broke below (on), Failed break, Midline touched, Midline retested
- Divergence Regular bullish / bearish, Hidden bullish / bearish, Forming (ส่งตอนแท่งปิดเสมอ ครั้งเดียวต่อจุดกลับตัว)Divergence Regular bullish / bearish, Hidden bullish / bearish, Forming (always on bar close, once per turn)
- Reaction Levels Level formed (ครั้งเดียวต่อระดับ), Level touched (แท่ง CVD ผ่านระดับที่แท่งก่อนหน้าไม่ถึง)Reaction Levels Level formed (once per level), Level touched (the CVD candle trades through a level the bar before did not reach)
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สวิตช์หลักMaster switch2
สวิตช์หลัก ปิดแล้วไม่มีเหตุการณ์ใดส่งMaster switch; off, nothing fires.
เปิด: เหตุการณ์ต้องอยู่ถึงแท่งปิด ปิด: ไดเวอร์เจนซ์ส่งทันทีระหว่างแท่งและอาจหายไปก่อนแท่งปิดOn, an event must survive the bar close; off, divergence events fire intrabar and may un-happen before the close.
4จุดที่มักเข้าใจผิดCommon pitfalls
- alert เดียวพอOne alert is enough
ไม่ต้องสร้างหลายตัว ติ๊กเหตุการณ์ในการตั้งค่า แล้วสร้าง alert ตัวเดียวDo not create one per event: tick the events in the settings and create a single alert.
- เปลี่ยนการตั้งค่าแล้วต้องสร้าง alert ใหม่Recreate the alert after changing settings
alert บน TradingView จำการตั้งค่าตอนสร้างA TradingView alert keeps the settings it was created with.
อ้างอิงReference
การตั้งค่าทั้งหมดAll settings
ทุกช่องตั้งค่าของ CVD Pro v1.0.0 เรียงตามหน้าตั้งค่าบน TradingView ช่องที่มีป้าย Pro มีเฉพาะใน CVD Pro ช่องที่มีจุดทอง เปลี่ยนแล้วกราฟเปลี่ยนตาม กด (i) เพื่ออ่านคำอธิบายของช่องนั้นEvery input of CVD Pro v1.0.0, in the order TradingView shows them. Inputs marked Pro are in CVD Pro only. Inputs with a gold dot change the chart; press (i) for an input’s description.