The ICT-PRF-W (Weekly Profiles) indicator is a comprehensive and highly visual analytical tool designed to track, categorize, and record weekly price action into classic ICT (Inner Circle Trader) weekly profiles. By analyzing the structural points of the week—specifically the Monday open, the highest/lowest points, and the Friday close—the indicator plots the weekly swing path and automatically classifies the week's behavior. It also includes a robust statistical ranking table and session killzone overlays, making it an all-in-one solution for studying weekly delivery cycles.
2. Logic
2.1. Profile Identification and Visualization The core logic of the script anchors to the start of the week (Monday) and tracks the week's extreme points (High and Low) in real time. Based on the specific day these extremes are formed, the indicator categorizes the week into one of 8 classic ICT Weekly Profiles:
Classic Tuesday Low of the Week (Bullish)
Classic Tuesday High of the Week (Bearish)
Wednesday Low of the Week (Bullish)
Wednesday High of the Week (Bearish)
Consolidation Thursday Bullish Reversal
Consolidation Thursday Bearish Reversal
Consolidation Midweek Rally (Bullish)
Consolidation Midweek Decline (Bearish)
The indicator draws a dynamic, three-segment line path connecting the Week Open, the Week's High/Low, and the Current Price (or Friday Close), overlaying a bounding box with a designated bullish or bearish color to highlight the weekly range.
2.2. Historical Ranking System As the indicator processes historical weeks, it logs the identified profiles into an internal database. A Ranking Table is then generated on the chart, dynamically sorting and displaying how frequently each profile occurs over the analyzed dataset, complete with percentages and the most common days for highs and lows.
2.3. Market Session Filtering To aid intraday precision, the script includes a session tracking feature configured for standard market killzones (Asia, London/UK, and New York/US). It automatically filters out weekend price action to ensure only valid trading sessions are highlighted.
3. Settings & Options
3.1. General Settings
History: Determines how many historical weekly boxes and paths are kept visible on the chart (0 to 4).
Time zone: Aligns the day-of-week and session calculations to your preferred regional time zone (Options: London, New York, Tokyo).
3.2. Box Settings
Bullish Box: Color customization for profiles classified as bullish.
Bearish Box: Color customization for profiles classified as bearish.
3.3. Weekly Profile Line
Style: Choose between solid, dashed, or dotted lines for the weekly swing path.
Thickness: Adjusts the line width.
Color: Customizes the color of the weekly swing path.
3.4. Weekly Profile Label
Size: Adjusts the text size of the profile name displayed inside the box.
Style: Format the label text (Normal, Bold, Italic, Bold Italic).
Pos: Position the label anywhere inside the weekly bounding box.
Color: Customizes the text color of the profile labels.
3.5. Ranking Table
Show Ranking Table: Toggle the visibility of the historical statistics table.
Font / FREQ / DAY H/L Colors: Customizable text colors for different table columns.
BG / Header BG Colors: Customizes the background colors of the table and its headers.
Size & Style: Formatting options for the table's text.
Position: Snaps the table to any corner or edge of the chart (e.g., Top Right, Middle Left).
3.6. Sessions Settings
Sessions: Master toggle to display intraday killzones.
Display Below: Places the session markers (dots/labels) at the bottom or top of the chart.
Coloring Background: Toggles the vertical background highlights for active sessions.
Asia / UK / US Colors: Independent color controls for Tokyo, London, and New York sessions.
Transparency: Independent transparency controls for session markers and session background highlights.