henryph24

Directional Analyzer

henryph24 已更新   
This script attempts to equip users with the necessary information about the direction of an instrument, and essentially it is a synergy of 3 algorithms.

The first algorithm (plotted as dots at level 0) studies the balance of delta volatility that constitutes the current bar and answers if bulls or bears are in control at that exact bar time

The second algorithm (plotted as an area) studies the development of delta volatility over the defined period by means of a polynomial regression. Effectively, it provides an overall picture of the trend strength.

The third algorithm (plotted as a line with arrow labels) utilizes simple elements of neural network in conjunction with some custom filters to predict the focal point that a trend will reverse its direction. This is predictive in nature, hence always adopt this with caution. While the labels display the predicted direction, the colors of the line also reflect the state of the current bar as well, adding to the confirmation of the first algorithm.

May you be on the right side of the trade.


版本注释:
Update the logics behind the predictive models.
Further clean up the code for faster execution.
版本注释:
Major Update:
- A new predictive algorithm has been included, and the correlation between this new one and the old one will be utilized to provide directional forecast now plotted as arrows. The line part has been removed due to underperformance in giving confirmation of direction.

- A self-optimizing filter has been added to the algorithms that analyze the current bar state (plotted as dots at zero line) and the overall strength of the trend (plotted as the area - now made parameterless). This filter significantly removes the lag and overshoots compared to without the filter

- A new algorithm has also been added (plotted as columns), which is based on my interpretation of entropy in information theory. This shall perform quite similarly to the area part, but tailored to usually lead the overall strength of the trend. This mean that the confluence of the columns part and areas part gives extra conviction to trend bias.

- Dynamic Overbought/ Oversold levels are introduced to identify potential trend reversal (usage: compared against the area part)
版本注释:
Minor changes in default settings
版本注释:
Migration to Pine V5
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与henryph24联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

作者的说明

此脚本的作者无法再授予对其的访问权限。请不要请求访问权限。

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。