RSI Swing Failure open-source script?

 

Swing Failure of RSI is well-recognised trading pattern. Just Google it:  https://www.google.com/search?q=rsi+swing+failure

I'm asking if somebody has coded an indicator, which automatically recognizes it - any maybe draws on chart or places orders.

Reason: