1
/
of
1
store-traders-com
Stocks & Commodities V. 31:5 (26-34): Head & Shoulders, Algorithmically, Part 2 by Giorgos E. Siligardos, PhD
Stocks & Commodities V. 31:5 (26-34): Head & Shoulders, Algorithmically, Part 2 by Giorgos E. Siligardos, PhD
Regular price
$4.95 USD
Regular price
Sale price
$4.95 USD
Quantity
Couldn't load pickup availability
Head & Shoulders, Algorithmically, Part 2 by Giorgos E. Siligardos, PhD
Crossing The (Neck)line
In part 1, we looked at how to find important milestone points in a head & shoulders formation. In this, the second article of a two-part series, we present an algorithm that will let the computer find the formations for us.
In Figure 1, you can see what I call milestone points for a completed closing-price head & shoulders (H&S) formation that is, an H&S formation generated by the closing price where it has penetrated the neckline. However, these milestones are defined regardless of whether there is an H&S pattern present. In this article, I will elaborate on the necessary conditions that these points must meet in order to outline an H&S. Being aware of these conditions will help you create an identification algorithm.
Metrics and notations
Before delving into the conditions, I will define some of the important points and metrics (see Figure 2):
* V is the highest closing price during the time span between L0 and H1
* W is the highest closing price during the time span between L3 and the last closing price
* The time distance (number of bars) between H1 and H will be called Dist1 and the time distance between H and H2 will be called Dist2
* The time distance between L0 and L1 will be called Dist1#, the time distance between L1 and L2 will be called Dist#, and the time distance between L2 and L3 will be called Dist2#
* t1 will be the time distance between H1 and L1 and t2 will be the time distance between L2 and H2.
The conditions
The first condition has to do with the vertical distance relationship between H1 and H as well as between H2 and H. We want H1 to be sufficiently higher than L1, but not too close to H. In addition, H2 must be sufficiently higher than L2 but again not too close to H (see Figure 2).
Crossing The (Neck)line
In part 1, we looked at how to find important milestone points in a head & shoulders formation. In this, the second article of a two-part series, we present an algorithm that will let the computer find the formations for us.
In Figure 1, you can see what I call milestone points for a completed closing-price head & shoulders (H&S) formation that is, an H&S formation generated by the closing price where it has penetrated the neckline. However, these milestones are defined regardless of whether there is an H&S pattern present. In this article, I will elaborate on the necessary conditions that these points must meet in order to outline an H&S. Being aware of these conditions will help you create an identification algorithm.
Metrics and notations
Before delving into the conditions, I will define some of the important points and metrics (see Figure 2):
* V is the highest closing price during the time span between L0 and H1
* W is the highest closing price during the time span between L3 and the last closing price
* The time distance (number of bars) between H1 and H will be called Dist1 and the time distance between H and H2 will be called Dist2
* The time distance between L0 and L1 will be called Dist1#, the time distance between L1 and L2 will be called Dist#, and the time distance between L2 and L3 will be called Dist2#
* t1 will be the time distance between H1 and L1 and t2 will be the time distance between L2 and H2.
The conditions
The first condition has to do with the vertical distance relationship between H1 and H as well as between H2 and H. We want H1 to be sufficiently higher than L1, but not too close to H. In addition, H2 must be sufficiently higher than L2 but again not too close to H (see Figure 2).
Share
