OPEN-SOURCE SCRIPT
ที่อัปเดต: VolProfex Volatility Time Window Analyzer

VolProfex Volatility Time Window Analyzer (VPX VTWA) analyzes intraday volatility across user-defined time windows within a trading session. It displays a table ranking windows by average and median move size (price % or ATR multiples), using historical data over a lookback period, with optional trend quality filtering out choppy periods using Directional Efficiency Ratio (Kaufman ER).
Session
Calculation
Trend Quality Filter
Consolidation
Display
Session
- Session (HHMM-HHMM): Defines trading session in exchange local time (e.g., 0930-1600 for NYSE/NASDAQ).
- Session Timezone: Selects timezone handling DST automatically (e.g., America/New_York).
Calculation
- Analysis Window (min): Time slot size for table display (options: 5,10,15,30,60,120,240).
- Intrabar Resolution (min): Lower TF for accurate intrabar data (options: 1,2,3,5,10,15,30); smaller = better precision, longer load.
- Lookback Days: Recent days analyzed (1-5000, default 1000).
- Move Method: High-Low Range (absolute) or Open-to-Close (directional).
- ATR Normalisation: ON shows moves as ATR multiples for regime-independent comparison.
- ATR Period: ATR lookback (1-200, default 14).
Trend Quality Filter
- Enable Trend Quality Filter: Excludes choppy windows based on efficiency ratio.
- Min Trend Quality (%): Threshold (0-100, default 30); higher = stricter directional moves.
Consolidation
- Enable Consolidation: Shows top N individually, groups rest.
- Show Top N Individually: Highest-vol windows at full detail (1-100, default 10).
- Group Remaining Into (min): Block size for lower-vol averages (options: 5,10,15,30,60,120).
Display
- Highlight Top N Rows: Green highlight count (1-10, default 3).
- Table Position: Corner placement.
- Text Size: Table font (Tiny,Small,Normal,Large).
Release Note
Added "Volume mode", which sorts the timeframes by trading volume.Added "Warning label", when intrabar count exceeds 100 000 (max Tradingview limit).
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน