Double Top Double Bottom [MS]

Automatic Double Top and Double Bottom pattern scanner for any time frame, any asset.

Simple to use, just add to your chart, and set the size (in the settings) for the patterns you want to find.
• Green patterns are bullish
• Red patterns are bearish
• Alerts are available for when new patterns are displayed
• When a pattern completes (at the neckline), it will change from dotted lines to solid lines.

To scan for multiple sizes of patterns, add the script to your chart multiple times.

Use the link below or PM us to obtain access to this indicator.
Release Notes:
Version 2
* Adds Take Profit and Stop Loss lines
* Adds Setting for choosing pattern symmetry (from 0-1)
* Eliminates some failed patterns
Release Notes:
Release Notes: Version 3
Added New Settings
  • Vertical Symmetry setting - Consider patterns with uneven peaks
  • Ignore Wicks - Only consider the candle wax for calculations
  • Completion Buffer - Consider patterns complete that almost make it
Release Notes:
  • Adds alerts for when a pattern completes
  • Cleans up false positive patterns

For script access or PineScript questions, please visit our site:
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact marketscripters for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.


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.

Author's instructions

Use the web link or DM us to obtain access to this indicator.

Want to use this script on a chart?

Warning: please read before requesting access.