Monday, January 19, 2009

Rangeability

As promised, I am posting the combination of Run Forest Run + Fall Forest Fall scans. I have named this the "Rangeability" scan because that is what I think of it as. It shows how many times a stock has run up OR down in the last 100 days! For those of you looking for volatility, you have found it. This also has the line "and D1020 > 9" that removes stocks that have run 10% less than 10 times in the past 100 days.

For those of you that don't know, this scan can be run using the stockfetcher website.

/*Rangeability*/

close is between 1 and 15
average volume(90) above 50000

set{volcnt, count(volume above 50000, 100) }
set{volzero, count(volume equal 0, 100) }

set{x2, open - low}
set{Short_Profit, x2/open }
set{x1, high - open}
set{Long_Profit, x1/open }

set{C1A, count(Long_Profit > .04 , 100)}
set{C2A, count(Long_Profit > .09, 100)}
set{C1B, count(Short_Profit > .04 , 100)}
set{C2B, count(Short_Profit > .09, 100)}
set{C0010A, C1A + C1B}
set{C0010B, C2A + C2B}
set{C0010, C0010A - C0010B}

set{D1A, count(Long_Profit > .09 , 100)}
set{D2A, count(Long_Profit > .19, 100)}
set{D1B, count(Short_Profit > .09 , 100)}
set{D2B, count(Short_Profit > .19, 100)}
set{D1020A, D1A + D1B}
set{D1020B, D2A + D2B}
set{D1020, D1020A - D1020B}

set{E1A, count(Long_Profit > .19 , 100)}
set{E2A, count(Long_Profit > .29, 100)}
set{E1B, count(Short_Profit > .19 , 100)}
set{E2B, count(Short_Profit > .29, 100)}
set{E2030A, E1A + E1B}
set{E2030B, E2A + E2B}
set{E2030, E2030A - E2030B}

set{F1A, count(Long_Profit > .29 , 100)}
set{F2A, count(Long_Profit > .39, 100)}
set{F1B, count(Short_Profit > .29 , 100)}
set{F2B, count(Short_Profit > .39, 100)}
set{F3040A, F1A + F1B}
set{F3040B, F2A + F2B}
set{F3040, F3040A - F3040B}

set{G1A, count(Long_Profit > .39 , 100)}
set{G2A, count(Long_Profit > .49, 100)}
set{G1B, count(Short_Profit > .39 , 100)}
set{G2B, count(Short_Profit > .49, 100)}
set{G4050A, G1A + G1B}
set{G4050B, G2A + G2B}
set{G4050, G4050A - G4050B}

set{H1A, count(Long_Profit > .49 , 100)}
set{H2A, count(Long_Profit > .99, 100)}
set{H1B, count(Short_Profit > .49 , 100)}
set{H2B, count(Short_Profit > .99, 100)}
set{H50100A, H1A + H1B}
set{H50100B, H2A + H2B}
set{H50100, H50100A - H50100B}

set{I1A, count(Short_Profit > .99 , 100)}
set{I1B, count(Long_Profit > .99 , 100)}
set{I100, I1A + I1B}
and D1020 > 9
and add column Short_Profit {ProfitPct}

and add column C0010 {4_9}
and add column D1020 {10_19}
and add column E2030 {20_29}
and add column F3040 {30_39}
and add column G4050 {40_49}
and add column H50100 {50_99}
and add column I100 {100}

and add column volcnt
and add column volzero
add column average day range(30)
sort column 7 descending

If you don't know how this is supposed to work it may help to read my Fall Forest Fall post as well as 13th_floor's i'm gonna try post on GOTS blog.

An example of a strategy that could be used with this scan:
1. Take the stocks that have 10% or more runs more than 60 of the last 100 days with volume (thats like 25-30 stocks).
2. Wait for the stock to be 2% green or 2% red.
3. Buy if 2% green, sell if 2% red.
4. Based on recent history, 60% of the time you should get an additional 8% gain. Sometimes it won't work of course, but if you keep your stops at 3% or so you should have a very good risk/reward ratio.

Feel free to ask any questions or leave comments and I will try to get back to you

3 comments:

James Krieger said...

Nice.

I added the following line to it:

average volume(10) above 250000

This gets rid of some of the illiquid stocks on the scan

ICS Cyber Security said...

Inspiring writings and I greatly admired what you have to say , I hope you continue to provide new ideas for us all and greetings success always for you..Keep update more information..

Tradorax review

ICS Cyber Security said...

I was really searching for this topic as i wanted this topic to understand completely and it is also very rare in internet that is why it was very difficult to understand.

stock trading basics