INVITE-ONLY SCRIPT
已更新

Double Top Pattern Identifier

9 831
I believe the most of users know the Double Top Pattern, so I omit the introduction.

The algorithm uses 10 internal watchers to identify the incomplete M-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 tops.

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

Additionally, you can shift up/down the signal labels to the preferred distance.

NOTE: the orange straight lines are not included.
版本注释
  • Update
版本注释
  • Added statistics
  • Neckline, Take Profit and Stop Loss reforged
  • DT and Short labels now have tooltips
  • New options for Take Profit: Points, Pips
  • New options for Stop Loss: Last Top, Points, Pips
  • Alerts reforged
版本注释
  • Fixed a minor issue with patterns overlapping
版本注释
  • Fixed bug with TP/SL levels plotting
版本注释
  • 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

版本注释
  • Pine Script V6
版本注释
  • Minor bug fixes
  • Minor refactoring

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。