Stock price touching horizontal line, need an alert

Please provide an alert code for this scenario, When I draw a horizontal line in the Pi chart and if the stock price crosses or touches it, I should get an alert.

As per the above given condition it is not possible to code in tradescript.