Average Pips per Day (period 200)
study(title="Daily Range JPY", shorttitle="Daily range JPY > EURJPY, USDJPY, GBPJPY, CADJPY, AUDNZD", overlay=false) length = input(200, minval=1) ej = security('EURJPY', "1D", sma(tr, length)/100) plot(ej,color=fuchsia,title='EURJPY') uj = security('USDJPY', "1D", sma(tr, length)/100) plot(uj,color=green,title='USDJPY') gj = security('GBPJPY', "1D", sma(tr, length)/100) plot(gj,color=blue,title='GBPJPY') cj = security('CADJPY', "1D", sma(tr, length)/100) plot(cj,color=red,title='CADJPY') an = security('AUDNZD', "1D", sma(tr, length)) plot(an,color=yellow,title='AUDNZD')