Daily High Low
Category: market_structure
Plots the High and Low prices of a higher timeframe (e.g., Daily) onto the current chart, supporting standard High/Low, candle bodies (Open/Close), or purely Close-based ranges.
Formula
High = \begin{cases} High_{TF} & \text{if Price = LOWHIGH} \\ \max(Open_{range}, Close_{range}) & \text{if Price = OPENCLOSE} \\ \max(Close_{range}) & \text{if Price = CLOSECLOSE} \end{cases} \\ Low = \begin{cases} Low_{TF} & \text{if Price = LOWHIGH} \\ \min(Open_{range}, Close_{range}) & \text{if Price = OPENCLOSE} \\ \min(Close_{range}) & \text{if Price = CLOSECLOSE} \end{cases}
Inputs
- TimeFrame (default: PERIOD_D1)
- Previous (default: true)
- Price (default: DHL_LOWHIGH)
See signal primitives and every published strategy that uses Daily High Low on WOBR StrategyVerse.