mehran 2 posts msg #36974 - Ignore mehran |
7/18/2005 11:46:25 PM
Could anyone help me write a filter for a tight trading range (e.g. where High of the range has been 10% or less above the Low of the range) for the last, say, 20 days.
Thanks
|
maxreturn 745 posts msg #37054 - Ignore maxreturn |
7/25/2005 12:34:12 PM
Here's one way to go about it
[set{20dh, high 20 day high}
set{20dl, low 20 day low}
set{x, 20dh divided by 20dl}
set{mv, x - 1}
show stocks where mv below .1 and add column mv and average volume(50) above 1000000]
|
mehran 2 posts msg #37233 - Ignore mehran |
8/1/2005 10:17:20 PM
Thanks maxreturn.
|
TheRumpledOne 6,411 posts msg #37237 - Ignore TheRumpledOne |
8/1/2005 11:23:39 PM
CLICK ON THE MAGNIFYING GLASS ICON TO THE LEFT OF THE WORD FETCHER:
I threw in the count calculation MVDAY so you would know how many days MV was below .10 and I sorted descending on MVDAY so the stocks that were in that range the longest pop to the top. Also I added the 20 day high and low columns so you would know what those numbers were.
But, I guess to some, those are just bells and whistles.
MAY ALL YOUR FILLS BE COMPLETE.
|