OPEN-SOURCE SCRIPT
Daily close statistics

This indicator provides users with a summary of daily close statistics based on either the daily open to close or the NY open to daily close. Users also have the ability to add conditional filters to see how the market has closed historically when certain conditions are true.
Massive thanks to tradeforopp for his invaluable help and for the YouTube videos showing how to calculate these kinds of statistics!
Key Features:
Previous Day and Week Levels:
Displays previous day and week high, low, and 50% Fibonacci levels for easy reference.
Optional visibility for these levels via input toggles.
Trading Session Data:
Visualizes key trading session levels such as New York, London, and Asia, including max/min price ranges and Fibonacci midpoints.
Customizable session time periods and colours.
Time-Based Open Levels:
Highlights price levels at specific times, such as the midnight open and 8am open, with customizable line styles and colours.
Statistical Filter Functionality:
Allows for comparison of price levels using filters. The indicator tracks and displays daily close statistics if the first filter level is above the second filter level. For example, if filter level 1 is the previous day low and filter level 2 is the Asian high, the indicator will return daily close statistics for all instances where that condition is met
Customizable User Inputs:
Users can select which levels and session ranges to display and customize their appearance.
Time zone and label options are available for user flexibility.
Massive thanks to tradeforopp for his invaluable help and for the YouTube videos showing how to calculate these kinds of statistics!
Key Features:
Previous Day and Week Levels:
Displays previous day and week high, low, and 50% Fibonacci levels for easy reference.
Optional visibility for these levels via input toggles.
Trading Session Data:
Visualizes key trading session levels such as New York, London, and Asia, including max/min price ranges and Fibonacci midpoints.
Customizable session time periods and colours.
Time-Based Open Levels:
Highlights price levels at specific times, such as the midnight open and 8am open, with customizable line styles and colours.
Statistical Filter Functionality:
Allows for comparison of price levels using filters. The indicator tracks and displays daily close statistics if the first filter level is above the second filter level. For example, if filter level 1 is the previous day low and filter level 2 is the Asian high, the indicator will return daily close statistics for all instances where that condition is met
Customizable User Inputs:
Users can select which levels and session ranges to display and customize their appearance.
Time zone and label options are available for user flexibility.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.