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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Build your own edge with AI: luxalgo.com
All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Build your own edge with AI: luxalgo.com
All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.