StockFetcher Forums · Filter Exchange · filter for two days pattern<< >>Post Follow-up
morteza471
125 posts
msg #113303
Ignore morteza471
5/11/2013 2:07:07 AM

need a filter for two days pattern.
day one (inverted hammer or grave stone doji) and day two(hammer or dragon fly doji)
thank you

stockfetcher
963 posts
msg #113304
5/11/2013 6:09:01 AM

Hi,

Given candle patterns are restrictive to start with, I relaxed some of the criteria. You'll probably want to tweak the settings below, but the following should help you get started:

Fetcher[
set{body_bottom,min(open,close)}
set{body_top,max(open,close)}
set{body_size, body_top - body_bottom}
set{body_ratio, body_size / day point range }

/* Eliminate clutter */
high 1 day ago more than 0.5 percent above low 1 day ago

/* inverted hammer 1 day ago */
body_top 1 day ago < Day Position(0.2,1) 1 day ago
and body_ratio 1 day ago < 0.2

/* Hammer */
body_bottom > Day Position(0.8,1)
and body_ratio < 0.2

and do not draw body_top
and do not draw day position(0.2, 1)
and do not draw day position(0.8, 1)
and do not draw body_ratio
and do not draw body_bottom

/* This line isn't needed. */
close > 10
]



By the way, here is a good topic on writing candlestick patterns:
http://www.stockfetcher.com/help/Candle-Stick-Patterns/100251

Thanks,
StockFetcher.com Support

morteza471
125 posts
msg #113306
Ignore morteza471
5/11/2013 11:02:16 AM

thank you

StockFetcher Forums · Filter Exchange · filter for two days pattern<< >>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