Trade by Design - v0.0.1Trade by Design - v0.0.1
📊 Overview
This indicator displays key price levels based on New York trading session times (17:00 NYT). It helps traders identify important support and resistance levels from the previous day, previous week, and the current trading day.
💡 Inspiration
This indicator was inspired by concepts presented in this video: www.youtube.com
Thanks to Annii, her youtube channel is www.youtube.com
Also you can check this video about Mastering the UK session www.youtube.com
I created this indicator for my personal trading needs and decided to share it with the community. Please note that this indicator is in its early development stage (v0.0.1) and may be updated or improved over time based on feedback and my trading experience.
📈 What It Displays
1. Previous Week Levels (HoW / LoW) - Orange
HoW (High of Week): The highest price reached during the previous week
LoW (Low of Week): The lowest price reached during the previous week
Week starts at Sunday 17:00 New York Time
2. Previous Day Levels (HoD / LoD) - Aqua/Cyan
HoD (High of Day): The highest price reached during the previous trading day
LoD (Low of Day): The lowest price reached during the previous trading day
Trading day starts at 17:00 New York Time (aligned with futures market open)
3. Initial Day Levels (iH / iL) - Green
iH (Initial High): The current day's running high
iL (Initial Low): The current day's running low
Displays the percentage range between iH and iL in parentheses
Optional: Include or exclude the gap period (17:00-20:00 NYT)
⚙️ Settings
Colors
Prev Week (LoW/HoW): Color for weekly levels (default: orange)
Prev Day (LoD/HoD): Color for daily levels (default: aqua)
Initial Day (iL/iH): Color for current day levels (default: green)
Style
Line width: Thickness of the lines (1-5)
Line transparency: Transparency for current lines (0-90%)
Historical line transparency: Additional transparency for historical lines (0-90%)
Line style: Solid, Dashed, or Dotted
Label offset: Distance of labels from current price (in bars)
Label size: Tiny, Small, Normal, or Large
History
Number of weeks to display: How many weeks of historical data to show (1-10)
Show historical HoD/LoD: Toggle to show/hide previous days' HoD/LoD levels
Show historical iH/iL: Toggle to show/hide previous days' iH/iL levels
Initial Day (iH/iL)
Include gap (17:00-20:00 NYT):
✅ Checked: iH/iL calculation starts at 17:00 NYT
❌ Unchecked: iH/iL calculation starts at 20:00 NYT (excludes pre-market gap)
🕐 Time Reference
All times are based on New York Time (America/New_York timezone):
17:00 NYT: Start of the trading day (aligned with futures/forex session)
20:00 NYT: Alternative start time for iH/iL when gap is excluded
📝 Label Naming Convention
Current Levels:
HoW, LoW (Previous Week)
HoD, LoD (Previous Day)
iH, iL (Current Day) - includes percentage range
Historical Levels (when enabled):
HoW2, LoW2, HoW3, LoW3... (Older weeks)
HoD2, LoD2, HoD3, LoD3... (Older days)
iH1, iL1, iH2, iL2... (Previous days' initial ranges)
🎯 How to Use
Support & Resistance: Use HoW/LoW and HoD/LoD as potential support and resistance levels
Range Trading: Monitor the iH/iL percentage to gauge daily volatility
Breakout Trading: Watch for price breaking above HoD/HoW or below LoD/LoW
Multi-Timeframe Analysis: Enable multiple weeks to see longer-term levels
⚠️ Disclaimer
This indicator is in early development (v0.0.1) and was created for personal trading use
Past price levels do not guarantee future support/resistance
Always use proper risk management and combine with other analysis methods
This is not financial advice - trade at your own risk
🔄 Version History
v0.0.1 (Current)
Initial release
Previous week high/low (HoW/LoW)
Previous day high/low (HoD/LoD)
Initial day high/low (iH/iL) with percentage range
Multiple weeks history support
Customizable colors, transparency, and label sizes
Gap inclusion/exclusion option for iH/iL
💬 Feedback
This indicator is a work in progress. If you have suggestions for improvements or find any issues, please leave a comment below. Your feedback helps make this tool better for everyone!
Happy Trading! 📈
Penunjuk Pine Script®






















