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 de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.