Need a simple Tradingview script for gaps

Job ID: 32877998

Budget: $30 – $250 USD

I need a script that will send me real time alert with these conditions:

1. On the 1 minute chart, there is a gap in price between 2 consecutive bars, as highlighted in the screenshot by the yellow triangle and green line.
2. Price moves in the direction of the gap for a certain number of points (this must be configurable). Example red circle area
3. The gap can be up or down and price should follow direction of gap.


Once 3 conditions above alert is sent. Full code shall be given to me
Related categories: Pine Script