StockFetcher Forums · Filter Exchange · FADING THE GAP STATISTICS FILTER<< 1 ... 7 8 9 10 11 ... 40 >>Post Follow-up
chetron
2,817 posts
msg #46511
Ignore chetron
modified
8/21/2006 2:28:41 PM

/* tachikawa */


just something i noticed with this is that, when i sort on the 20 week high absgap descending, the .7 and higher values were signifiantly more successful than the lesser during the backtesting i did. is this worth noticing?

try this.....

Fetcher[


/* GAP DOWN STREAK COUNTER */
/* gap fill statistics SHORT close, COVER open*/
/* chetronisms */
/* IS 4 A LUCKY NUMBER */

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, 1)}
set{gapdn100f, count(gapdnfilled > 0, 1)}

set{gapfilled, gapup100f + gapdn100f}

set{GapDnStr,days(xgapdn equal 0, 100)}


add column GapDnStr
add column Xgapped
add column gappeddn100
DRAW GapDnStr
/* SELECTION CRITERIA */

gappeddn100 above 64
CLOSE ABOVE .40
AVERAGE VOLUME(30) ABOVE 300000

/* profit checker - short only */

set{ ShortProfit, open - low }
set{Short10, count(Shortprofit above .10, 100) }
set{Short50, count(Shortprofit above .50, 100) }
set{LoseSh, Short10 - Short50}

add column LoseSh
add column ShortProfit
add column Short10
add column Short50

and add column cma(Shortprofit, 100)


/* SORT CRITERIA */

SORT COLUMN 7 DESCENDING

]



AND OF COURSE....

Fetcher[


/* PROFESSIONAL SHORT GAP statistics */
/* WITH CHETRONISMS */

SET{VAR1,LOW 1 DAY AGO}
set{Xgapped, VAR1 - open}
set{Xgapup, count(Xgapped < 0, 1)}
set{Xgapdn, count(Xgapped > 0, 1)}

set{absgap, abs(Xgapped)}

set{RED1, count(close BELOW open, 1) * XgapDN }
set{RED, count( RED1 > 0 , 100) }

set{fake1, count(LOW equal open, 1) * XgapDN }
set{fake, count( fake1 > 0 , 100) }

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{gapDN100f, count(gapDNfilled > 0, 100)}



set{gapfilled, gapDN100f}

/* DRAW PLOTS */

DRAW XGAPPED ON PLOT XGAPPED

/* DISPLAY COLUMNS */

and add column gappedDN100
and add column RED
and add column fake

/* SELECTION CRITERIA */


CLOSE ABOVE .40
average volume(30) above 300000

/* SORT CRITERIA */

SORT COLUMN 6 DESCENDING

]



CAN HE DO IT.....

Fetcher[




/* GAP DOWN STREAK COUNTER */
/* gap fill statistics SHORT close, COVER open*/
/* chetronisms */
/* IS 4 A LUCKY NUMBER */

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, 1)}
set{gapdn100f, count(gapdnfilled > 0, 1)}

set{gapfilled, gapup100f + gapdn100f}

set{GapDnStr,days(xgapdn equal 0, 100)}



/* PROFESSIONAL SHORT GAP statistics */
/* WITH CHETRONISMS */

SET{VAR1,LOW 1 DAY AGO}
set{XPgapped, VAR1 - open}
set{XPgapup, count(XPgapped < 0, 1)}
set{XPgapdn, count(XPgapped > 0, 1)}

set{Pabsgap, abs(XPgapped)}

set{RED1, count(close BELOW open, 1) * XPgapDN }
set{RED, count( RED1 > 0 , 100) }

set{fake1, count(LOW equal open, 1) * XPgapDN }
set{fake, count( fake1 > 0 , 100) }

set{Pgappedup100, count(XPgapup > 0, 100)}
set{Pgappeddn100, count(XPgapdn > 0, 100)}

set{Pcl1lo, close 1 day ago - low}
set{Phicl1, high - close 1 day ago }

set{Pfillup, count(Pcl1lo > 0, 1)}
set{Pfilldn, count(Phicl1 > 0, 1)}

set{Pgapupfilled, XPgapup * Pfillup }
set{Pgapdnfilled, XPgapdn * Pfilldn }

set{PgapDN100f, count(PgapDNfilled > 0, 100)}

set{Pgapfilled, PgapDN100f}

/* DRAW PLOTS */

