StockFetcher Forums · Filter Exchange · How to show % difference<< >>Post Follow-up
glgene
535 posts
msg #53711
Ignore glgene
7/31/2007 4:42:17 PM

Would someone be so kind to show me how to alter the script below so to the right of the Volume column it shows the % gain over yesterday's volume; and next to the Average Volume(90) column today's % difference over Average Volume (90). Thank you.

[price was 3% greater than price 1 day ago
volume was greater than volume 1 day ago
volume was greater than 100000
average volume(90) is greater than 100000
price was greater than 10
add column volume 1 day ago
add column average volume(90)]

nikoschopen
2,824 posts
msg #53759
Ignore nikoschopen
8/2/2007 1:54:21 AM

Fetcher[
price was 3% greater than price 1 day ago
volume was greater than volume 1 day ago
volume was greater than 100000
average volume(90) is greater than 100000
price was greater than 10
add column volume 1 day ago{vol(-1)}
add column average volume(90)

set{diff, volume / volume 1 day ago}
set{%vol, diff - 1}
set{vol%, %vol * 100}

set{diff90, volume / avgvol(90)}
set{%vol90, diff90 - 1}
set{vol%90, %vol90 * 100}

add column vol%{%vol(1)}
add column vol%90{%vol(90)}
]



glgene
535 posts
msg #53774
Ignore glgene
8/2/2007 1:38:12 PM

Thanks, Nico. Exactly what I needed!

StockFetcher Forums · Filter Exchange · How to show % difference<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2016 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus