study(title="EFI", shorttitle="EFI")
XLen1 = input(13, minval=1)
XLen2 = input(8, minval=1)
hline(0, color=gray, linestyle=line)
xValue = volume * (close - close[1])
xSMA1 = ema(xValue, XLen1)
xSMA2 = ema(xValue, XLen2)
plot(xSMA1, style = columns, color=aqua, title="SlowAvg")
plot(xSMA2, color=white, title="FastAvg")