Chart Pattern Bullish Flag

Please note that the information about expected price targets provided by Auto Chart Patterns isn't a recommendation for what you should personally do. Do not take this data as investment advice. It should only be used for education and research. As with any trade, always look first and then leap.

A bullish flag is a technical analysis figure that implies a continuation of the main trend after some correction. The main trend forms a flagpole, and the correction forms a parallel flag channel. The price in the channel should not fall below the middle of the flagpole. It is expected that after the price breaks the flag's parallel channel up, further price growth is expected to be approximately equal to the size of the flagpole.

The indicator searches for patterns on the last 600 bars. The pattern consists of lines indicating price movements Price Line and lines of the parallel flag channel Flag. The start and end points of each price line are in 5/5 pivots. The breakout of the pattern is fixed by the close value. Crossing the flag line with the close value in the interval between points 2 and 5 is not allowed. In the In Progress mode, the indicator looks for not only formed, but also emerging patterns. The last two points of such a pattern may not be in pivots, and the last price line will be dotted.

The dotted horizontal line that ends with the Target label indicates the expected price level after the pattern is completed. As new bars appear, the line extends to the right until the last bar, until the pattern status changes from Awaiting to another. The label tooltip shows the price and the current status of the pattern. When the status changes, the color of the label also changes. There are 4 statuses in total:

  • Awaiting. The price did not reach the expected level, while there is no low value in the channel below the middle of the flagpole. If the price breaks through the upper line of the flag, then the condition must be met that after that it did not fall below the minimum of all the low flag channels.
  • Reached. The price broke the upper line of the flag and reached the expected level.
  • Failed. The price broke the upper line, did not reach the target level and fell below the minimum of all the low channels, either the price broke the lower line, or a low appeared in the flag channel below the middle of the flagpole.
  • Indefinable. The indicator cannot unambiguously determine the status of the pattern.

If the indicator finds two intersecting patterns, then preference is given to the one whose status is Awaiting. If the statuses of the intersecting patterns are Failed or Reached, or the status of both is Awaiting, then the chart will display the pattern in which points 3 and 5 are located closer to the lower line of the flag channel. A pattern with the Indefinable status is deleted if it intersects with a pattern that has a different status.

Alerts:

  • New Pattern. Triggered when a new pattern appears on the chart. A pattern is considered new if it has a different position of point 1, 2 or 4.
  • Pattern Breakout. It is triggered when a bar that has closed outside the flag appears. Only the breakout in the direction of the target is registered. A breakout in the opposite direction will not trigger an alert.

Inputs:

  • Patterns - Defines which pattern will be drawn depending on its status. Possible values: All, Awaiting and Reached, Only Awaiting, Last Awaiting. If Last Awaiting is selected, only one pattern with the Awaiting status will be displayed, the first point of which is located to the right of all the others.
  • Price Targets - Defines which price targets will be drawn depending status of the pattern. Possible values: All, Only Awaiting, Awaiting and Reached, None.
  • Permissible Deviation – The maximum allowable deviation of points in the flag from the lines of the parallel channel. Calculated as a percentage of the channel height.
  • In Progress – Search for emerging patterns.