StockFetcher Forums · Filter Exchange · /* THE BIGGEST LOSERS - OVER NIGHT HOLD - LONG TRADE*/<< 1 2 3 4 5 >>Post Follow-up
TheRumpledOne
6,407 posts
msg #99838
Ignore TheRumpledOne
modified
3/23/2011 6:00:39 PM

Fetcher[
/* THE BIGGEST LOSERS - OVER NIGHT HOLD - LONG TRADE - TESTER*/

/* ADD THE SYMBOLS YOU WANT IN THE SYMLIST */
symlist(LNG)

set{Long_Profit, high - close 1 day ago}

/* ENTER THE PRICE YOU WANT TESTED */
set{OVERX, count(Long_Profit > .0999 , 100)}


/* LEAVE THE REST ALONE */
set{OVERXMAX, OVERX 100 day high}
set{OVERXMIN, OVERX 100 day low}

and add column separator
add column OVERX
add column OVERXMAX
add column OVERXMIN

and add column separator
add column Long_Profit {Today}
add column Long_Profit 1 DAY AGO {-1 DAY}
add column Long_Profit 2 DAYS AGO {-2 DAY}
add column Long_Profit 3 DAYS AGO {-3 DAY}
add column Long_Profit 4 DAYS AGO {-4 DAY}


and add column separator
add column Long_Profit 5 DAYS AGO {-5 DAY}
add column Long_Profit 6 DAY AGO {-6 DAY}
add column Long_Profit 7 DAYS AGO {-7 DAY}
add column Long_Profit 8 DAYS AGO {-8 DAY}
add column Long_Profit 9 DAYS AGO {-9 DAY}

and add column separator
add column Long_Profit 10 DAYS AGO {-10 DAY}


and add column separator
and add column exchange
and add column sector
and add column industry
and add column separator

sort column 8 descending
]



Use this filter to test stock(s) to see how well they perform over night.

This example shows how many times LNG move 10 cents or more over night during the last 100 days.

OVERXMIN tells you the worst case of the last 100 days. If this number is 60 or higher, you have a winner. I prefer 80 or higher.

As is, LNG did not make 10 cents or more at least 80 times. So I will drop the number down until OVERXMIN reaches 80 or higher. Now I have my TAKE PROFIT target.

Fetcher[
/* THE BIGGEST LOSERS - OVER NIGHT HOLD - LONG TRADE - TESTER*/

/* ADD THE SYMBOLS YOU WANT IN THE SYMLIST */
symlist(LNG)

set{Long_Profit, high - close 1 day ago}

/* ENTER THE PRICE YOU WANT TESTED */
set{OVERX, count(Long_Profit > .0299 , 100)}


/* LEAVE THE REST ALONE */
set{OVERXMAX, OVERX 100 day high}
set{OVERXMIN, OVERX 100 day low}

and add column separator
add column OVERX
add column OVERXMAX
add column OVERXMIN

and add column separator
add column Long_Profit {Today}
add column Long_Profit 1 DAY AGO {-1 DAY}
add column Long_Profit 2 DAYS AGO {-2 DAY}
add column Long_Profit 3 DAYS AGO {-3 DAY}
add column Long_Profit 4 DAYS AGO {-4 DAY}


and add column separator
add column Long_Profit 5 DAYS AGO {-5 DAY}
add column Long_Profit 6 DAY AGO {-6 DAY}
add column Long_Profit 7 DAYS AGO {-7 DAY}
add column Long_Profit 8 DAYS AGO {-8 DAY}
add column Long_Profit 9 DAYS AGO {-9 DAY}

and add column separator
add column Long_Profit 10 DAYS AGO {-10 DAY}


and add column separator
and add column exchange
and add column sector
and add column industry
and add column separator

sort column 8 descending
]



If I buy 4000 shares and make $0.03 that's $120 gross. You should be able to "print" at least one $100 bill over night.



