Sunday, July 24, 2011

Slopes, Patterns And Trendline Validations



THE BULL FLAG

Calculating a slope really is very simple. We'll start with the Bull Flag at the left of the chart, at Blue #1.

Once we have two data points, which would be Blue #1 and Blue #3, we subtract the two in order to get the distance between them, so 75.40 - 74.15 = 1.55 points. In order to find the slope of that trendline, which means the rate at which the trendline is declining each session, we need to count the number of days that there were between the two data points, which was nine days.

We then divide the distance between our two data points, which was 1.55 points, by the number of days between those data points.

1.55 divided by 9 = Slope: 0.1722, or a little over seventeen cents.

Guess what? IT'S THAT SIMPLE! We all now know how to calculate a slope!

Each session, we now know that the trendline is declining by 0.1722 and we can subtract that amount each session, beginning with 74.15, which is Blue #3. We don't need to go all the way back to Blue #1.

So, for example, the trendline for the session after Blue #3 would be:

74.15 - 0.1722 = Trendline at 73.9778 for the next session after Blue # (74.15), which would be February 4.

IMPORTANT NOTE:

If the trendline is steep, like this one, it's important to carry out the slope enough decimals, i.e. the full 0.1722, and not round it off to 0.17 (seventeen cents), or the calculation for where the trendline is each session can be thrown off quite a bit.

For better accuracy, it is a good idea when price is coming close to a trendline to count the days since Blue #3, muliply that number times our slope of 0.1722, then subtract it from Blue #3.

Example:

When the stock was breaking out, it was important to know where that trendline Blue #1-#3 was! I put comments for February 14, 15 and 16 on the chart, for easier viewing.

After the upside breakout, February 15 was a "Ye a Olde Knuckle-biter" close for The Bulls, with the stock closing back below the breakout, leaving them wondering if they had a valid breakout, or not. The only way for The Bulls to know in the next session, February 16, whether or not they had a valid breakout, was to know where the trendline came in on February 16. The Bulls needed the stock to CLOSE back above it.

Again, for accuracy, it's better to do a full calculation, rather than a daily subtraction, because those "Knuckle-biters" are a key juncture for decision-making: Do we want to stay long on a SECOND close back below the breakout?

February 16 was the 9th session since we established the slope of 0.1722, at Blue #3. Not Blue #1. BLUE #3.

9 days X 0.1722 = 1.5498 points, subtracted from BLUE #3 (74.15),not Blue #1.

74.15 - 1.5498 = Trendline at 72.60002 on February 16.

We can see how helpful that calculation is when we look at the February 16 candle. The stock open at 72.78, came back and planted a foot just about smack on the 72.60 trendline, validating it as support (the session low was 72.56), then took off to the upside and CLOSED well above the breakout.

That kind of information is VERY helpful. Buying the stock near that 72.60 trendline on February 16, or buying it after it opened at 72.78, went down and validated the trendline as support, then printed 72.79, a penny above the open, was an EXCELLENT entry into the stock.

Daytraders love that kind of setup. The "fast down" from the opening price (72.78) to validate a trendline, or to fill a gap, then a print of 72.79, above the opening price...they're all over that one!

We can see from the chart that, with the exception of the February 22 black candle, the targets of 75.70 and 79.77 got made handily, with thirty-eight cents extra on the upside, to the 80.15 high, on March 1. That is not always the case. There's no "always" in the stock market. Be aware of that. Targets just are what the pattern measurement suggests (math for the Bull Flag is at the bottom left of the chart), and are "what we're aiming for."

Note that the Long-Leggetty "Bearish" Doji Star of February 24 was NOT bearish. We see a lot of those single-day bearish-looking candles, like the Gravestone Dojis that we looked at in ARIA, which also were not bearish.

We'll stop here for now. That's a lot of information to absort. The next installment, which I'll do at some point in the future and add to this post, will be on The Channel, which begins at Black #1, on February 11. There are some additional notes on this chart regarding that pattern, and the Bearish Rising Wedge pattern, but I still need to review it to make sure that I've got the numbers right.

The above information at least will get you started on calculating slopes, calculating pattern targets, and understanding the importance of validated trendlines.

EDIT: I found a couple of math errors on the Channel pattern in the middle of the chart, so I've updated the chart as of 7:20PM EDT July 24, 2011 to reflect the corrections.

8 comments:

Mary said...

Okay . .I have added the comments and charts to my Melf file :-). Thank you very much. I have one question. I am assuming that your example of 9 days means that after 9 days . .you start over with your calculation and just keep re-adjusting the number. . .or of course it could have been 7 days or 5 days . .but you re- calculate once that number of days between the 2 data points expires? Right?

I am speaking about this comment:

>>>>>We then divide the distance between our two data points, which was 1.55 points, by the number of days between those data points.
1.55 divided by 9 = Slope: 0.1722, or a little over seventeen cents.<<<<<<

So for 9 days that number is good and then you recalculate and get a new number for the slope each day?

Mary

