Directional Analyzer

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.

Informacje o Wersji: Update the logics behind the predictive models.
Further clean up the code for faster execution.
Informacje o Wersji: 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)
Informacje o Wersji: Minor changes in default settings
Skrypt tylko na zaproszenie

Dostęp do tego skryptu mają tylko użytkownicy upoważnieni przez autora i zazwyczaj wiąże się z opłatą. Możesz dodać go do ulubionych, ale będziesz mógł z niego korzystać dopiero po uzyskaniu zgody jego autora. Aby uzyskać więcej informacji, skontaktuj się z henryph24, lub postępuj zgodnie z poniższymi instrukcjami autora.

TradingView sugeruje, abyś nie płacił za skrypt i nie używał go, jeśli nie ufasz autorowi w 100 % i nie rozumiesz, jak działa skrypt. W wielu przypadkach można znaleźć dobrą alternatywę open-source za darmo w naszej Bibliotece Publicznej.

Instrukcje autora

Send me a direct message for life-time access request.

Chcesz użyć tego skryptu na wykresie?

Uwaga: przeczytaj to, zanim poprosisz o dostęp.


100 monet
+1 Odpowiedz
henryph24 NinjaNew
@NinjaNew, thank you so much for the support
Good trading boils down to price, volume and volatility, and this nifty indicator does a great job of measuring trend strength and direction using delta volatility - which is quite rare to see on TV. Have found it helpful in 2 ways:
(1) A lead indicator (esp the dots and arrows) to show a potential trend reversal
(2) Staying in trades longer, even when the short-term volatility is spiking because the long-term trend is still solid

Highly recommended!
+1 Odpowiedz
henryph24 pureBus99619
@pureBus99619, thank you for kind words, happy trading :D
sir,could i try it?
henryph24 chapin2018
@chapin2018, sure, send me a direct message