Rick67
64 posts
msg #99843
Ignore Rick67
modified
3/23/2011 7:51:13 PM

Hmmm...

I may not know what I am looking at (or doing) yet...but...

I commented out the SYMLIST and got 10775 stocks. Then double clicked on OVERX.

WPO with Long_Profit > .50 looks good.

If I wanted to select the best stocks for this system, is the highest OVERX the column to use?

Thanks,

Rick

TheRumpledOne
6,407 posts
msg #99856
Ignore TheRumpledOne
3/24/2011 6:36:41 PM

Best stocks for this system?

That is entirely up to to you!!

Share price, number of shares, profit per share, volume, etc... are all factored in when making a selection.

A $200 stock for you may not be "best" for the $5 stock trader.

I look at the OVERXMIN column to see the worst case for OVERX during the last 100 days. If this is 80 or higher, I will trade it.



TheRumpledOne
6,407 posts
msg #99866
Ignore TheRumpledOne
modified
3/25/2011 9:04:51 AM

Fetcher[

/* THE BIGGEST LOSERS - OVER NIGHT HOLD - LONG TRADE - BOTTOM FISH */



set{Long_Profit, high - close 1 day ago}

/* ENTER THE PRICE YOU WANT TESTED */
set{OVERX, count(Long_Profit > .0299 , 100)}


/* LEAVE THE REST ALONE */
set{OVERXMAX, OVERX 100 day high}
set{OVERXMIN, OVERX 100 day low}

and add column separator
add column OVERX
add column OVERXMAX
add column OVERXMIN

and add column separator
add column Long_Profit {Today}
add column Long_Profit 1 DAY AGO {-1 DAY}
add column Long_Profit 2 DAYS AGO {-2 DAY}
add column Long_Profit 3 DAYS AGO {-3 DAY}
add column Long_Profit 4 DAYS AGO {-4 DAY}


and add column separator
add column Long_Profit 5 DAYS AGO {-5 DAY}
add column Long_Profit 6 DAY AGO {-6 DAY}
add column Long_Profit 7 DAYS AGO {-7 DAY}
add column Long_Profit 8 DAYS AGO {-8 DAY}
add column Long_Profit 9 DAYS AGO {-9 DAY}

and add column separator
add column Long_Profit 10 DAYS AGO {-10 DAY}


and add column separator
and add column exchange
and add column sector
and add column industry
and add column separator

/* SELECTION CRITERIA */

close above 1
avgvol(90) above 1000000
OVERXMIN above 79
low equal low 30 day low


sort column 8 descending
]



You should be able to find a stock in your price range.



mahkoh
1,065 posts
msg #99886
Ignore mahkoh
modified
3/25/2011 5:48:35 PM

TRO I'm trying to get a grasp of this strategy. If I understand correctly you sell at the open if it gaps up and if it gaps down the odds are strongly in your favor that at some point during the day it will trade near your entry and you can exit at least at breakeven.
It might be an idea to have a column that tells you which of the candidates has the best record of gapping up since this is where you make your money. And another one, maybe even more important, in case the stock gaps down, at which point the odds are no longer in your favor that it will move back up to your entry point. This would be helpful in selecting the place for a stop-loss. The first column isn't that difficult, I could borrow that from your fading the gap filter, but the latter is a bigger challenge that goes beyond my coding skills. Do you think that can be done?
And if not, would you give us some insight on where you would want to place a stop-loss? (assuming you use one)

TheRumpledOne
6,407 posts
msg #99914
Ignore TheRumpledOne
3/26/2011 3:46:48 PM

This filter has nothing to do with gaps.

Yes, if the stock gaps up, you will have a winner.

What this filter does is show you the winners from HIGH to previous close.

Look at the intraday chart of ROYL. You'll see if you bailed, you would have taken an unnecessary loss more than once.

One way to trade this is to buy at the close, put in your take profit limit order and then wait and see.

