Elliott Waves are a system of repeating patterns discovered by Ralph Nelson Elliott. Elliott discovered 13 patterns in total, but the 5-3 pattern consisting of 8 waves is considered the basic one.
According to Elliott's wave theory, waves are divided into "Motive” and "Corrective”. Motive waves are price movements that coincide with the direction of the main trend, Corrective waves are movements against the main trend. In the screenshot shown above, the motive waves are (1), (3), (5), (a), and (c), and corrective waves are (2), (4), and (b). Also, according to Elliott, any motive wave of the basic model can be represented as five smaller waves, and any corrective wave as a three. Thus, the basic model 5-3 can be represented as 2 waves of a higher wave level and as 34 waves of a lower one.
The Chart Pattern Elliott Wave indicator is configured to recognize the most common wave patterns, which are built according to the following rules:
Impulse (Motive wave):
ZigZag (Corrective wave):
The indicator analyzes the last 600 bars in search of patterns, conditionally dividing them into three levels along the maximum length. For the primary recognition, the DTW (Dynamic Time Warping) algorithm is used. This algorithm allows you to find compressed and time-stretched sequences of values of the specified source that match the specified template. The start and end points of the waves in the found patterns are tied to the most suitable pivots. If there is no suitable pivot for the start or end point of the whole pattern, the indicator uses the highest high and lowest low values, respectively. Then the indicator checks the rules for Impulse and ZigZag and draws the patterns that are among the longest and most fitting (based on sub-wave patterns) among those the algorithm initially found.
The following marking is used to indicate the level that the wave belongs to:
|Level||Five (Motive wave)||Three (Corrective wave)|
|Large||I, II, III, IV, V||A, B, C|
|Medium||(1), (2), (3), (4), (5)||(a), (b), (c)|
|Low||1, 2, 3, 4, 5||a, b, c|
This marking does not correspond to the historical levels of the Elliott wave theory; it is conditional. It displays the length or nesting level of the pattern.
Source - Source for the primary search. The indicator searches for the pattern in the source data using the DTW algorithm.
Invert Pattern - This flag allows you to change the direction of the pattern, to search for impulse in a downtrend, and a zigzag in an uptrend.
Length type - How the wavelength is calculated when checking the rules of pattern construction:
Absolute - the wavelength is calculated as the price difference between the start and end point of the wave.
Percent - the wavelength is calculated as the percentage change in price between the start and end points of the wave.
When new data is received, the indicator updates and clarifies previously found patterns. Changing any settings of the indicator leads to its complete recalculation. The result may differ from the expected one.