Pairs Volume FXCM mini account

Script shows the volume of the currency pairs in the FXCM mini account. I set it daily or weekly to see which pair is picking up in activity. My style of currency trading is short holds on the highest volatility . This helps me determine which pairs have the highest volume (or tick activity since there is no true exchange for currency). I use this in conjunction with the other script I wrote, "Pairs Range" which shows which pairs have the highest daily range. This script has a built in 5-sma on each pair. High daily range and high volume is volatility and liquidity. **** This does not include currencies in CHF ****
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
study(title="Pairs Volume FXCM mini account", shorttitle="Pairs Volume FXCM mini account",precision=0)

p0 = input(title="Other data series", type=symbol,defval="audjpy")
p1 = input(title="Other data series", type=symbol,defval="audnzd")
p2 = input(title="Other data series", type=symbol,defval="audusd")
p3 = input(title="Other data series", type=symbol,defval="cadjpy")
p17 = input(title="Other data series", type=symbol,defval="euraud")
p4 = input(title="Other data series", type=symbol,defval="eurcad")
p5 = input(title="Other data series", type=symbol,defval="eurgbp") 
p6 = input(title="Other data series", type=symbol,defval="eurjpy")
p7 = input(title="Other data series", type=symbol,defval="eurnzd")
p8 = input(title="Other data series", type=symbol,defval="eurusd")
p9 = input(title="Other data series", type=symbol,defval="gbpaud")
p10 = input(title="Other data series", type=symbol,defval="gbpjpy")
p11 = input(title="Other data series", type=symbol,defval="gbpnzd")
p12 = input(title="Other data series", type=symbol,defval="gbpusd")
p13 = input(title="Other data series", type=symbol,defval="nzdjpy")
p14 = input(title="Other data series", type=symbol,defval="nzdusd")
p15 = input(title="Other data series", type=symbol,defval="usdcad")
p16 = input(title="Other data series", type=symbol,defval="usdjpy")
// Get the additional data series
s0h= security(p0, period, volume)
s1h= security(p1, period, volume)
s2h= security(p2, period, volume)
s3h= security(p3, period, volume)
s4h= security(p4, period, volume)
s5h= security(p5, period, volume)
s6h= security(p6, period, volume)
s7h= security(p7, period, volume)
s8h= security(p8, period, volume)
s9h= security(p9, period, volume)
s10h= security(p10, period, volume)
s11h= security(p11, period, volume)
s12h= security(p12, period, volume)
s13h= security(p13, period, volume)
s14h= security(p14, period, volume)
s15h= security(p15, period, volume)
s16h= security(p16, period, volume)
s17h= security(p17, period, volume)

plot(sma(s0h,5),color=silver, title="AUDJPY")
plot(sma(s4h,5),color=red, title="EURCAD")
plot(sma(s7h,5),color=olive, title="EURNZD")
plot(sma(s9h,5),color=navy, title="GBPAUD")
plot(sma(s10h,5),color=red, title="GBPJPY")
plot(sma(s11h,5),color=blue, title="GBPNZD")
plot(sma(s12h,5),color=teal, title="GBPUSD")
plot(sma(s17h,5),color=teal, title="EURAUD")