Melf Elf said...

(>>>>>We then divide the distance between our two data points, which was 1.55 points, by the number of days between those data points.
1.55 divided by 9 = Slope: 0.1722, or a little over seventeen cents.<<<<<<

So for 9 days that number is good and then you recalculate and get a new number for the slope each day?

Mary,

No. Once we have found the slope, which in this example is 0.1722, as you said, that number remains a constant. We're done. Beyond that calculation to find the slope, we're only talking about using that constant slope (it never changes) to determine where the TRENDLINE is each session.

Don't confuse the slope with the trendline. The slope, which is a constant number, is used to tell us the rate at which Trendline #1-#3 is descending each day, which is a little of seventeen cents.

Every session, the trendline descends at the fixed amount of 0.1722 (the constant slope), no matter which of the following three ways that we choose to calculate it.

Let's say, for example, that on the 12th day after the high of the pattern (75.70), at Blue #1, we want to find where the trendline is. We've established, on Day 9, that the slope is 0.1722, using the method that you quoted at the beginning of this response.

To find the trendline for Day 12, we can either:

1. Start at the 75.50 high, at Blue #1, then multiply 12 X 0.1722 = 2.0664, then subtract that from the 75.50 high at Blue #1, which was 75.50...so

75.50 - 2.0664 = 73.4336. That's where the trendline is on the 12th day after the top.

OR we can do Method #2...

2. Start at the high, at Blue #3, which was the 9th day from the high at 75.50 The twelfth day would be three days beyond the 9th day, so we use a multiplier of only three days. Multiply 3 X the constant slope of 0.1722 = 0.5166 , then subtract that from Blue #3, which was 75.14.

74.15 - 0.5166 = 73.6334, same answer as in Example #1.

OR we can do Method #3...

3. Once we know that the constant slope is 0.1722 at Blue #3, we simply can keep subtracting that slope of 0.1722 each session, to find out where the trendline is in each succeeding session until we get to Day 12 that we're using in this example.

Day 9, the trendline at Blue #3, is at 74.15, which is where we established that the slope is a constant 0.1722.

For Day 10, take 74.15 (the Day 9 data point for the trendline) - the constant slope of 0.1722, so 74.15 -0.1722 = Trendline is at 73.9778 on Day 10.

For Day 11 - Use the Day 10 Trendline Data Point of 73.9778 - 0.1722 = Trendline is at 73.8056 on Day 11.

For Day 12 - Use the Day 11 Trendline Data Point of 73.8056 - 0.1722 = Trendline at 73.6334.

No matter which of the three methods that we choose to use, the answer is the same: Day 12, the trendline is at 73.6334.

PLEASE tell me that this makes sense. If it doesn't, I'm going to impale myself on a trendline that has a particularly sharp downward "slope." LOL.

Melf Elf said...

(75.50 - 2.0664 = 73.4336. That's where the trendline is on the 12th day after the top).

Mary,

Curses! I transposed the numbers. It should read 73.6334, not 73.4336. Sorry about that.

Mary said...

Haha. YES . .that is exactly what I did!! You are so clever to follow my muddled thinking. I DID confuse the trendline and slope . .but NO MORE. I totally understand what you are saying and that cleared it up for me. YES . .I get it! No impaling :-) Also got your edit comments . . I am following you here so do not worry about me. Your last post set me straight. I can't believe you go to this trouble so thank you. I have saved it . .and have the formula now. Thank you for your time. Great teaching there :-)

Mary

jim said...

"PLEASE tell me that this makes sense. If it doesn't, I'm going to impale myself on a trendline that has a particularly sharp downward "slope.""

Don't cut yourself "Short". It is Purrty clear Melf. :)

In your Method 2 response to Mary, did you transpose something else and type 75.14 as Blue #3 because you actually used 74.15 when you subtracted?,
" Multiply 3 X the constant slope of 0.1722 = 0.5166 , then subtract that from Blue #3, which was 75.14.
74.15 - 0.5166 = 73.6334, same answer as in Example #1."

jim said...

"Blue #1 and Blue #3, we subtract the two in order to get the distance between them, so 75.40 - 74.15 = 1.55 points."
Melf why are you using 75.40 when on the chart the high printed 75.70 which would be a distance of 1.55. As it is written 75.40 - 74.15 = 1.25 jc

jim said...

Fabulous fun Melf. Most grateful for this knowledge. With so many numbers flying around I see how they can easily be transposed. I knew what you meant though. jc

Melf Elf said...

(With so many numbers flying around I see how they can easily be transposed. I knew what you meant though. jc)

Mary and Jim,

Thanks for your understanding on the transposed numbers. Jim, yes, I did transpose the numbers that you pointed out. By 10PM last night, I felt like my eyes were bleeding, typing all of those numbers while my cursor was jumping all over the place, willy nilly. UGH. I also had to keep toggling back and forth to look at the chart, so I couldn't look at the numbers while I typed and transposed a couple.

That was a challenge for me! LOL.