בחירות העורכיםOPEN-SOURCE SCRIPT

Manual Harmonic Patterns - With interactive inputs

מעודכן
This script is a drawing tool which allows users to draw XABCD on the chart and script will tell whether there is any harmonic patterns on the drawings made. The script is based on interactive inputs and requires users to chose XABCD points.

Please note
  • This is not a scanner and it will not scan historical bars for harmonic patterns. This needs to be used rather as drawing tool instead.
  • Script will not check if selected pivots are correct. It assumes users to know how to select the right XABCD based on pivot high/lows. Bullish pattern will have X, B and D as pivot lows and A,C as pivot highs. Similarly bearish patterns will have X, B, D as pivot highs and A, C as pivot lows.
  • Script will not check for overflow conditions. For example, if price crosses, XB or BD line, then pattern is considered to be invalid. But, this check cannot be made in this script and we require users to be aware of this condition and select input accordingly.
  • Order of inputs should be in ascending order. X pivot should come before A and then, B, C, D and F. This again is users responsibility to select pivots in right order.


What happens after selecting XABCD?

If selected pattern is valid harmonic pattern, it will
  • Draw XABCD lines and labels
  • Fill harmonic triangles
  • Show PRZ box which shoes the name of valid patterns.


If it is not valid harmonic pattern, then users will see blank XABCD line without any PRZ or filled harmonic triangles.

Example:
1. When it is valid pattern

תמונת-בזק

2. When it is not valid pattern

תמונת-בזק

הערות שחרור
Small update to avoid overlapping drawings
הערות שחרור
Library updates and calculation of PRZ range. XABCD label location fixed.
הערות שחרור
Update PRZ calculation logic which is both simplified and more efficient. Updated library version for harmonics
הערות שחרור
Added more patterns using eHarmonicpatternsExtended library

Also added option to enable/disable patterns via settings.

תמונת-בזק
הערות שחרור
Update library reference
הערות שחרור
Update Libraries
Remove max_bars_back
Chart patternsdrawingtoolsHarmonic PatternshewhomustnotbenamedtrendoscopeZig Zag Indicator

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

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

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

כתב ויתור