OPEN-SOURCE SCRIPT
Telah dikemas kini

Pattern Recognition Probabilities [racer8]

17โ€ฏ275
Brief ๐ŸŒŸ
Pattern Recognition Probabilities (PRP) is a REALLY smart indicator. It uses the correlation coefficient formula to determine if the current set of bars resembles that of past patterns. It counts the number of times the current pattern has occurred in the past and looks at how it performed historically to determine the probability of an up move, down move, or neutral move.

I'd like to say, I'm proud of this indicator ๐Ÿ˜†๐Ÿค™ This is the SMARTEST indicator I have ever made ๐Ÿง ๐Ÿง ๐Ÿง 

Note: PRP doesn't give you actual probabilities, but gives you instead the historical occurrences of up, down, and neutral moves that resulted after the pattern. So you can calculate probabilities based on these valuable statistics. So for example, PRP can tell you this pattern has historically resulted in 55 up moves, 20 down moves, and 60 neutral moves.

Parameters ๐ŸŒŸ
You can adjust the Pattern length, Minimum correlation, Statistics lookback, Exit after time, and Atr multiplier parameters.
Pattern length - determines how long the pattern is
Minimum correlation - determines the minimum correlation coefficient needed to pass as a similiar enough pattern.
Statistics lookback - lookback period for gathering all the patterns in the past.
Exit after time - determines when exit occurred (number of periods after pattern) ; is the point that represents the pattern's result.
Atr multiplier - determines minimum atr move needed to qualify whether result was an up/down move or a neutral move. If a particular historical pattern resulted in a move that was less than the min atr, then it is recorded as a neutral move in the statistics.

Thanks for reading! ๐Ÿ™
Good luck ๐Ÿ€ Stay safe ๐Ÿ˜ท Drink lots of water๐Ÿ’ง
Enjoy! ๐Ÿฅณ and Hit the like button! ๐Ÿ‘
Nota Keluaran
After receiving feedback about how slow the script loads, I've decided to change the default parameters so that it loads faster. Enjoy ;)

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.