DRAW FAKE
DRAW PGAPPEDDN100
DRAW RED ON PLOT GapDnStr
DRAW XPGAPPED ON PLOT XPGAPPED

/* DISPLAY COLUMNS */

and add column PgappedDN100
and add column RED
and add column fake

add column GapDnStr
add column Xgapped
add column gappeddn100
/* SELECTION CRITERIA */

gappeddn100 above 64
CLOSE ABOVE .40
AVERAGE VOLUME(30) ABOVE 300000

/* profit checker - short only */

set{ ShortProfit, open - low }
set{Short10, count(Shortprofit above .10, 100) }
set{Short50, count(Shortprofit above .50, 100) }
set{LoseSh, Short10 - Short50}

add column LoseSh
add column ShortProfit
add column Short10
add column Short50

and add column cma(Shortprofit, 100)

/* SORT CRITERIA */

SORT COLUMN 7 DESCENDING


]



TheRumpledOne
6,529 posts
msg #52096
Ignore TheRumpledOne
6/9/2007 1:02:13 AM

Pop to the Top

TheRumpledOne
6,529 posts
msg #54815
Ignore TheRumpledOne
9/15/2007 12:05:32 PM

Top 25 Cows to Milk

Image and video hosting by TinyPic



SFMc01
358 posts
msg #54819
Ignore SFMc01
9/15/2007 4:00:47 PM

TRO: I guess I'm the proverbial dummie who needs all explained to me in infinite detail, but, when you say: "Buy at market close, sell at the open the next session."

Are you saying to run this filter near the end of the day, select from the report for that day and buy stocks (not ever sell) before market close to hold over night, and then, sell at the open at market?



TheRumpledOne
6,529 posts
msg #54820
Ignore TheRumpledOne
9/15/2007 4:19:13 PM

SFMc01

TRO: I guess I'm the proverbial dummie who needs all explained to me in infinite detail, but, when you say: "Buy at market close, sell at the open the next session."

Are you saying to run this filter near the end of the day, select from the report for that day and buy stocks (not ever sell) before market close to hold over night, and then, sell at the open at market?
=========================================

I think you are talking about a different statistics filter.

That one showed which stocks have a tendency to gap up.

You buy them at the end of the day and sell them at the open of the next trading session.

You run the filter when the market is CLOSED. So if you ran it today (Saturday) then you pick stocks to buy at Monday's close.



SFMc01
358 posts
msg #54821
Ignore SFMc01
9/15/2007 5:00:02 PM

TRO: Thank you for being so responsive. Now I'll take another look at it.

Steve

SFMc01
358 posts
msg #54843
Ignore SFMc01
9/16/2007 7:57:34 PM

TRO: Thanks again. I'm running the filter you indicated as "/* 80% or greater selection criteria */"

Another question, please. Respectfully, you said: "You run the filter when the market is CLOSED. So if you ran it today (Saturday) then you pick stocks to buy at Monday's close.”

My question is this: Your statement means to only BUY stocks at Monday’s close when Monday’s Open is actually below Friday’s Close. Is this correct?

Steve


psheridan050
52 posts
msg #55092
Ignore psheridan050
9/23/2007 8:25:28 PM

TRO -

This is an excellent filter! Thanks for sharing as usual. I am using the filter you posted (page 8) that buys on the close and sells on the open.

I dont suppose you have tradestation code for this filter (or something like it) do you?? Thanks!

TheRumpledOne
6,529 posts
msg #55096
Ignore TheRumpledOne
9/23/2007 11:13:48 PM

"My question is this: Your statement means to only BUY stocks at Monday’s close when Monday’s Open is actually below Friday’s Close. Is this correct? "

You buy stocks AT THE OPEN!!

So if a stock gaps down at the open, you buy when it shows that it is holding green ( the price is NOT dropping anymore).





TheRumpledOne
6,529 posts
msg #55097
Ignore TheRumpledOne
9/23/2007 11:15:49 PM

psheridan050

TRO -

This is an excellent filter! Thanks for sharing as usual. I am using the filter you posted (page 8) that buys on the close and sells on the open.

I dont suppose you have tradestation code for this filter (or something like it) do you?? Thanks!
===================================================

All my code can be downloaded FOR FREE at www.kreslik.com

Just register there and look on the lefthand side of the homepage. Click on the download link and go to the TradeStation section. Download the MOTHERLODES and you'll have all of my posted code.





StockFetcher Forums · Filter Exchange · FADING THE GAP STATISTICS FILTER<< 1 ... 7 8 9 10 11 ... 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.