StockFetcher Forums · Filter Exchange · /* THE BIGGEST LOSERS - OVER NIGHT HOLD - LONG TRADE*/<< 1 2 3 4 5 >>Post Follow-up
TheRumpledOne
6,359 posts
msg #99752
Ignore TheRumpledOne
modified
3/18/2011 9:37:35 AM

Fetcher[
/* TRO - THE BIGGEST LOSERS - OVER NIGHT HOLD - 10 day results*/

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

set{Long_Profit, high - close 1 day ago}

set{OVER3, 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 }


add column OVER3

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
add column industry
add column sector


and add column separator
and add column corr(^DJI,100,close) {DJI}
and add column corr(^SPX,100,close) {SPX}
and add column corr(^IXIC,100,close) {IXIC}
and add column separator

/* SELECTION CRITERIA */

OVER3 above 79
avgvol(90) is above 1000000
close is between 1 and 10

sort column 5 descending

]



TheRumpledOne
6,359 posts
msg #99759
Ignore TheRumpledOne
modified
3/18/2011 10:44:03 AM

Fetcher[
apply to Industry(OIL - US EXPLORATION AND PRODUCT)

set{Long_Profit, high - close 1 day ago}

set{OVER3, count(Long_Profit > .0299 , 100)}



add column OVER3

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 5 descending
]



Use this to view your favorite industry.

Pick out the best stocks to hold overnight.



TheRumpledOne
6,359 posts
msg #99765
Ignore TheRumpledOne
3/18/2011 2:27:23 PM

Fetcher[

apply to Industry(OIL - US EXPLORATION AND PRODUCT)



set{Long_Profit, high - close 1 day ago}

set{OVER3, count(Long_Profit > .0299 , 100)}

set{WKOP, count( close above weekly open, 1) * count ( Long_Profit > .0299 , 1) }
set{RSI2a, count( RSI(2) above 50 , 1) * count ( Long_Profit > .0299 , 1) }
set{RSI2b, count( RSI(2) below 50 , 1) * count ( Long_Profit > .0299 , 1) }

set{C_WKOP, count( WKOP above 0, 100)}
set{C_RSI2a, count( RSI2a above 0, 100)}
set{C_RSI2b, count( RSI2b above 0, 100)}

and add column separator
add column OVER3
add column C_WKOP
add column C_RSI2a
add column C_RSI2b

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 5 descending
]



Testing correlations with close above weekly open and RSI(2) above and below 50.

Looks like going long at the close when close is above the weekly open has an "edge".

TheRumpledOne
6,359 posts
msg #99767
Ignore TheRumpledOne
modified
3/18/2011 3:36:28 PM

Fetcher[
apply to Industry(OIL - US EXPLORATION AND PRODUCT)

set{Long_Profit, high - close 1 day ago}

set{OVER3, count(Long_Profit > .0299 , 100)}

set{WKOP, count( close above weekly open, 1) * count ( Long_Profit > .0299 , 1) }
set{EMA5a, count( close 1 day ago above EMA(5) 1 day ago , 1) * count ( Long_Profit > .0299 , 1) }
set{EMA5b, count( close 1 day ago below EMA(5) 1 day ago , 1) * count ( Long_Profit > .0299 , 1) }

set{EMA5aLose, count( close 1 day ago above EMA(5) 1 day ago , 1) * count ( Long_Profit < 0.00 , 1) }

set{EMA5bLose, count( close 1 day ago below EMA(5) 1 day ago , 1) * count ( Long_Profit < 0.00 , 1) }

set{C_WKOP, count( WKOP above 0, 100)}
set{C_EMA5a, count( EMA5a above 0, 100)}
set{C_EMA5b, count( EMA5b above 0, 100)}

set{C_EMA5aLose, count( EMA5aLose above 0, 100)}
set{C_EMA5bLose, count( EMA5bLose above 0, 100)}

and add column separator
add column OVER3
add column C_WKOP
add column C_EMA5a
add column C_EMA5aLose
add column C_EMA5b
add column C_EMA5bLose

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 6 descending
]



Strong correlation between close and ema(5).

The C_EMA5aLose column shows how many losses when price closed above the ema(5) and you bought at the end of day.





