Count and start describe the search window
A start value of zero includes the current bar. A start value of one begins with the most recently closed bar. Count is the number of bars searched from that starting shift, not the final index.
The type argument selects MODE_HIGH, MODE_LOW, MODE_OPEN, MODE_CLOSE, MODE_VOLUME, or another supported series identifier. The returned shift belongs to the symbol and timeframe passed to the function.
| Goal | Type | Typical start |
|---|---|---|
| Highest closed high | MODE_HIGH | 1 |
| Lowest closed low | MODE_LOW | 1 |
| Largest current-window volume | MODE_VOLUME | 0 or 1 by rule |
