בחירות העורכים
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 אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור