OPEN-SOURCE SCRIPT
Mis à jour Haut & Bas Semaine Précédente – Depuis lundi (paramétrable)

Clean and precise indicator that draws:
• The previous week’s high
• The previous week’s low
Lines start exactly on the Monday of the previous week and extend to the right (auto-updated every Monday).
Works perfectly on all timeframes (1 min, 5 min, 1H, 4H, daily…).
Fully customizable:
Colors
Style: Solid / Dashed / Dotted
Line width (1–5)
Perfect for intraday, swing trading or scalping — these levels are often strong support/resistance or breakout zones.
No labels, no plots, just the two clean lines. Lightweight and professional.
• The previous week’s high
• The previous week’s low
Lines start exactly on the Monday of the previous week and extend to the right (auto-updated every Monday).
Works perfectly on all timeframes (1 min, 5 min, 1H, 4H, daily…).
Fully customizable:
Colors
Style: Solid / Dashed / Dotted
Line width (1–5)
Perfect for intraday, swing trading or scalping — these levels are often strong support/resistance or breakout zones.
No labels, no plots, just the two clean lines. Lightweight and professional.
Notes de version
Previous Week + Previous Day High/Low Lines start exactly from last Monday & yesterday’s open
Clean, professional and highly accurate indicator that automatically draws the 4 most watched horizontal levels:
1. Previous Week High (S-1)
2. Previous Week Low (S-1)
→ Lines start precisely on the Monday of the previous week
→ Auto-updated every Monday
3. Previous Day High (D-1)
4. Previous Day Low (D-1)
→ Lines start exactly at the first bar of the previous day
→ Auto-updated every day at midnight (exchange time)
Works perfectly on ALL timeframes (1 min → daily and beyond)
Fully customizable:
• Show/hide Previous Week or Previous Day levels independently
• Separate color, style (solid/dashed/dotted) and width for each line
• No labels, no plots, no clutter — just the 4 clean horizontal lines
Perfect for:
• Spotting key intraday support & resistance zones
• Anticipating breakouts or reversals on institutional levels
• Scalping, day trading, swing trading
Zero lag, zero repainting, ultra-lightweight and 100 % reliable
(built with request.security + precise session change detection)
A must-have tool for any serious trader using prior period levels.
Happy trading!
Notes de version
Previous Week + Previous Day High/Low Lines start exactly from last Monday & yesterday’s open
Clean, professional and highly accurate indicator that automatically draws the 4 most watched horizontal levels:
1. Previous Week High (S-1)
2. Previous Week Low (S-1)
→ Lines start precisely on the Monday of the previous week
→ Auto-updated every Monday
3. Previous Day High (D-1)
4. Previous Day Low (D-1)
→ Lines start exactly at the first bar of the previous day
→ Auto-updated every day at midnight (exchange time)
Works perfectly on ALL timeframes (1 min → daily and beyond)
Fully customizable:
• Show/hide Previous Week or Previous Day levels independently
• Separate color, style (solid/dashed/dotted) and width for each line
• No labels, no plots, no clutter — just the 4 clean horizontal lines
Perfect for:
• Spotting key intraday support & resistance zones
• Anticipating breakouts or reversals on institutional levels
• Scalping, day trading, swing trading
Zero lag, zero repainting, ultra-lightweight and 100 % reliable
(built with request.security + precise session change detection)
A must-have tool for any serious trader using prior period levels.
Happy trading!
Notes de version
Previous Week + Previous Day High/Low Lines start exactly from last Monday & yesterday’s open
Clean, professional and highly accurate indicator that automatically draws the 4 most watched horizontal levels:
1. Previous Week High (S-1)
2. Previous Week Low (S-1)
→ Lines start precisely on the Monday of the previous week
→ Auto-updated every Monday
3. Previous Day High (D-1)
4. Previous Day Low (D-1)
→ Lines start exactly at the first bar of the previous day
→ Auto-updated every day at midnight (exchange time)
Works perfectly on ALL timeframes (1 min → daily and beyond)
Fully customizable:
• Show/hide Previous Week or Previous Day levels independently
• Separate color, style (solid/dashed/dotted) and width for each line
• No labels, no plots, no clutter — just the 4 clean horizontal lines
Perfect for:
• Spotting key intraday support & resistance zones
• Anticipating breakouts or reversals on institutional levels
• Scalping, day trading, swing trading
Zero lag, zero repainting, ultra-lightweight and 100 % reliable
(built with request.security + precise session change detection)
A must-have tool for any serious trader using prior period levels.
Happy trading!
Notes de version
News : "The labels now follow the last candle in real time → never lost or misaligned again!"-------------------------------------------------------------
les labels suivent désormais la dernière bougie en temps réel → plus jamais perdus ou mal placés !
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.