williamzhao78

Any one could help me on the EMV Pine script ?

COINBASE:BTCUSD   Bitcoin
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)))/(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")
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.