Can someone create Chandelier Exit please

Hello All - New to Tradovate. I see few indicators are missing for my taste. May I request someone to create a Chandelier Exit indicator please. Code and details in the link –

Many Thanks!