编辑精选
OPEN-SOURCE SCRIPT

Recursive Reversal Chart Patterns [Trendoscope]

已更新
Caution: This algorithm is very heavy and bound to cause timeouts. If that happens, there are few settings you can change to reduce the load. (Will explain them in the description below)

🎲 Recursive Reversal Chart Patterns Indicator

Welcome to another exploration of Zigzag and Pattern ecosystem components. Previously we derived Pitchfork and Recursive Zigzag indicators. This indicator is designed to scan and highlight few popular "Reversal Chart Patterns". Similar to other indicators in the ecosystem, this too is built on recursive zigzags.

  • Double Taps
  • Triple Taps
  • Cup and Handles
  • Head and Shoulders


Indicator however names the patterns separately for bullish and bearish formations. So, the actual names you see on the screen are

  • Double Top
  • Double Bottom
  • Triple Top
  • Triple Bottom
  • Cup and Handle
  • Inverted Cup and Handle
  • Head and Shoulders
  • Inverse Head and Shoulders


Here is a snapshot on how each category of patterns look on the chart.

快照

🎲 Architecture
Many of you may be cursing me for publishing too many libraries. But, these are all preparations for something big. Like other indicators in the Zigzag and Patterns Ecosystem, this too uses a bunch of libraries.

🎯Major direct dependencies


🎯Indirect dependencies


🎯Minor dependencies


🎲 Indicator Settings

🎯Generic and Zigzag Settings.

快照

Note: In case of timeout, please decrease the value of depth parameter

🎯Pattern Selection

Having all the patterns selected on chart may also cause timeouts and will make the chart look messy. It is better to limit one or two patterns on the chart to have clear picture.

快照

🎯Scanner Settings

快照

🎯Indicators.

These are options to use indicators as secondary confirmation to calculate divergence. If selected, the patterns are shown only if the divergence data is inline. Option also available to plugin external indicator. These calculations are not straightforward and not easy to measure by manual inspection. This feature at present is purely experimental.

https://www.tradingview.com/x/pwJonwrt/

Have a go and let me know how you feel :)
版本注释
  • Updated Libraries
  • Performance tweaks to avoid timeout
版本注释
Few logical updates to improve algorithm and library updates
版本注释
Minor library update
版本注释
Minor fixes and set display to none for input parameters
Chart patternsHarmonic PatternshewhomustnotbenamedPivot points and levelstrendoscope

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明