Trendoscope

Wedge and Flag Finder (Multi - zigzag)

Trendoscope Wizard מעודכן   
Here is a small attempt to automatically identify wedges and flags.

Tradingview standard wedge checks for only 4 pivots. In this version, I have considered 5 pivots instead - which can help reduce noise as 4 pivots forming wedge can be quite common. In future, will also try to add more pivots in pattern recognition to make the signal more accurate.

If wedge comes with a tail, then it is marked as flag :)
Settings are quite simple and they are as shown below

הערות שחרור:
Few updates

  • You can now select wedge based on 5 or 6 pivots (defined in settings)
  • Theme based colouring option added in the settings. Now users can chose either dark or light theme (Refers to chart background theme).
  • Option added in settings to hide zigzag lines and labels within wedge.
  • Angle based logic are refined as well as the settings. Angle restrictions are by default not selected as they often can be unreliable.

Snapshot of the latest settings screen look like this:
הערות שחרור:
  • Added alert upon new pattern formation.
  • Added labels for wedge
הערות שחרור:
Updated libraries. Removed max_bars_back
הערות שחרור:
reverted max_bars_back change as it lead to error.
הערות שחרור:
Added option to filter only wedge or flag using input options.
הערות שחרור:
Added condition to alert only after bar confirmation. This is done to avoid repaints of alerts.

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

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