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.