PROTECTED SOURCE SCRIPT
Updated

Hodie Smart PD/PW/PM Levels

161
Hodie Smart PD/PW/PM Levels is a professional tool for tracking previous daily, weekly, and monthly highs and lows (PDH/PDL, PWH/PWL, PMH/PML).
It automatically plots levels on the chart and provides unique one-time alerts per period — no more repeated or false signals.

🔧 Features & Settings

1. Levels:
  • Daily (PDH/PDL)
  • Weekly (PWH/PWL)
  • Monthly (PMH/PML)

2. Customization:
  • Show/hide each level type
  • Adjustable line thickness and colors
  • Labels with customizable text and background colors

3. Line Building:
Levels are drawn from the previous period’s high/low and extend until the end of the current period.

🚨 Alert System – Main Advantage

The key strength of this indicator is the smart alert logic:
  • Each level alert is triggered only once per period (day, week, or month)
  • No need to recreate alerts every session — the script automatically resets them with each new period
  • Daily levels use precise "first touch" detection, while weekly/monthly levels fire only once until the next period

✅ This means you can set an alert once and be confident it won’t spam or miss critical touches.

📖 Quick Instruction

1. Add the indicator to your chart
2. In the alerts panel, choose:
  • Condition: PDH Touch, PDL Touch, PWH Touch, PWL Touch, PMH Touch, or PML Touch
  • Options: Once per bar (recommended)
  • Timeframe: any (1-minute interval works best)

3. Alerts will automatically respect the logic:
  • Daily levels – 1 alert per day
  • Weekly levels – 1 alert per week
  • Monthly levels – 1 alert per month


🎯 Why Use This Indicator?

  • Saves time: set alerts once, no need to update them daily
  • Eliminates duplicate signals
  • Clear visualization of key market levels
  • Works across all markets and timeframes

⚡ Perfect for traders using liquidity concepts, breakout strategies, and Smart Money methods.
Release Notes
Hodie Smart Previous Levels PD/PW/PM & Opens — New Features

1. New Line Mode
Added line drawing mode:
  • By Period (default) — lines extend to the end of the corresponding period (day, week, month).
  • Fixed — lines extend for a fixed number of bars, configurable in the settings.


2. Open Levels (DO, WO, MO)
  • Daily, weekly, and monthly open levels can now be displayed.
  • Disabled by default — can be enabled in settings.
  • Each level has configurable color, line width, and label.


3. Visual and Customization Enhancements
  • Transparent label backgrounds added for cleaner look.
  • Separate text and background colors can be set for High/Low and Open levels.


4. Calculation Note
  • On low-liquidity assets, lines may appear with a slight delay due to time-based calculation specifics.
  • This is a technical limitation and not a script error.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.