- Dmitry Fedoseev
- Version: 1.1
- Updated: 19 June 2021
- Activations: 5
An indicator of patterns #21, #22, #23 ("Flag") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski.
- Alerts - show alert when an arrow appears
- Push - send a push notification when an arrow appears (requires configuration in the terminal)
- PeriodBars - period in bars
- K - an additional parameter that influences the accuracy of pattern shape recognition. The influence of the parameter will be visible if not all of the pattern variants are enabled (not all three parameters Expanding, Tapered, Parallel)
- InclInDir - an arrow directed toward the flag slope or in the opposite direction
- Expanding - expanding flag
- Tapered - tapered flag
- Parallel - parallel flag
- ArrowType - a symbol from 1 to 17
- ArrowVShift - vertical shift of arrows in points
- ShowFlag - show patterns as lines
- Color - color of lines
- Auto5Digits - automatic multiplication of ArrowVShift by 10 when working with 5 and 3 digit quotes.
Note. An arrow appears on a forming bar and can disappear as the bar changes.
It cannot be guaranteed that the indicator recognizes the patterns exactly as implied by the author.
Recommended optimization parameters: PeriodBars, K and different combinations of InclInDir, Expanding, Tapered, Parallel.