Any one could help me on the EMV Pine script ?

Dear guys, I am new for pine script, could you pls hlep to correct it ?

//version=4
study("EMV")
kk = sma(volume,14)/volume;
mid =100*((high+low-(high+low)[1]))/(high+low);
emv = sma(mid*kk*(high-low)/sma(high-low,14),14);
memv = sma(emv,9);

B1 = plot(EMV,color=color.blue)
B2 = plot(MAEMV,color=color.red)

hline(0, color=color.green, title="Zero Line")
Technical Indicators

Thông báo miễn trừ trách nhiệm