Grid Utility (Rosasurfer Framework)
Category: market_structure
A dynamic chart grid indicator that maintains custom horizontal price separators (based on screen DPI/pixel distance) and vertical time separators (Daily, Weekly, Monthly, Yearly).
Formula
\text{GridSize} = 5 \cdot 10^{\lfloor \log_{10}(\frac{\Delta Price}{\text{ChartHeight}/\text{MinPixel}}) \rfloor} \text{ (Adjusted by factor 2 if needed)}
Inputs
- PriceGrid.MinDistance.Pixel (default: 40)
- Color.RegularGrid (default: Gainsboro)
- Color.SuperGrid (default: LightGray)
- WeekendSessions.Symbols (default: )
See signal primitives, usage in published strategies and more on WOBR StrategyVerse.