INVITE-ONLY SCRIPT
מעודכן

Daily Direction Profile

85
This indicator helps traders identify the probable direction of the current trading day by detecting breaks of the Previous Day High (PDH) and Previous Day Low (PDL), with a focus on early session breaks.
🎯 Core Concept
The underlying idea is simple: when price breaks above PDH or below PDL early in the trading day, it often signals the dominant direction for that session. Early breaks tend to be more meaningful than late-day breaks.
📊 Features
  • Session Boxes – Visualizes three major trading sessions (Asia, London, NY AM) as colored high/low range boxes
  • Daily Structure – Tracks the current day's high and low with horizontal lines, and marks day separators with vertical dashed lines
  • PDH/PDL Break Detection – Identifies the first break of the previous day's high or low
  • Time Filter – Optionally limits signals to the first part of the day (configurable, default 12 hours)
  • Visual Signals – Triangle markers at the day's starting bar plus optional break level lines
  • Dual EMAs – Fast and slow EMAs for additional trend context
  • Alerts – Built-in alert conditions for both PDH and PDL breaks

⚙️ Settings
Session Boxes
  • Asia Box Color – Color for the Asian session range box
  • London Box Color – Color for the London session range box
  • NY Box Color – Color for the New York AM session range box
  • Box Background Transparency – Transparency level for box fills (0 = solid, 100 = invisible)
  • Box Border Width – Line thickness of box borders (1-5)
  • Box Border Style – Border line style: Solid, Dashed, or Dotted

Lines
  • Daily High / Low Color – Color for the horizontal lines marking the current day's high and low
  • Day Separator Color – Color for the vertical dashed lines separating trading days

EMAs
  • EMA Fast Length – Period for the fast exponential moving average (default: 10)
  • EMA Slow Length – Period for the slow exponential moving average (default: 20)
  • EMA Fast Color – Color for the fast EMA line
  • EMA Slow Color – Color for the slow EMA line

Signals
  • Only first part of day – When enabled, break signals only trigger within the defined early session window
  • First part of day (hours) – Number of hours from day start during which signals are allowed (1-23)
  • Arrow offset (ticks) – Vertical distance of triangle markers from the daily high/low
  • Draw break line (PDH / PDL) – Toggle horizontal lines showing the broken PDH or PDL level

📈 How to Use
  • A green triangle (up) at day start indicates PDH was broken → potential bullish day
  • A red triangle (down) at day start indicates PDL was broken → potential bearish day
  • Use session boxes to understand where the move originated
  • Combine with the EMAs for trend confirmation

⚠️ Notes
  • Each break type (high/low) signals only once per day to avoid noise
  • Session times are based on New York timezone
  • Best suited for intraday timeframes (5m, 15m, 1h)
הערות שחרור
type and chart changed
הערות שחרור
Alert condition added: PDL or PDH was taken out

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.