StockFetcher Forums · Filter Exchange · Need filter with long black candle today?<< >>Post Follow-up
palmtops
5 posts
msg #41904
Ignore palmtops
modified
3/11/2006 2:49:55 PM

Hello all. I've been using StockFetcher the last few weeks and don't know how I've traded without it. I'm also impressed with the knowledge in the forums and look forward to becoming part of the community.

I'm have trouble building what I assume is a simple filter (I promised I tried first before asking for help).

I'm looking for something that says:

The last 2 days (at least) the close was below the open and today was a long black body (with little or no shadow and I assume that would be a percent).

My goal is to find a stock thats been down the last few days and really took a hit today so that I can watch for gaps tomorrow. This is based on "Guerrilla Trading" tactics.

Hope that makes since and thanks in advance,

William




TheRumpledOne
6,359 posts
msg #41909
Ignore TheRumpledOne
modified
3/11/2006 7:53:32 PM

Fetcher[
/* 3 down days with a long body today filter */

set{BodyTop, max( open, close) }

set{BodyBot, min( open, close) }

set{BodySize, BodyTop - BodyBot }

/* you can change the 20 day length to whatever you prefer */

set{BodyAvg, CEMA(BodySize , 20 ) }

set{BodyAvg2, CEMA(BodySize , 20 ) * 2 }

/* SF why isn't this working all the time */

close 2 days ago below open 2 days ago

close 1 day ago below open 1 day ago

close below open

/* if bodysize > than average bodysize, then it's long */

BodySize above BodyAvg

/* use this for really long bodies: BodySize above BodyAvg2 */

/* price volume selection criteria */

close above 1

Volume above 1000000
]




Fetcher[
/* 3 down days with an extra long body today filter */

set{BodyTop, max( open, close) }

set{BodyBot, min( open, close) }

set{BodySize, BodyTop - BodyBot }

/* you can change the 20 day length to whatever you prefer */

set{BodyAvg2, CEMA(BodySize , 20 ) * 2 }

/* SF why isn't this working all the time */

close 2 days ago below open 2 days ago

close 1 day ago below open 1 day ago

close below open

/* if bodysize > than twice average bodysize, then it's long */

BodySize above BodyAvg2

/* price volume selection criteria */

close above 1

Volume above 1000000
]




Two versions, long and extra long...LOL!

HTH.

MAY ALL YOUR FILLS BE COMPLETE.

P.S. StockFetcher, why is this returning WHITE CANDLES sometimes over the past 2 days? The charts are messed up!!



palmtops
5 posts
msg #41916
Ignore palmtops
modified
3/11/2006 10:49:42 PM

Absolutely beautiful! Exactly what I wanted. Thanks so much RumpledOne.

Now if I wanted to see what happened the next day after this scenario happened, would I add an offset or is that backtest?

Again thanks for your help.



TheRumpledOne
6,359 posts
msg #41918
Ignore TheRumpledOne
3/11/2006 11:55:25 PM

Funny thing... I can't seem to get the hang of the SF backtest.

We all have our "blindspots".

I would just run the filter and the look at it 1 day ago, 2 days ago, etc...

HTH.



palmtops
5 posts
msg #41920
Ignore palmtops
3/12/2006 12:22:17 AM

I'll do that. Thanks for your help RO.


StockFetcher Forums · Filter Exchange · Need filter with long black candle today?<< >>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