StockFetcher Forums · Filter Exchange · /* THE BIGGEST LOSERS - OVER NIGHT HOLD - LONG TRADE*/<< 1 2 3 4 5 >>Post Follow-up
TheRumpledOne
6,362 posts
msg #100431
Ignore TheRumpledOne
modified
4/26/2011 3:22:30 PM

Fetcher[
SYMLIST(SWC,AN,IAG,HL,ERTS,CEF,LWSN,TLAB,TAT)

set{PL, high - close 1 day ago}

add column PL
add column close 1 day ago {p_close}
]



Buy at close on 4/26/11

Try to sell for profit on 4/27/11

RESULTS

Symbol Last pl
TAT 2.61 0.03
TLAB 4.81 0.01
HL 9.49 0.40
LWSN 11.06 0.06
ERTS 20.24 0.03
IAG 20.57 0.77
SWC 21.73 1.34
CEF 25.1 1.47
AN 33.36 0.46


The first 2 didn't pay off but the rest more than made up for it!!






dominijanni
2 posts
msg #102648
Ignore dominijanni
9/21/2011 12:32:34 PM

TRO,

What do you mean when you said...

If you are holding over night, you must do your due diligence.

Do not FRONT RUN earnings!!



ramtrader
6 posts
msg #102665
Ignore ramtrader
9/22/2011 3:27:22 PM

Anyone still using this filter?

TheRumpledOne
6,362 posts
msg #102675
Ignore TheRumpledOne
9/23/2011 8:38:08 AM

I mean you have to do your home work.

Front run means to enter a position right BEFORE earnings come out.



TheRumpledOne
6,362 posts
msg #102676
Ignore TheRumpledOne
9/23/2011 8:39:15 AM

What others do/don't do should not be a concern of yours.

Focus on your system, your plan, your trade and your portfolio!

mahkoh
895 posts
msg #102858
Ignore mahkoh
modified
10/7/2011 5:13:21 PM

I have been busy with this filter recently. During my vacation I did not have constant internet and computer access and decided this would be a good time to test a strategy. My idea was to make a short and a long version of the filter and place market on close orders on 10 longs and 10 shorts. This should make me market neutral.

I set the filter so that it looks for an 80 % probabilty of a 0.9% profit over yesterday's close, scanning for stocks over 8$ as you may get some slippage with MOC orders. I choose to sort by OVERX because I want to put a bit more weight to recent data.

If statistics are correct I expect to get stuck with about 4 stocks (20 % of my position) every day that I will likely have to close out with a loss. The question is: Will my 16 daily winners cover for my 4 daily losses? Take into consideration that a 0.8% profit counts as a loser.

As I considered the possibility that I would occasionaly hold a losing position overnight I added TRO's trend indicator and a measurement of the 8 day slope of the 30 MA(q). I let this value weigh in deciding which stocks to play for the next day.

You will have stocks gapping against you (and hopefully stocks gapping in your desired direction as well). I added a "fading the gap" exerpt so that in case of a gap against me I could reset my target to breakeven and have 70 % probability of the gap being filled.

The long filter:

Fetcher[
/*OVERNIGHT LONG*/

close above 8
avg volume(90) above 300000
OVERX above 79
do not draw OVERX
filldnpct above 0.70
do not draw filldnpct

set{Long_Profit1, high - close 1 day ago}
set{Long_Profit2, Long_Profit1 / close 1 day ago}
set{Long_Profit, Long_Profit2 * 100}
draw cma (Long_Profit, 100)


/* ENTER THE PERCENTAGE YOU WANT TESTED */
set{OVERX, count(Long_Profit > 0.89 , 100)}


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

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}

add column separator

set{target,close*1.009}
add column target

draw ma(30)
set{q,8 day slope of ma(30)}
ADD COLUMN q

set{T10, count(10 day slope of the close above 0,1)}
set{T60, count(50 day slope of the close above 0,1)}
set{T200, count(200 day slope of the close above 0,1)}

Set{a1, T200 * 1}
Set{a2, T60 * 10}
Set{a3, T10 * 100}

Set{aa, a1 + a2}
Set{TREND, aa + a3}
set{T10a,days(10 day slope of the close below 0, 100)}
set{T60a,days(60 day slope of the close below 0, 100)}
set{T200a,days(200 day slope of the close below 0, 100)}
add column trend


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

SORT COLUMN 14 DESCENDING

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}
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 the short filter:

Fetcher[
/*OVERNIGHT SHORT*/

close above 8
avg volume(90) above 300000
OVERX above 79
do not draw OVERX
filluppct above 0.70
do not draw filluppct

set{Long_Profit1, close 1 day ago - low}
set{Long_Profit2, Long_Profit1 / close 1 day ago}
set{Long_Profit, Long_Profit2 * 100}
draw cma(Long_Profit, 100)

/* ENTER THE PERCENTAGE YOU WANT TESTED */
set{OVERX, count(Long_Profit > 0.89 , 100)}

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

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}

add column separator

set{target,close*0.991}
add column target

draw ma(30)
set{q,8 day slope of ma(30)}
add column q

set{T10, count(10 day slope of the close above 0,1)}
set{T50, count(50 day slope of the close above 0,1)}
set{T200, count(200 day slope of the close above 0,1)}

Set{a1, T200 * 1}
Set{a2, T50 * 10}
Set{a3, T10 * 100}

Set{aa, a1 + a2}
Set{TREND, aa + a3}
set{T10a,days(10 day slope of the close below 0, 100)}
set{T60a,days(60 day slope of the close below 0, 100)}
set{T200a,days(200 day slope of the close below 0, 100)}
ADD COLUMN TREND

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

SORT COLUMN 14 DESCENDING

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}
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}
]



My vacation lasted 3 weeks and statistics did indeed prove correct: Roughly half of the positions are closed out within minutes after market open, and usually after 1 hour there would be 4 problem cases left in the portfolio.
In general it proved best to close those out between 10:30 and 11:30.

The testing period was with $3.500 per position on paper from sept 5 until sept 23. The first weeks went very well with daily profits averaging $250. Top day was over $800, worst was a $30 loss. One can imagine that I had a very pleasant vacation thinking about where to spend all the money flowing my way when going live with this strategy.
Then in the last three days things started to deteriorate. I got stuck with more losing positions and it became very hard to just break even. Nevertheless I went live when I got home, after all it would not be very realistic to think there would never be a losing streak. I did scale back a bit, taking on between 10 and 14 $2500 positions.

It has not been easy since, in the 3 weeks since going live there have only been a couple of days with tiny profits, I have switched back to paper a couple of times and of course those were the days with decent gains. I am currently back on
paper as I still think that this startegy should work.

So far I haven't used stop losses, but it in practice it turns out that losing positions rarely recover once the loss is beyond
3 to 4%. This seems reasonable, after all 4 out of 5 should be winners. The winners generate 4 x 1% and if you close the loser below 4 % there should be a profit in the long run.






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 2016 - 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