Need someone who understands pine editor. My indicator has no version. can anyone make version 5?
I tried to make every version but I couldn't do it because I don't have any coding knowledge.
//www.askincantum.com
study(title = "instagram: askincantum", shorttitle = "instagram: askincantum", overlay = true)
//Mode
RSI = input(title="bab", defval=80, minval=1, maxval = 100)
//RSI
src = close,
ep = 2 * RSI - 1
auc = ema( max( src - src[1], 0 ), ep )
adc = ema( max( src[1] - src, 0 ), ep )
x1 = (RSI - 1) * ( adc * 70 / (100-70) - auc)
ub = iff( x1 >= 0, src + x1, src + x1 * (100-70)/70 )
x2 = (RSI - 1) * ( adc * 30 / (100-30) - auc)
lb = iff( x2 >= 0, src + x2, src + x2 * (100-30)/30 )
//Affichage
plot(avg(ub, lb), color=white , style = line, linewidth=2, title="Line")
len = input(20, minval=1, title="Entry")
src1 = input(close, title="Source")
offset = input(title="Offset", type=integer, defval=0, minval=-500, maxval=500)
out = wma(src1, len)
plot(out, title="Entry", color=yellow, linewidth = 2, offset=offset)
buy = crossover(out , avg(ub, lb))
sell = crossunder(out, avg(ub, lb))
plotshape(buy , title="buy", text="buy", location=location.belowbar, style=shape.labelup, size=size.tiny, color=green, textcolor=white, transp=0)
plotshape(sell , title="sell", text="sell", style=shape.labeldown , location = location.abovebar , color = red, textcolor=white, transp=0)
alertcondition(buy, title="Aşkıncan Tüm Buy", message="Hacı Abi Al Dedi!")
alertcondition(sell, title="Aşkıncan Tüm Sell", message="Hacı Abi Sat Dedi!")