TheRumpledOne
6,359 posts
msg #99776
Ignore TheRumpledOne
3/19/2011 9:34:23 AM

Fetcher[

apply to Industry(OIL - US EXPLORATION AND PRODUCT)

set{Long_Profit, high - close 1 day ago}

set{OVER3, count(Long_Profit > .0299 , 100)}

set{HLOW, count( low 1 day ago above low 2 days ago , 1) * count ( Long_Profit > .0299 , 1) }
set{LLOW, count( low 1 day ago below low 2 days ago , 1) * count ( Long_Profit > .0299 , 1) }

set{HLOWLose, count( low 1 day ago above low 2 days ago , 1) * count ( Long_Profit < 0.00 , 1) }
set{LLOWLose, count( low 1 day ago below low 2 days ago , 1) * count ( Long_Profit < 0.00 , 1) }

set{C_HLOW, count( HLOW above 0, 100)}
set{C_LLOW, count( LLOW above 0, 100)}

set{C_HLOWLose, count( HLOWLose above 0, 100)}
set{C_LLOWLose, count( LLOWLose above 0, 100)}

and add column separator
add column OVER3
add column C_HLOW
add column C_HLOWLose
add column C_LLOW
add column C_LLOWLose

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 6 descending

]



Check for edge with higher lows and lower lows.


TheRumpledOne
6,359 posts
msg #99784
Ignore TheRumpledOne
3/19/2011 7:52:03 PM

Fetcher[


apply to Industry(OIL - US EXPLORATION AND PRODUCT)

set{Long_Profit, high - close 1 day ago}

set{OVER3, count(Long_Profit > .0299 , 100)}

set{HLOW, count( low 1 day ago above low 2 days ago , 1) * count ( Long_Profit > .0299 , 1) }
set{LLOW, count( low 1 day ago below low 2 days ago , 1) * count ( Long_Profit > .0299 , 1) }

set{HLOWLose, count( low 1 day ago above low 2 days ago , 1) * count ( Long_Profit < 0.00 , 1) }
set{LLOWLose, count( low 1 day ago below low 2 days ago , 1) * count ( Long_Profit < 0.00 , 1) }

set{C_HLOW, count( HLOW above 0, 100)}
set{C_LLOW, count( LLOW above 0, 100)}

set{C_HLOWLose, count( HLOWLose above 0, 100)}
set{C_LLOWLose, count( LLOWLose above 0, 100)}

set{HHIGH, count( high 1 day ago above high 2 days ago , 1) * count ( Long_Profit > .0299 , 1) }
set{LHIGH, count( high 1 day ago below high 2 days ago , 1) * count ( Long_Profit > .0299 , 1) }

set{HHIGHLose, count( high 1 day ago above high 2 days ago , 1) * count ( Long_Profit < 0.00 , 1) }
set{LHIGHLose, count( high 1 day ago below high 2 days ago , 1) * count ( Long_Profit < 0.00 , 1) }

set{C_HHIGH, count( HHIGH above 0, 100)}
set{C_LHIGH, count( LHIGH above 0, 100)}

set{C_HHIGHLose, count( HHIGHLose above 0, 100)}
set{C_LHIGHLose, count( LHIGHLose above 0, 100)}

add column OVER3

and add column separator
add column C_HHIGH
add column C_HHIGHLose
add column C_LHIGH
add column C_LHIGHLose

and add column separator
add column C_HLOW
add column C_HLOWLose
add column C_LLOW
add column C_LLOWLose

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 5 descending

]



Displays higher/lower highs/lows.

But let's take a pause...

"Look, for example, at this elegant little experiment. A rat was put in a T-shaped maze with a few morsels of food placed on either the far right or left side of the enclosure. The placement of the food is randomly determined, but the dice is rigged: over the long run, the food was placed on the left side sixty per cent of the time. How did the rat respond? It quickly realized that the left side was more rewarding. As a result, it always went to the left, which resulted in a sixty percent success rate. The rat didn't strive for perfection. It didn't search for a Unified Theory of the T-shaped maze, or try to decipher the disorder. Instead, it accepted the inherent uncertainty of the reward and learned to settle for the best possible alternative.

