Session Levels (SMTbot)
Category: market_structure
Plots High/Low levels for major trading sessions (Asian, London, New York) and tracks Previous Day/Week extremes. Includes a dashboard table for active session status.
Formula
SessionHigh = \max(high_{session\_range}) \\ SessionLow = \min(low_{session\_range}) \\ PDH = high_{daily}[1] \\ PDL = low_{daily}[1] \\ PWH = high_{weekly}[1] \\ PWL = low_{weekly}[1]
Inputs
- showAsian (default: true)
- showLondon (default: true)
- showNY (default: true)
- asianStart (default: 2000-0000)
- londonStart (default: 0700-1600)
- nyStart (default: 1200-2100)
- showPrevDay (default: true)
- showWeekHL (default: true)
- asianColor (default: color.new(#9C27B0, 60))
- londonColor (default: color.new(#2196F3, 60))
- nyColor (default: color.new(#FF9800, 60))
- pdColor (default: color.new(#FFFFFF, 40))
- pwColor (default: color.new(#FFD700, 40))
- extendLines (default: true)
See signal primitives, usage in published strategies and more on WOBR StrategyVerse.