Script that compares a security volume to SPY or IWM?

Johnny Cash

Member
VIP
I am trying to compare a security volume to SPY/IWM on a weekly chart. I have searched around but can not find anything that will help.

Thanks
 
Last edited by a moderator:

BenTen

Administrative
Staff member
Staff
VIP
You can compare ticker symbols using the existing Comparison indicator but I don't know about comparing their volume.
 

inthefutures

Active member
Code:
#volume compare between 2 symbols
# code by inthefutures

declare lower;

input symbol1 = "spy";
input symbol2 = "iwm";

plot vol1 = volume(symbol1);
plot vol2 = volume(symbol2);
 
Top