ZenFunds

wedges and flags

ZenFunds Updated   
This script identifies chart patterns: wedges, flags, triangles on the chart

It has many settings. You can choose by which extremums you want to identify patterns - by the edges of wicks (tails, shadows), or by the edges of candle bodies.

You can also adjust the accuracy - how smooth and accurate the shapes must be in order for them to be considered wedges or triangles.

You can also customize other parameters of the figure, for example, how long the flagpole should be in order to consider such a figure a wedge, a flag or a triangle.

You can also set how large the allowable spread of candles relative to the flagpole can be.

The Sensitivity parameter - will allow you to control the number of patterns detected depending on whether you want the patterns to be detected more often, or if they cover more candles and thus be more reliable

You can also customize your styles.

All key settings are accompanied by tooltips
Release Notes:
Corrected wording

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?