Trendoscope

Historical Pattern Matcher [Trendoscope]

Trendoscope Wizard Uppdaterad   
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
Versionsinformation:
Updated display label

Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?