Point-Based Price Grid
Category: market_structure
A visual utility that plots a custom price grid at fixed point intervals across the chart. Unlike the standard MetaTrader grid, this allows for specific point-based spacing (e.g., every 30 points).
Formula
\text{Grid Levels} = (n \times \text{InpP1} \times \text{Point}) \text{ where } n \in [\lfloor \text{min\_price}/\text{Point} \rfloor, \lceil \text{max\_price}/\text{Point} \rceil] \text{ and } n \pmod{\text{InpP1}} = 0
Inputs
- InpP1 (default: 30)
- InpColor (default: clrCyan)
- InpStyle (default: STYLE_DOT)
- InpMaxBars (default: 10000)
See signal primitives and every published strategy that uses Point-Based Price Grid on WOBR StrategyVerse.