New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Candlestick Building Blocks : "Uptrend" and "Downtrend"?
Hi everybody,
In the blog "Scanning Technically", there is an article called "Candlestick Building Blocks" (
http://stockcharts.com/articles/scanning/2011/03/candlestick-building-blocks.html?st=candlestick+building+blocks). This paper presents nine new 'building block' patterns that can be integrated into an advanced scan or a scan standard. I searched the description of two of these 'building block' patterns that are "Uptrend"and "Downtrend" high and low but I have not found anything on the web site, but maybe I looked ill.
Could someone give me the solution for these two 'building block' patterns that are "Uptrend" and "Downtrend"?
Thank you all to help me to see the light!
Joujou
0
Answers
OK, so, I actually took the step of asking Stockcharts.com what calculation they use, and this was the answer Jack Smith
provided me:
"Our trend definitions are based on the 10-day exponential moving average and the midpoint of the day's data bar. If the
midpoint is above the 10-day EMA, the stock is in an uptrend; if it is below it, the stock is in a downtrend. The definitions are
based on recommendations in Greg Morris's book "Candlestick Charting Explained.""
Here's the link to the whole conversation:
scan.stockcharts.com/discussion/92/uptrend-downtrend-what-is-the-time-frame-for-the-uptrend-and-downtrend-scan-terms-old-s-c-a-n?
I was hoping that dropping the "Uptrend" or "Downtrend" Candlestick Building Block in the advanced scan engine would reveal it's component calculation. All it shows is this: "and [Uptrend is true]". This clause did not help any with trying to figure it out.
markd: If the "Uptrend" and "Downtrend" are Candlestick Building Blocks, my thinking would be that it would stay at the candlestick level and look at the previous 1-4 period close, high, or low like how gord commented in 2011 from your old scan archive link.
On the surface, it seems strange and hard to believe that a Candlestick Building Block would use chart Moving Average/trend analysis for its calculation. The SCC support answer does say "stock" which suggests these two patterns are looking higher than at the Candlestick level.
I do know that Greg Morris has made a major point of knowing what the prior trend is when it comes to pattern analysis. I guess this answer could very well be the case. I am not sure if I am having doubts or if I need to move on.
UPDATE: I guess the reason why I am having any doubt is because the other patterns in this category are at the Candlestick level.
patternswere defined.It's not a pattern. It is a building block.
I think they included an EMA as a "building block", even though it is not strictly a candle pattern or documented in the literature, (e.g. Steve Nison) because they needed a way to define the trend (per Greg Morris' requirement) and because the variety of possible rising or falling candle patterns that might look like an uptrend (or downtrend) is way too large to code (some probably haven't even happened yet). An EMA test is much easier to code, more reliable, and easier for users to verify (although, for this, the terms should be documented more transparently). It is an arbitrary choice (they might have chosen say, a 10 day stochastic above 50) but I think the advantages outweigh the possible disadvantages. And of course you can always use your own definition of trend instead.
http://stockcharts.com/school/doku.php?id=chart_school:scanning:tutorial
[Uptrend = true]
The Uptrend pattern will find stocks who's current price is above the mid-point of the current daily range and is above the 10 day Exponential Moving Average (EMA). Note that the UpTrend pattern can only be used for prices.
Thanks a lot for your reply.
Let us be clear. If I'm right, the following scan reproduces the Uptrend pattern:
// The Candlestick Building Blocks - Uptrend pattern
// Close in upper half of the day's range
[type = stock]
and [close> [[high + low] / 2]]
#and [close > EMA(10,close)] // best is the line below
and [close > EMA(10,[[high + low] / 2])]
and [close > ema(10,close)]
is enough to meet the definition. The second example (if it works) would be the ema of the mid points of the last 10 days, which is not the same thing as the ema of the closes of the last 10 days (although the scan result might be the same most of the time).
In fact, now that I think about this second line, if we have a strong uptrend then most of the closing prices will be located towards the top of the range and we should get stocks with EMA (10, close) > EMA (10, [[high + low] / 2]). My comment : "// best is the line below" was wrong.
By the way, these examples work!