- detect bullish and bearish opening gaps
- support same-bar and later-bar confirmation
- prevent duplicate signals after the first valid fill
- map historical signals into separate indicator buffers
- update only the latest completed bar during normal operation
- validate inputs and initialization results
- configure arrow plots and chart appearance