Price Line and Visible Range High-Low

Category: market_structure

Draws a dynamic real-time price line that changes color based on the current bar direction, plus lines for visible chart highs and lows.

Formula

\\text{Price Line} = \\text{Bid}, \\text{Color} = \\begin{cases} \\text{Bull} & \\text{if } (Close_0 - Open_0) > 0 \\\\ \\text{Bear} & \\text{if } (Open_0 - Close_0) > 0 \\end{cases} \\\\ \\text{Range} = [\\min(Low_{\\text{visible}}), \\max(High_{\\text{visible}})]

Inputs

See signal primitives, usage in published strategies and more on WOBR StrategyVerse.


Open in the WOBR AI app → · WOBR.AI home