StockFetcher Forums · Filter Exchange · FADING THE GAP STATISTICS FILTER<< 1 ... 34 35 36 37 38 ... 40 >>Post Follow-up
TheRumpledOne
6,529 posts
msg #97206
Ignore TheRumpledOne
10/26/2010 7:11:39 PM

POP

TheRumpledOne
6,529 posts
msg #97579
Ignore TheRumpledOne
11/21/2010 10:39:06 AM

FYI

http://www.sfomag.com/eSFO/eSFO2010_11.aspx?pg=47

taylorsk
106 posts
msg #97635
Ignore taylorsk
11/27/2010 11:32:29 AM

Like that article TRO..

HOw about this filter to count index gaps, gaps filled, and closes that went in the direction of the gap?

I woul suggest fading the gaps when the statistics indicate it is a higer probability than gaps succeeding in thier direction.

I have been fading gaps and milking cows for a while with success. I have always been an indexw atcher and now this gives me some index statistics to help me decide on what type of gaps to look for gaps up or down...

Thanks again...

Fetcher[
/* TRO - FADING THE GAP STATISTICS FILTER */

/* SELECTION CRITERIA */

symlist(qqqq,spy)


set{Xgapped, open - close 1 day ago}
set{Xgapup, count(Xgapped > 0, 1)}
set{Xgapdn, count(Xgapped < 0, 1)}

set{absgap, abs(Xgapped)}

set{gappedup100, count(Xgapup > 0, 100)}
set{gappeddn100, count(Xgapdn > 0, 100)}

set{closelo, close 1 day ago - low}
set{hiclose, high - close 1 day ago }

set{fillup, count(closelo > 0, 1)}
set{filldn, count(hiclose > 0, 1)}

set{gapupfilled, Xgapup * fillup }
set{gapdnfilled, Xgapdn * filldn }

set{gapupfilled100, count(gapupfilled > 0, 100)}
set{gapdnfilled100, count(gapdnfilled > 0, 100)}

set{gapuphold100, count(close > open,100)}
set{gapdownhold100, count(close < open, 100)}

/* DRAW PLOTS */

DRAW XGAPPED ON PLOT XGAPPED


add column gappedup100
add column gapupfilled100
add column gapuphold100
add column gappeddn100
add column gapdnfilled100
add column gapdownhold100
]




TheRumpledOne
6,529 posts
msg #97656
Ignore TheRumpledOne
11/28/2010 11:21:47 AM

You left out the diamonds!!

taylorsk
106 posts
msg #97662
Ignore taylorsk
11/28/2010 4:41:09 PM

True.

Left out the diamonds....generally just have these 2 on the screen. trying to reduce clutter, plus trade Nasdaq stocks mostly.

I have also generated a filter on gaps that fil vs. gaps that result in a close in the direction of the gap. Theory being if a stock statistically gaps, fills, but then recoveres and closes in the direction of teh gap, you might get stopped out more often....
I like to trade gaps that fill, but statistically dont recover and close in the direction of the gap...
A positve value for Gap***strengh means the stock does not close in the direction of the gap as often as it gives up the gap statistically speaking in the last 100 days...

Fetcher[
/* TRO - FADING THE GAP STATISTICS FILTER */

volume above 750000
and Average Volume(30)is above 1000000
close above 25


set{Xgapped, open - close 1 day ago}
set{Xgapup, count(Xgapped > 0, 1)}
set{Xgapdn, count(Xgapped < 0, 1)}

set{absgap, abs(Xgapped)}

set{gappedup100, count(Xgapup > 0, 100)}
set{gappeddn100, count(Xgapdn > 0, 100)}

set{closelo, close 1 day ago - low}
set{hiclose, high - close 1 day ago }

set{fillup, count(closelo > 0, 1)}
set{filldn, count(hiclose > 0, 1)}

set{gapupfilled, Xgapup * fillup }
set{gapdnfilled, Xgapdn * filldn }

set{gapupfilled100, count(gapupfilled > 0, 100)}
set{gapdnfilled100, count(gapdnfilled > 0, 100)}

set{gapuphold100, count(close > open, 100)}
set{gapdownhold100, count(close < open, 100)}


set{gapupstrength, gapupfilled100-gapuphold100}
set{gapdnstrength, gapdnfilled100-gapdownhold100}

/* DRAW PLOTS */

DRAW XGAPPED ON PLOT XGAPPED


add column gappedup100
add column gapupfilled100
add column gapuphold100
add column gapupstrength
add column gappeddn100
add column gapdnfilled100
add column gapdownhold100
add column gapdnstrength

]




taylorsk
106 posts
msg #97700
Ignore taylorsk
12/1/2010 11:40:11 AM

Milked JKS this morning.



TheRumpledOne
6,529 posts
msg #97723
Ignore TheRumpledOne
12/2/2010 10:18:55 AM

Nice trading!



taylorsk
106 posts
msg #97725
Ignore taylorsk
12/2/2010 10:54:25 AM

Hey RumpledOne...

Found an error in my logic on the statistics filter looking for stocks that gap and looking for stocks that fill the gap but do not close in the direction of the gap.


I was using the code

set{gapuphold5, count(close > open, 5)}
set{gapdownhold5, count(close < open, 5)}

