ZenFunds

Double top and double bottom

This script identifies double top and double bottom chart patterns

It has many settings. For example, 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.

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

There are also several settings which you can determine the parameters of the pattern - the length and proportions of the lines included in it.

You can also customize your styles.

All key settings are accompanied by tooltips

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?