INVITE-ONLY SCRIPT
Updated

Double Bottom Pattern Identifier

17245
I think everybody knows the Double Bottom Pattern, so I omit the introduction.

The algorithm uses 8 internal watchers to identify the incomplete W-pattern. If any of the watchers finds the pattern, the signal will be plotted on the chart. You can customize the lookback periods for the watchers as well as you can specify the precision of the difference between two possible bottoms.

By default, all watchers wait for bar closing to avoid repainting issues. You can switch off this option.

Additionally, you can shift down the signal labels to the preferred distance and set an alert for a new pattern found.

NOTE: the blue straight lines are not included.
Release Notes
  • Cleaned the code
Release Notes
  • Major update
Release Notes
  • Update
Release Notes
  • Update
Release Notes
  • Update
Release Notes
  • Added statistics
  • Neckline, Take Profit and Stop Loss reforged
  • DB and Long labels now have tooltips
  • New options for Take Profit: Points, Pips
  • New options for Stop Loss: Last Bottom, Points, Pips
  • Alerts reforged
Release Notes
  • Fixed a minor issue with patterns overlapping
Release Notes
  • Fixed bug with TP/SL levels plotting
Release Notes
  • Pine Script V5
  • Deep update of internal logic
  • Updated Settings UI
  • Updated Statistics table
  • Now you can use "Any alert() function call" option for alerts
  • Ability to customize alert messages

Release Notes
  • Updated preview
Release Notes
  • Pine Script V6

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.