Script that compares a security volume to SPY or IWM?

J

Johnny Cash

Member
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

BenTen

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

Johnny Cash

Member
@BenTen Thanks, just wondering if it would be possible.
 
inthefutures

inthefutures

Active member
I am not sure but you could get volume for each and plot both and then compare the 2, will take a look
 
inthefutures

inthefutures

Active member
ok have it working n a sub graph what do you want to compare or just see the two visually
 
inthefutures

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);
 
J

Johnny Cash

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);
That does it,
Thank you very much
 
W

wen

New member
is it possible Comparison VIX with different time frame like 9 days, 30 days, 3 month, 6 month and year. add 100 sma
 

Similar threads

Top