If you find yourself down at the end of the day, you can either take the loss, let it ride or buy another round to average down.

If you look at the display, you can see the current day profit and the previous 10 days. That should give you confidence to trade this method which was designed for those who can't day trade for whatever reason.







TheRumpledOne
6,407 posts
msg #99915
Ignore TheRumpledOne
modified
3/26/2011 3:48:34 PM

You are right, you can use the code from my GAP STATISTICS filter to see the gap up frequency.

You can use the code from my TRAVEL filter to see how far the stocks travel from low to close or you can look at this:

Fetcher[

/* TRO TRAVEL FOR CLOSE MINUS LOW */

symlist(ROYL)

set{Close_Low, CLOSE - LOW}


and add column separator
add column Close_Low {Today}
add column Close_Low 1 DAY AGO {-1 DAY}
add column Close_Low 2 DAYS AGO {-2 DAY}
add column Close_Low 3 DAYS AGO {-3 DAY}
add column Close_Low 4 DAYS AGO {-4 DAY}


and add column separator
add column Close_Low 5 DAYS AGO {-5 DAY}
add column Close_Low 6 DAY AGO {-6 DAY}
add column Close_Low 7 DAYS AGO {-7 DAY}
add column Close_Low 8 DAYS AGO {-8 DAY}
add column Close_Low 9 DAYS AGO {-9 DAY}

and add column separator
add column Close_Low 10 DAYS AGO {-10 DAY}

]





mahkoh
1,065 posts
msg #99920
Ignore mahkoh
modified
3/26/2011 6:23:32 PM

Maybe this modified fading the gap filter is indeed more suited to trade gaps overnight

