Pennant Brkout

From MultiCharts
Jump to navigation Jump to search

Definition

The Pennant Breakout indicator plots each pennant formation identified as well as the up or down breakout from each pennant. It plots whichever breakout comes first if it occurs within the specified BarsPast input value. Pennant extensions are displayed as points, while the breakouts are plotted as crosses.

A pennant is a type of continuation pattern where a period of consolidation is followed by a breakout movement in the same direction as the initial large movement.

If a new pennant pattern is identified within the BarsPast value of the previous pennant, the new pennant replaces the previous one. If the DrawLines input value = true, the previous pennant is not removed. In case there is a breakout from the most recent pennant within BarsPast value, the pennant lines are drawn in a wider width in order to distinguish this pattern from any other pennants nearby.

Default Inputs

Length sets the number of bars used in the pennant calculations, 7 by default.

MaxConsolIndex sets the index value to adjust tightness of the consolidation pattern, 1.5 by default.

BarsPast sets the number of bars past the price pattern to identify a breakout, 5 by default.

DrawLines set true to draw lines for the pennant, true by default.

DrawExtensions set true to draw extensions of the pennant lines, true by default.

Color1 sets the first color used to identify pennant patterns, red by default.

Color2 sets the second color used to identify pennant patterns, magenta by default.