The experiment was then repeated with Yale undergraduates. Unlike the rat, their swollen brains stubbornly searched for the elusive pattern that determined the placement of the reward. They made predictions and then tried to learn from their prediction errors. The problem was that there was nothing to predict: the randomness was real. Because the students refused to settle for a 60 percent success rate, they ended up with a 52 percent success rate. Although most of the students were convinced they were making progress towards identifying the underlying algorithm, they were actually being outsmarted by a rat."

P64 HOW WE DECIDE (italics added)

Finding stocks that "paid off" 80 times or more during the past 100 days should be "good enough". Of course, since this is trading, ANYTHING CAN HAPPEN. But given the inherent unpredictability of the market, should be we happy to just simple trade these stocks rather than walk the path of the Yale students?

1) Use one of these overnight hold filters to find a suitable stock to trade.

2) Buy it at the close

3) Sell it for a profit or get stopped out the next trading session.

If the 80 times or more holds true over the next 100 days, then you should receive a nice profit for your efforts.



TheRumpledOne
6,359 posts
msg #99790
Ignore TheRumpledOne
modified
3/20/2011 12:30:50 PM

Fetcher[
apply to Industry(OIL - US EXPLORATION AND PRODUCT)

set{Long_Profit, high - close 1 day ago}

set{OVER3, count(Long_Profit > .0299 , 100)}

set{OVER3MAX, OVER3 100 day high}
set{OVER3MIN, OVER3 100 day low}

and add column separator
add column OVER3
add column OVER3MAX
add column OVER3MIN

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

]



Looking to see how steady the OVER3 value is over the last 100 days.

TheRumpledOne
6,359 posts
msg #99823
Ignore TheRumpledOne
3/22/2011 3:54:23 PM

Is anyone trading stocks from this filter?

The oil stocks are paying off HUGE!

Rick67
64 posts
msg #99832
Ignore Rick67
3/23/2011 12:08:45 PM

TOR,

Very interesting filter.

I notice your code says " HIGH MINUS PREVIOUS CLOSE ".

1) In live trading, how do you know when the high has been reached?

2) A nice gap down could wipe out days of profits. How are you using a stop loss? Are you setting a stop loss in the extended market?

Keep up the great work!

Thanks,
Rick


TheRumpledOne
6,359 posts
msg #99834
Ignore TheRumpledOne
modified
3/23/2011 3:22:40 PM

1) I know the CURRENT HIGH. I am after a certain amount. 3, 4, 5 cents or more based on the statistics. That is my target. Once target is reached, I exit part or all of the position.

2) STOP LOSS is a function of position size and risk.

STOP LOSS = RISK / POSITION SIZE

I try not to enter BEFORE earnings. Though I forget to check TLB yesterday. I bought TLB at the close. TLB dropped at the open. But it rallied, I got out "early" with a small profit and left 15 cents on the table.. dang it!!

This is TRADING - ANYTHING CAN HAPPEN!!

Remember, if trading was not guessing, then why would you need a stop loss?

Important Disclaimer:
Upon viewing, reading, utilizing, downloading, participation, attending, registration and/or purchase/attendance in/of ANYTHING, I hereby waive all claims against ANYBODY for any loss in trading or personal expense I incur related to but not limited to these materials/webinars/chat rooms/channels/seminars/newsletters and events.
I am aware and agree that these materials/webinars/chat rooms/channels/seminars/newsletters and events are provided/conducted for educational purposes only and Nothing provided is to be taken as trading advice.

IMPORTANT:
The risk of loss in online trading futures, options, cash currencies and other leveraged transaction products can be substantial. Therefore only "risk capital" should be used. Futures, options, cash currencies and other leveraged transaction products are not suitable investments for everyone. The valuation of futures, options, cash currencies and other leveraged transaction products may fluctuate and as a result clients may lose more than the amount originally invested and may also have to pay more later. Consider your financial condition before deciding to invest or online trade.

CFTC RULE 4.41
Hypothetical or simulated performance results have certain inherent limitations unlike actual performance record: simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or overcompensated of the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No presentation is being made that any account will or is likely to achieve profits or losses similar to those predicted or shown.




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