StockFetcher Forums · Filter Exchange · YTD<< 1 2 >>Post Follow-up
miketranz
956 posts
msg #93714
Ignore miketranz
6/11/2010 8:49:46 AM

Can anyone come up with a filter that shows stocks that are in positive territory YTD? Thanks,Mike..

dwiggains
441 posts
msg #93724
Ignore dwiggains
6/11/2010 10:41:16 AM

This is crude but it works
You have to change it each day.

Today is 110 days into the year (market days)

Fetcher[
close > close 110 days ago
]



I could not get a date to work.

See ya
David

miketranz
956 posts
msg #93743
Ignore miketranz
6/11/2010 7:35:00 PM

Dave,could you tweak it so the close of today is higher than the close Jan 1,1000000+ avg volume,which would be x amount of days ago.Thanks again for your help.Mike.......

straken
469 posts
msg #93746
Ignore straken
modified
6/11/2010 8:52:01 PM

Mike is this what you want?

Fetcher[
set{var1, close}
set{var2, close 110 days ago}
set{pctup, var1 - var2}
add column pctup {ytd}
pctup > 20%
volume > 1000000
]



or maybe add average volume and volume vs average volume 10 day ratio

Fetcher[
set{var1, close}
set{var2, close 110 days ago}
set{pctup, var1 - var2}
add column pctup {ytd}
pctup > 20%
volume > 1000000
add column average volume(10) {AV10}

set{var3, Average Volume(10)}
set{var4, Volume}
set{sum1, var4 / var3}
set{vratio, sum1 * 1}
add column vratio
]



Change code as follows for intraday scans

set{vratio, sum1 * 3} for an 11:30 scan
set{vratio, sum1 * 2} for an 1:30 scan
set{vratio, sum1 * 1} for an 3:30 scan

*Note: If using volume as a metric for intraday scans, also change close in var1 to price.

miketranz
956 posts
msg #93749
Ignore miketranz
6/11/2010 10:04:14 PM

Dave,how about show stocks that closed higher today than where they were on Jan 1,which would be YDT.Thanks again,Mike..

straken
469 posts
msg #93751
Ignore straken
modified
6/11/2010 11:09:39 PM

Fetcher[
set{var1, close}
set{var2, close 110 days ago}
set{pctup, var1 - var2}
add column pctup {YTD}
pctup > 0
]



miketranz
956 posts
msg #93784
Ignore miketranz
6/13/2010 12:58:26 PM

Thanks for the help,but some of the stocks that show up are lower today than they were from Jan 1.........

four
5,087 posts
msg #93788
Ignore four
modified
6/13/2010 1:05:04 PM

to miketranz,

Specific examples of the stocks not correct, please. In other words, details are requested.

miketranz
956 posts
msg #93797
Ignore miketranz
6/13/2010 3:49:35 PM

How about this,show stocks that are outperforming the market 1000000+ avg volume.Thanks,Mike.....

four
5,087 posts
msg #93798
Ignore four
modified
6/13/2010 7:37:49 PM

from stockfetcher:

Fetcher[show stocks where the relative strength(^IXIC,45) is above 1.25]




The example above will look for stocks whose price has outperformed the Nasdaq by 25% over the last 45 days.

Two parameters are required for this measure. The first is the stock or index symbol that you will compare against. The second parameter is the timeframe for the comparison.


StockFetcher Forums · Filter Exchange · YTD<< 1 2 >>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 2022 - 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


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.