using the 5 period so I could manually check the numbers. This returns all days that the close>open or close< open and not just the gap days. .

I am trying to figure out a way to count only days that a stock closes in the direction of the gap

I have read the AND OR screens you wrote, but cannot get it to work or at least Have not as of yet figured it out to work.....

What I am trying to figure is

If a stock gaps up how often does it fill the gap down and not close higher
If a stock gaps down how often does it fill the gap up and not close lower

I would of coarse like to tie this into your overall Fade the Gap filter.....

Here is the 5 period scan I use to manually check things.

Fetcher[
/* TRO - FADING THE GAP STATISTICS FILTER */

volume above 750000
and Average Volume(30)is above 1000000
and the average day range(20) is above 3%
close is between 25 and 75

set{Xgapped, open - close 1 day ago}
set{Xgapup, count(Xgapped > 0, 1)}
set{Xgapdn, count(Xgapped < 0, 1)}

set{absgap, abs(Xgapped)}

set{gappedup5, count(Xgapup > 0, 5)}
set{gappeddn5, count(Xgapdn > 0, 5)}

set{closelo, close 1 day ago - low}
set{hiclose, high - close 1 day ago }

set{fillup, count(closelo > 0, 1)}
set{filldn, count(hiclose > 0, 1)}

set{gapupfilled, Xgapup * fillup }
set{gapdnfilled, Xgapdn * filldn }

set{gapupfilled5, count(gapupfilled > 0, 5)}
set{gapdnfilled5, count(gapdnfilled > 0, 5)}


set{gapuphold5, count(close > open, 5)}
set{gapdownhold5, count(close < open, 5)}


set{gapupstrength, gapupfilled5-gapuphold5}
set{gapdnstrength, gapdnfilled5-gapdownhold5}

/* DRAW PLOTS */

DRAW XGAPPED ON PLOT XGAPPED


add column gappedup5
add column gapupfilled5
add column gapuphold5
add column gapuphold
add column gapupstrength
add column gappeddn5
add column gapdnfilled5
add column gapdownhold5
add column gapdnstrength



sort column 12 descending

]






taylorsk
106 posts
msg #97762
Ignore taylorsk
12/3/2010 9:53:37 AM

Further reaserch looks like I cant do the above due to the nesting issue.

Off to Exel I go.

TheRumpledOne
6,529 posts
msg #98039
Ignore TheRumpledOne
modified
12/17/2010 8:06:32 AM

Fetcher[

/* TRO Frequency distribution of High - Open for gap down days */

symlist(aapl,rimm,qqqq)

/* gap fill statistics */

set{Xgapped, open - close 1 day ago}
set{Xgapup, count(Xgapped > 0, 1)}
set{Xgapdn, count(Xgapped < 0, 1)}

set{absgap, abs(Xgapped)}

set{gappedup100, count(Xgapup > 0, 100)}
set{gappeddn100, count(Xgapdn > 0, 100)}

set{cl1lo, close 1 day ago - low}
set{hicl1, high - close 1 day ago }

set{fillup, count(cl1lo > 0, 1)}
set{filldn, count(hicl1 > 0, 1)}

set{gapupfilled, Xgapup * fillup }
set{gapdnfilled, Xgapdn * filldn }

set{gapup100f, count(gapupfilled > 0, 100)}
set{gapdn100f, count(gapdnfilled > 0, 100)}

set{gapfilled, gapup100f + gapdn100f}

/* Run Forest, Run */

set{x1, high - open}
set{Long_Profit, x1 * Xgapdn }

set{B1A, count(Long_Profit > .00 , 100)}
set{B2A, count(Long_Profit > .03, 100)}
set{B0010, B1A - B2A}

set{C1A, count(Long_Profit > .04 , 100)}
set{C2A, count(Long_Profit > .09, 100)}
set{C0010, C1A - C2A}

set{D1A, count(Long_Profit > .09 , 100)}
set{D2A, count(Long_Profit > .19, 100)}
set{D1020, D1A - D2A}

set{E1A, count(Long_Profit > .19 , 100)}
set{E2A, count(Long_Profit > .29, 100)}
set{E2030, E1A - E2A}

set{F1A, count(Long_Profit > .29 , 100)}
set{F2A, count(Long_Profit > .39, 100)}
set{F3040, F1A - F2A}

set{G1A, count(Long_Profit > .39 , 100)}
set{G2A, count(Long_Profit > .49, 100)}
set{G4050, G1A - G2A}

set{H1A, count(Long_Profit > .49 , 100)}
set{H2A, count(Long_Profit > .99, 100)}
set{H50100, H1A - H2A}

set{I100, count(Long_Profit > .99 , 100)}

and add column B0010 {1_3}
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}


/* DISPLAY COLUMNS */

and add column gappedup100
and add column gappeddn100
and add column gapfilled
and add column gapup100f
and add column gapdn100f

and add column cma(absgap, 100)
and add column absgap 100 day high
and add column absgap 100 day low


sort column 11 descending

]







StockFetcher Forums · Filter Exchange · FADING THE GAP STATISTICS FILTER<< 1 ... 34 35 36 37 38 ... 40 >>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.