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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.