OPEN-SOURCE SCRIPT
20-40 & 50-10 Minute Window Highlighter

This indicator visually highlights 1-minute candles that fall within two key intra-hour time windows — :20 to :40 and :50 to :10 — helping traders instantly identify and focus on these specific zones throughout the trading session.
Each window has its own distinct color scheme. Within the :20–:40 window, bullish candles are colored pink and bearish candles light gray. Within the :50–:10 window, bullish candles are colored yellow and bearish candles silver. All candles outside both windows retain their default chart colors, keeping your existing setup fully intact.
Features:
Highlights two customizable intra-hour time windows every hour
Separate bullish and bearish colors for each window
Correctly handles the :50–:10 window across the hour boundary
Zero interference with candles outside the target windows
Fully customizable colors via the indicator settings panel
Lightweight and non-repainting — no signals, no lag
Best used on the 1-minute timeframe. Ideal for traders who structure their sessions around specific intra-hour windows for entries, exits, or time-of-day based observations.
Each window has its own distinct color scheme. Within the :20–:40 window, bullish candles are colored pink and bearish candles light gray. Within the :50–:10 window, bullish candles are colored yellow and bearish candles silver. All candles outside both windows retain their default chart colors, keeping your existing setup fully intact.
Features:
Highlights two customizable intra-hour time windows every hour
Separate bullish and bearish colors for each window
Correctly handles the :50–:10 window across the hour boundary
Zero interference with candles outside the target windows
Fully customizable colors via the indicator settings panel
Lightweight and non-repainting — no signals, no lag
Best used on the 1-minute timeframe. Ideal for traders who structure their sessions around specific intra-hour windows for entries, exits, or time-of-day based observations.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.