Candlestick patterns on stockfetcher.com
Source: http://www.stockfetcher.com/forums2/Indicators/Candlestick-Patterns/108408
Candlestick Patterns
StockFetcher provides several pre-built candlestick patterns. The pre-built patterns simply use the “pattern is” phrase followed by the name of the pattern.
In addition to the pre-built patterns, it is possible to define your own custom patterns using the standard StockFetcher syntax. The key to building candlestick screens is an understanding of the comparison of day high/low/open/closing values between other days.
For example, a screen for a bar setup or candle pattern might want to find a point where a close is above a prior day’s close. To do this, the comparison of close to close 1 day ago is needed. For example:
To search the previous day instead:
close 1 day ago above close 2 days ago
The same can be used with high, low, or open as well. Say you’re looking for stocks where the close is above the prior day’s close but the high is below the prior day’s high:
Another common comparison with candlestick patterns is comparing the body (close/open) regardless of whether the close is above the open. To do this, a few set statements will help out:
So, lets assume you wish to compare two different body_tops:
To find stocks where the last day’s body engulf’s the prior day’s body, you might use:
Here are some more examples:
Doji:
show stocks where the open equals close
and high is above open and low is below open
Example using high/low/close:
close is above close 1 day ago
and high is above high 1 day ago
and low is below low 1 day ago
Example comparing tail, head and body sizes:
set{tail_size,open – low}
set{head_size,high – close}
set{body_size,close – open}
show stocks where tail_size is more than 25% above body_size
and tail_size is above head_size
and close is above open
Advanced:
Here is a sample filter for a weekly “Inverted Hammer”:
show stocks where the weekly close minus weekly low is less than 0.001
and weekly open is more than 0.5% above weekly close
and weekly high minus weekly open is more than 50% above weekly open minus weekly close
and close is above 1 and chart-display is weekly
5 Candlestick bars down:
set{daily_diff, close – open}
show stocks where daily_diff has been below 0 for the last 5 days
and open has been decreasing for 5 days
Bearish Three Black Crows:
pattern is Bearish Three Black Crows
and price is between 5 and 50
and average volume(10) is above 100000
Note: this example uses a pre-built candle pattern.
Shooting star: