Money Velocity(GDP/M2)
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © EsIstTurnt

//@version=5
indicator("Money Velocity(GDP/M2)")

tf=input.timeframe(defval='1W')
	

current=request.security(syminfo.ticker,tf,close)
//USA(BLUE)
usgdp  =(request.security(input.symbol(defval='USGDP'),tf,close))
usm2   =(request.security(input.symbol(defval='USM2'),tf,close))
usv = ta.ema(usgdp/usm2,4)
plot(usv,color=#3244f0,title='USA')
//CANADA(RED)
cagdp  =(request.security(input.symbol(defval='CAGDP'),tf,close))
cam2   =(request.security(input.symbol(defval='CAM2'),tf,close))
cav = ta.ema(cagdp/cam2,4)
plot(cav,color=#ff0000,title='CANADA')
//EUROPE(GREEN)
eugdp  =(request.security(input.symbol(defval='EUGDP'),tf,close))
eum2   =(request.security(input.symbol(defval='EUM2'),tf,close))
euv = ta.ema(eugdp/eum2,4)
plot(euv,color=#27f50c,title='EUROPEON UNION')
//CHINA(YELLOW)
cngdp  =(request.security(input.symbol(defval='CNGDP'),tf,close))
cnm2   =(request.security(input.symbol(defval='CNM2'),tf,close))
cnv = ta.ema(cngdp/cnm2,4)
plot(cnv,color=#e3f036,title='CHINA')
//RUSSIA(WHITE)
rugdp  =(request.security(input.symbol(defval='RUGDP'),tf,close))
rum2   =(request.security(input.symbol(defval='RUM2'),tf,close))
ruv = ta.ema(rugdp/rum2,4)
plot(ruv,color=#ffffff,title='RUSSIA*Disable for better view lmao')
//TURKEY(ORANGE)
trgdp  =(request.security(input.symbol(defval='TRGDP'),tf,close))
trm2   =(request.security(input.symbol(defval='TRM2'),tf,close))
trv = ta.ema(trgdp/trm2,4)
plot(trv,color=#f5840c,title='TURKEY')
//AUSTRALIA(PINK)
augdp  =(request.security(input.symbol(defval='AUGDP'),tf,close))
aum3   =(request.security(input.symbol(defval='AUM3'),tf,close))
auv = ta.ema(augdp/aum3,4)
plot(auv,color=#d707de,title='AUSTRALIA(M3 substiting M2')
//GREAT BRITAIN(LIGHT BLUE)
gbgdp  =(request.security(input.symbol(defval='GBGDP'),tf,close))
gbm2   =(request.security(input.symbol(defval='GBM2'),tf,close))
gbv = ta.ema(gbgdp/gbm2,4)
plot(gbv,color=#07c5de,title='BRITAIN')
//INDIA(BROWN)
ingdp  =(request.security(input.symbol(defval='inGDP'),tf,close))
inm2   =(request.security(input.symbol(defval='inM2'),tf,close))
inv = ta.ema(ingdp/inm2,4)
plot(inv,color=#de3404,title='INDIA')