leonsf 18 posts msg #111677 - Ignore leonsf |
2/24/2013 8:05:51 PM
Hello,
I would like to create a filter to find stocks where today's volume is at least two times greater than the average volume in the last 50 days, can someone share with me how to do it?
Thanks,
Leon.
|
four 5,087 posts msg #111681 - Ignore four modified |
2/24/2013 8:16:56 PM
set{x, 2 * average volume(50)}
volume >= x
add column x
|
Kevin_in_GA 4,599 posts msg #111710 - Ignore Kevin_in_GA |
2/25/2013 9:43:44 AM
This is pretty easy to do. I'd suggest reading through the Stockfetcher manual and learning some of the syntax before asking questions of this type. Not really a criticism here, but rather a suggestion to make you better at this type of coding.
|
decipherlinda 133 posts msg #111738 - Ignore decipherlinda |
2/25/2013 2:13:18 PM
I often add Relative Volume code to filters. Results tell you the % today's volume is of the 50-day volume for each stock.
RV > 2
set{RV, volume / average volume(50)}
Add column RV
This lets you see the actual Relative Volume for each stock rather than lumping them all into a filter result of stocks > than 2X 50 day volume, if that's of interest to you.
|
gloria garrison 23 posts msg #111784 - Ignore gloria garrison |
2/26/2013 11:49:57 AM
easy to do here's the trick:
set {vol_diff, volume / avgvol (50) 1 day ago} and show stocks where vol_diff is more than 2 and do not draw Vol_diff
|