Fetcher[
/* gap fill statistics */
CLOSE between 5 and 99
AVERAGE VOLUME(90) ABOVE 500000
CMA(absgap,30) above 1
absgap 30 day high below 30



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

set{absgapz, abs(Xgapped)}
set{absgapx,absgapz/close 1 day ago}
set{ absgap,absgapx*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{gapup100f, count(gapupfilled > 0, 100)}
set{gapdn100f, count(gapdnfilled > 0, 100)}

set{gapfilled, gapup100f + gapdn100f}

/* DRAW PLOTS */

DRAW XGAPPED ON PLOT XGAPPED

/* DISPLAY COLUMNS */

and add column gappedup100
and add column gapup100f
set {filluppct , gapup100f/gappedup100}
an add column filluppct

and add column gapfilled

and add column gappeddn100
and add column gapdn100f
set {filldnpct , gapdn100f/gappeddn100}
an add column filldnpct


and add column cma(absgap, 30)
and add column absgap 30 day high
and add column industry
/* SELECTION CRITERIA */


/* SORT CRITERIA */

SORT COLUMN 15 DESCENDING

set{gapratio , gappedup100/gappeddn100}
add column gapratio
]



The gapratio tells you how many times the stock gapped up for every gap down during the last 100 days. Filldnpct tells you your chances of getting out at breakeven in case it does gap down. If you want to be "market neutral" you can as well select a few with a low gapratio to short at the close. In that case Filluppcnt is the column to look at for your chances if it does gap up.

absgap- 6 weekhigh is also a column to watch, this is the highest gap during the last 30 days. A large gap up or down ofcourse will have an impact on your average gap column.

There's one thing I would like to adjust in this filter: The MA(absgap30) column shows the average gap in % during the last 30 days. This value however is the average value of gaps up and gaps down. I would like to have 2 seperate columns for the up and down gaps. If anyone has ideas on how to accomplish this I would appreciate it.








TheRumpledOne
6,407 posts
msg #99955
Ignore TheRumpledOne
modified
3/28/2011 10:24:32 AM

Fetcher[


/* THE BIGGEST LOSERS - OVER NIGHT HOLD - LONG TRADE - BOTTOM FISH */



set{Long_Profit, high - close 1 day ago}

/* ENTER THE PRICE YOU WANT TESTED */
set{OVERX, count(Long_Profit > .4999 , 100)}


/* LEAVE THE REST ALONE */



set{LOSERS, count(Long_Profit below 0,100)}
set{LOSING,days(Long_Profit ABOVE 0, 100)}
set{WINNING,days(Long_Profit BELOW 0, 100) }
set{WLStreak, WINNING - LOSING }


set{OVERXMAX, OVERX 100 day high}
set{OVERXMIN, OVERX 100 day low}

and add column separator
add column OVERX
add column OVERXMAX
add column OVERXMIN

and add column separator
add column LOSERS
add column WLStreak

and add column separator
add column Long_Profit {Today}
add column Long_Profit 1 DAY AGO {-1 DAY}
add column Long_Profit 2 DAYS AGO {-2 DAY}
add column Long_Profit 3 DAYS AGO {-3 DAY}
add column Long_Profit 4 DAYS AGO {-4 DAY}


and add column separator
add column Long_Profit 5 DAYS AGO {-5 DAY}
add column Long_Profit 6 DAY AGO {-6 DAY}
add column Long_Profit 7 DAYS AGO {-7 DAY}
add column Long_Profit 8 DAYS AGO {-8 DAY}
add column Long_Profit 9 DAYS AGO {-9 DAY}

and add column separator
add column Long_Profit 10 DAYS AGO {-10 DAY}


and add column separator
and add column exchange
and add column sector
and add column industry
and add column separator

/* SELECTION CRITERIA */


close below 40
avgvol(90) above 1000000
OVERXMIN above 49

sort column 8 descending

]



200 * $0.50 = $100



TheRumpledOne
6,407 posts
msg #99957
Ignore TheRumpledOne
3/28/2011 11:06:32 AM

Fetcher[
/* THE BIGGEST LOSERS - OVER NIGHT HOLD - LONG TRADE */

set{Long_Profit, high - close 1 day ago}

/* ENTER THE PRICE YOU WANT TESTED */
set{OVERX, count(Long_Profit > .0299 , 100)}

set{LOSERS, count(Long_Profit below 0,100)}
set{LOSING,days(Long_Profit ABOVE 0, 100)}
set{WINNING,days(Long_Profit BELOW 0, 100) }
set{WLStreak, WINNING - LOSING }
set{WStreakMAX, WLStreak 100 day high}
set{LStreakMAX, WLStreak 100 day low}

set{OVERXMAX, OVERX 100 day high}
set{OVERXMIN, OVERX 100 day low}

and add column separator
add column OVERX
add column OVERXMAX
add column OVERXMIN

and add column separator
add column LOSERS
add column WLStreak
add column WStreakMAX
add column LStreakMAX

and add column separator
add column Long_Profit {Today}
add column Long_Profit 1 DAY AGO {-1 DAY}
add column Long_Profit 2 DAYS AGO {-2 DAY}
add column Long_Profit 3 DAYS AGO {-3 DAY}
add column Long_Profit 4 DAYS AGO {-4 DAY}


and add column separator
add column Long_Profit 5 DAYS AGO {-5 DAY}
add column Long_Profit 6 DAY AGO {-6 DAY}
add column Long_Profit 7 DAYS AGO {-7 DAY}
add column Long_Profit 8 DAYS AGO {-8 DAY}
add column Long_Profit 9 DAYS AGO {-9 DAY}

and add column separator
add column Long_Profit 10 DAYS AGO {-10 DAY}


and add column separator
and add column exchange
and add column sector
and add column industry
and add column separator



/* SELECTION CRITERIA */

symlist(lng,lei)


sort column 8 descending

]



Added the WStreakMAX and LStreakMAX columns to display the longest winning and losing streaks of the last 100 days.



StockFetcher Forums · Filter Exchange · /* THE BIGGEST LOSERS - OVER NIGHT HOLD - LONG TRADE*/<< 1 2 3 4 5 >>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.