Trend line that controls global stop losses

 
Hello,

Does anyone know of a script or EA that can draw a horizontal line that can act as global stop loss?

For example - Once price touches this line every order in the chart will be closed.

I know there are trailing EAs and the like but im just looking for a simple line that can be manually dragged to act as a global stop loss.

Thanks!!