OPEN-SOURCE SCRIPT
Weekly High/Low Day Stats

This TradingView Pine Script (v5) analyzes weekly highs and lows to identify on which day of the week (Monday → Friday) they most frequently occur.
🔎 How it works:
Tracks the weekly highest high and lowest low.
At the end of each week, it records the day of the week when the high and low were set.
Keeps historical data for the last 100 weeks (adjustable).
Displays a table showing:
How many times each day marked the weekly high or weekly low.
The corresponding percentage distribution.
🎯 Use case:
Helps traders understand the weekly timing tendency
Reveals which day is statistically more likely to set the weekly high or weekly low.
Useful for weekly planning and strategies that rely on market structure and timing (e.g., ICT concepts like the "High/Low of the Week").
🔎 How it works:
Tracks the weekly highest high and lowest low.
At the end of each week, it records the day of the week when the high and low were set.
Keeps historical data for the last 100 weeks (adjustable).
Displays a table showing:
How many times each day marked the weekly high or weekly low.
The corresponding percentage distribution.
🎯 Use case:
Helps traders understand the weekly timing tendency
Reveals which day is statistically more likely to set the weekly high or weekly low.
Useful for weekly planning and strategies that rely on market structure and timing (e.g., ICT concepts like the "High/Low of the Week").
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.