Convert a simple tradingview indicator to mt5

Hello there,I am new here and ask for help

I find a indicator in tradingview (It’s Larry Williams’ ProGo indicator),and I want to convert it to MT5 so I can use it.

It’s very simple but I know nothing about coding. Here’s the code and I hope someone could help! Much appreciation!

study(“William’s ProGo indicator”)
pro = close – open
amatuers = open – close[1]
s_pro = sma(pro,14)
s_amat = sma(amatuers,14)

plot(s_amat, color =