How to setup scanner for gap up or gap down shocks

How to setup scanner for gap up or gap down shocks