Creating High and Low Lines for candles and get an alert when Candles crosses any lines

Job ID: 31853857

Budget: $30 – $250 USD

Need someone to code in pine code High and lows of candles and draw ray lines going back to 50 days and when current candle crosses any high and lows of 50 days send an alert. Attached example to illustrate what is wanted.
Related categories: Pine Script