Double Top Chart Pattern detector with alert

Double top is a very common chart pattern, as its name indicates, it consists of two tops, and these two tops need to be in a relative flat price level. One of the top can't be much higher or lower than the other.
This indicator will detect and highlight double top pattern automatically on chart and alert you via SMS, email and sound.
Features:
Adjust the threshold between two tops.
Adjust the number of bars used to form each top.
Check if the first top is the highest in a given number of bars
Adjust the number of bars between two tops.
Switch of alert.
A detailed instruction will show you how to properly adjust each input.
It works on all timeframes and any symbol.
You can also load more than one with different inputs to get more results on chart.
Also changed the min value of "Strength" to 2 instead of 3.
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact Patternsmart directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
Disclaimer
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact Patternsmart directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.