StockFetcher Forums · Filter Exchange · REQUEST FOR CONSECUTIVE CANDLES<< >>Post Follow-up
four
4,012 posts
msg #83587
Ignore four
modified
11/29/2009 12:50:03 PM

/* 5 candles */
close 1 day ago is above open 1 day ago
close 2 days ago is below open 2 days ago
close 3 days ago is below open 3 days ago
close 4 days ago is below open 4 days ago
close 5 days ago is above open 5 days ago

set{calc, open - high 1 day ago}
set{calc2, calc + high 1 day ago}

add column separator
add column calc
add column high 1 day ago
add column calc2

close > 10
Average Volume(30) > 1000000

calc between 0.11 and 0.15

/*
LONG = limit calc2

A or B: A. sell at .10 profit -OR- B. stop loss: price closes below second white candle low

bkd 8/28/09
hsp on 8/20/09, spg & nyx & abb 8/13/09 beautiful run
*/


* Solution for 3 red candles flanked by white candles is above *

===================================================
-----------------------------------------------------------------------------------------

* Original Question is below *


IS THERE A WAY TO IDENTIFY THIS PATTERN?


GREEN CANDLE, [2 OR MORE CONSECUTIVE RED CANDLES], GREEN CANDLE



straken
469 posts
msg #83588
Ignore straken
11/29/2009 1:25:15 PM

Candles are relative to length of the candle as well price movement which you did not specify. Here is one of my old filters, I hope it helps you. If you would like to build your own just go into your my filter bar, and select the candlestick menu tab, and follow the instructions. From there you can build and customize your own candlestick filter per your needs and edit it with additional info such as volume, optionable, MA,MACD, etc. The one I post here is very generic.


Fetcher[
/* Candlestick characteristics/variables */
set{body_top, max(close,open)} and do not draw body_top
set{body_bottom, min(close,open)} and do not draw body_bottom
set{body_size, body_top - body_bottom} and do not draw body_size
set{day_range, high - low} and do not draw day_range
set{body_size_ratio, body_size / day_range} and do not draw body_size_ratio
set{upper_shadow, high - body_top} and do not draw upper_shadow
set{lower_shadow, body_bottom - low} and do not draw lower_shadow
set{average_body_size, CMA(body_size,5)} and do not draw average_body_size
set{average_day_range, CMA(day_range,5)} and do not draw average_day_range
and close 1 day ago is above open 1 day ago
and close 2 days ago is below open 2 days ago
and body_size_ratio 2 days ago is below 0.40
and close 3 days ago is below open 3 days ago
and close 4 days ago is above open 4 days ago
Average Volume(90) is above 100000
and close is between 5 and 250
]



four
4,012 posts
msg #83590
Ignore four
11/29/2009 2:17:54 PM

Thanks for opening my eyes to all the different options.

-----
I think this is correct for the pattern: G,R,R,G

close is above open /*green*/
close 1 day ago is below open 1 day ago /*red*/
close 2 days ago is below open 2 days ago /*red*/
close 3 days ago is above open 3 days ago /*green*/

This requires to code a constant 2 days of R

>>> ---- Here's the question---- <<<

Is there a way to make sure the pattern occurs as: G, R,R, G

where R is variable but not less than 2 consecutive R

- 2 or more (ie 2, 3, 4, n candles)
- consecutive red candles occur
- no green candles to break the chain of red candles

straken
469 posts
msg #83591
Ignore straken
11/29/2009 3:10:59 PM

Try this one....

Fetcher[
/* Two Black Crows/Inverse Oreo*/
set{body_top, max(close,open)} and do not draw body_top
set{body_bottom, min(close,open)} and do not draw body_bottom
set{body_size, body_top - body_bottom} and do not draw body_size
set{day_range, high - low} and do not draw day_range
set{body_size_ratio, body_size / day_range} and do not draw body_size_ratio
set{upper_shadow, high - body_top} and do not draw upper_shadow
set{lower_shadow, body_bottom - low} and do not draw lower_shadow
set{average_body_size, CMA(body_size,5)} and do not draw average_body_size
set{average_day_range, CMA(day_range,5)} and do not draw average_day_range
and close is above open
and close 1 day ago is below open 1 day ago
and close 2 days ago is below open 2 days ago
and close 3 days ago is above open 3 days ago
Average Volume(90) is above 100000
and close is between 5 and 250
]



straken
469 posts
msg #83592
Ignore straken
11/29/2009 3:18:36 PM

Note Fridays candle will be a white one with the red border and can be very misleading to technical scans for the pattern. The first few stocks I Iooked at that the filter returned appeared to match your criteria.

chetron
2,817 posts
msg #83600
Ignore chetron
11/29/2009 9:35:57 PM

if you really want grrg.....


Fetcher[

/* Two Black Crows/Inverse Oreo*/
set{body_top, max(close,open)} and do not draw body_top
set{body_bottom, min(close,open)} and do not draw body_bottom
set{body_size, body_top - body_bottom} and do not draw body_size
set{day_range, high - low} and do not draw day_range
set{body_size_ratio, body_size / day_range} and do not draw body_size_ratio
set{upper_shadow, high - body_top} and do not draw upper_shadow
set{lower_shadow, body_bottom - low} and do not draw lower_shadow
set{average_body_size, CMA(body_size,5)} and do not draw average_body_size
set{average_day_range, CMA(day_range,5)} and do not draw average_day_range
and close is above open
close above close 1 day ago
close 1 day ago below close 2 day ago
close 2 day ago below close 3 day ago
close 3 day ago above close 4 day ago
close 1 day ago is below open 1 day ago
close 2 days ago is below open 2 days ago
close 3 days ago is above open 3 days ago
Average Volume(90) is above 100000
close is between 5 and 250
]



four
4,012 posts
msg #85696
Ignore four
1/7/2010 2:09:04 AM

Fetcher[
set{daily_diff, close minus open}
low has been decreasing for 3 days

set{daily_di, count(daily_diff < 3, 5)}

add column daily_di

close 1 day ago < open 1 day ago
close > open
volume > volume 1 day ago

close > 1
average volume (45) > 100000

rsi(2) < 5 2 days ago
rsi(2) decreasing last 5 days
add column rsi(2) on plot 1
]





StockFetcher Forums · Filter Exchange · REQUEST FOR CONSECUTIVE CANDLES<< >>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