OPEN-SOURCE SCRIPT
已更新 Kitty's Law [theUltimator5]

MOASS is tomorrow.
MOASS will always be tomorrow.
Murphy's law states anything that can go wrong will go wrong.
With GameStop, we have something called Kitty’s law.
Kitty’s law states that whenever people can fit in a March-May 2024 fractal, people will fit in a March-May 2024 fractal.
This indicator is an embodiment of Kitty's law.
This indicator matches the current price action to the GME fractal from 2024, finds a best fit section, then projects forwards the resulting price action. A short squeeze has never been so near!
HOW IT WORKS
Now getting into the technical aspects of this indicator, since it is a bit more complicated than the silly description has it seem.
The values from 2024 are hard coded into arrays. There are two arrays. Hourly and daily. If the timeframe is set to daily, it will use the daily array for comparison. If any other timeframe, it will use hourly (yes I know that weekly, monthly etc... are correlating to hourly but deal with it)
The indicator then uses a lookback period off the current bar (you can define the length) and finds the best fit section match from the selected array (hourly or daily) using a custom Pearson correlation algorithm. Once it finds the best fit section match, it plots it over the chart and projects the rest of the array onto the chart, filling out the fractal.
If the ticker you are looking at is NOT GME, then it won't project anything. Instead, it will tell you to stop looking at bad tickers and go back to GME.
Disclaimer: This indicator is meant for fun and is NOT a technical analysis indicator and is cosmetic only!
MOASS will always be tomorrow.
Murphy's law states anything that can go wrong will go wrong.
With GameStop, we have something called Kitty’s law.
Kitty’s law states that whenever people can fit in a March-May 2024 fractal, people will fit in a March-May 2024 fractal.
This indicator is an embodiment of Kitty's law.
This indicator matches the current price action to the GME fractal from 2024, finds a best fit section, then projects forwards the resulting price action. A short squeeze has never been so near!
HOW IT WORKS
Now getting into the technical aspects of this indicator, since it is a bit more complicated than the silly description has it seem.
The values from 2024 are hard coded into arrays. There are two arrays. Hourly and daily. If the timeframe is set to daily, it will use the daily array for comparison. If any other timeframe, it will use hourly (yes I know that weekly, monthly etc... are correlating to hourly but deal with it)
The indicator then uses a lookback period off the current bar (you can define the length) and finds the best fit section match from the selected array (hourly or daily) using a custom Pearson correlation algorithm. Once it finds the best fit section match, it plots it over the chart and projects the rest of the array onto the chart, filling out the fractal.
If the ticker you are looking at is NOT GME, then it won't project anything. Instead, it will tell you to stop looking at bad tickers and go back to GME.
Disclaimer: This indicator is meant for fun and is NOT a technical analysis indicator and is cosmetic only!
版本注释
Added support for extended hours.Also added data for the 4-hour chart.
Fallback period is the 1H still if the chart is set to anything other than 1H, 4H, or D.
版本注释
Fixed the 1H extended data. The last bar that it plotted looked quite bearish. Never end a forwards bullish projection on a bearish candle. Now it is all bull...版本注释
Added option to use auto correlation length. This sweeps over a number of segment lengths and plots the best fit segment. Disabled by default. Can be enabled.开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。