convert tradingview indicator to motivewave java indicator

Job ID: 33860733

Budget: $10 – $30 USD

i have a tradingview indicator , this needs to be converted to java and should work in the motivewave software.
below is tradingview pinescript code:

//
// @version
// @title ALERT Bands
// @author A
//
//
study("ALERT Bands", shorttitle="ALERT.BANDS", overlay=true)
obLevel = input(70, title=" Overbought")
osLevel = input(30, title=" Oversold")
length = input(14, title=" Length")
src=close
ep = 2 * length - 1
auc = ema( max( src - src[1], 0 ), ep )
adc = ema( max( src[1] - src, 0 ), ep )
x1 = (length - 1) * ( adc * obLevel / (100-obLevel) - auc)
ub = iff( x1 >= 0, src + x1, src + x1 * (100-obLevel)/obLevel )
x2 = (length - 1) * ( adc * osLevel / (100-osLevel) - auc)
lb = iff( x2 >= 0, src + x2, src + x2 * (100-osLevel)/osLevel )
cent=avg(ub,lb)
ux=plot( ub, title="Resistance", color=red, linewidth=2)
lx=plot( lb, title="Support", color=green, linewidth=2)
mx=plot( cent, title=" Midline", color=gray, linewidth=1)
//fill(ux, mx, green)
//fill(lx, mx, red)

markOBOS=input(true, title="Mark OB/OS bars")
colorBars=input(false, title="Color bars based on region")

c_rgn = colorBars?((src>cent)?#7CFC00:#FF6347):na
c_obos=markOBOS?(((src>=ub) or (src<=lb)) ?fuchsia:c_rgn):c_rgn
barcolor(c_obos)