OPEN-SOURCE SCRIPT

Historical Pattern Matcher [Trendoscope]

ที่อัปเดต:
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
เอกสารเผยแพร่
Updated display label
Chart patternshewhomustnotbenamedpatternmatchingtrendoscopeZig Zag Indicator

สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

คำจำกัดสิทธิ์ความรับผิดชอบ