Historical Pattern Matcher [Trendoscope]

Trendoscope Wizard Diupdate   
Do you believe in patterns and think price movements are more likely to follow historical patterns? If yes, this is an indicator for you.

🎲 Concept

The patterns in this script are not a named or known pattern. But, it can be any pattern that happen to repeat again and again over a period of time.

The indicator collects the following information over a period of time.

  1. Collects all possible patterns for specified number of pivots based on relation between each pivot prices. (Default 6)
  2. Keeps track of all the possible patterns for the given pivots and number of occurrences of such patterns over a period of time.
  3. Collects the movement of next pivot (in terms of retracement ratio) after the pattern has formed for each occurrence.
  4. Keeps track of the last occurrence of each pattern collected

And the indicator presents on chart following information

  1. Current Pattern drawing based on last confirmed pivot.
  2. Current Pattern drawing based on current unconfirmed pivot in the opposite direction.
  3. Projection range based on historical retracement ratio for both patterns
  4. Detailed info on last occurrence and overall occurrences.
  5. Last occurrence of both confirmed and unconfirmed pivot patterns.

Please note that, if the patterns have not been repeated over a period, then it will not be shown on the screen. Hence, it is perfectly normal to not see any projection. This can happen when the current pattern has not been repeated any time before.

🎲 Details

When you load the indicator on the chart, you may see the following patterns and projections.

You may also notice, in the pattern details, information about the last occurrence of the pattern. If you scroll on your chart to the left to the given data and time, you can observe how the past occurrence of the pattern has formed and the price movement past that point.

For example, last occurrence of pattern based on confirmed pivot happened on 02-Jun-2023 00:00 UTC time

And last occurrence of pattern based on unconfirmed pivot happened on 27-Apr-2023 22:00 UTC time

🎲 Settings

Settings are minimal, and here is the meaning of them.

Most important setting here is the number of pivots forming the pattern.

🎲 Caution
The indicator is designed to present the projection based on historical occurrences of similar price pattern. This does not necessarily mean the patterns are supposed to be bullish or bearish. But, it will certainly give users an idea of what happened when similar price action presented historically.

Note to developers This script makes use of new pine script feature - maps
Catatan Rilis:
Updated display label

Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?