How to identify divergence


I would like to create a formula that identifies RSI divergence, could you please help me?

Thank you


Nice awilson!, thanks a lot, I am a newbie, how could I put it as a section under the price like the other indicators?

Thank you