OPEN-SOURCE SCRIPT
Day Of Week Price Distribution [LuxAlgo]

The Day of Week Price Distribution provides a snapshot of the distribution of closing prices for each day of the week over the last few weeks selected by the user. It displays a box plot with the IQR (interquartile range) box, the median, and all the closing prices as dots. Hovering over each dot reveals key information. There is also a dashboard with core metrics of the data for the selected period.
🔶 USAGE

Using the tool is pretty straightforward. Users must select the number of weeks (10 by default) and the box plot spacing (20 by default) to match the desired visual.
This is a unique way to see the data represented on the chart. It allows you to understand the price distribution at a glance.
Each box represents the price for each day of the week and displays the following elements:
Traders can easily detect outliers, which are prices far from their respective boxes.

This chart allows us to compare the price distribution for different window parameters. As we can see, the more data points that are used, the more uniform each day becomes.
The dashboard displays the following core metrics:
🔶 SETTINGS
🔹 Dashboard
🔹 Style
🔶 USAGE
Using the tool is pretty straightforward. Users must select the number of weeks (10 by default) and the box plot spacing (20 by default) to match the desired visual.
This is a unique way to see the data represented on the chart. It allows you to understand the price distribution at a glance.
Each box represents the price for each day of the week and displays the following elements:
- Box: Represents the data's IQR, which is delimited by the 25th and 75th percentiles.
- The line represents the median, or the 50th percentile.
- Dots represent each data point; these are the closing prices for each day. Hovering over the dots displays the closing price, change in price, volume, and date for that day.
Traders can easily detect outliers, which are prices far from their respective boxes.
This chart allows us to compare the price distribution for different window parameters. As we can see, the more data points that are used, the more uniform each day becomes.
The dashboard displays the following core metrics:
- Highest price: Highest price in the dataset
- Lowest price: Lowest price in the dataset
- Most bullish delta: Largest price increase from open to close
- Most bearish delta: Largest price decrease from open to close
- Larger volume: Day with the highest volume
- Smaller volume: Day with the lowest volume
🔶 SETTINGS
- Window: Select the number of weeks from which to gather data.
- Spacing: Select the spacing for the box plot. Larger values will create larger boxes.
🔹 Dashboard
- Dashboard: Enable or disable the dashboard.
- Position: Select the dashboard location.
- Size: Select the dashboard size.
🔹 Style
- Bullish: Select a color for bullish prices.
- Bearish: Select a color for bearish prices.
- IQR Area: Select a color for the IQR area. Enable the "Auto" feature to choose the default color.
- Median: Select the median color. Enable the "Auto" feature to choose the default color.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
All content & scripts provided by LuxAlgo are for educational purposes only and are not financial advice.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
All content & scripts provided by LuxAlgo are for educational purposes only and are not financial advice.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.