Ricochet123

Bar Delta Sentiment

Ricochet123 Uppdaterad   
Script that accumulates the magnitude of positive and negative bar change deltas. These differences are used to estimate market sentiment. When the sentiment line crosses the zero line downwards the sentiment is bearish and when it crosses it upwards it is bullish.

To enable the indicator to add value as a leading indicator, the ema of the sentiment line is plotted. When the sentiment line crosses below the ema it indicates a possible shift to a bearish market, and when it crosses above the ema it indicates the possibility of the market turning bullish.

The indicator can be used on all time-frames and all symbols. In general it works best when the length is quite short, like a 13, 21, but the user can play around with the settings a bit depending on the symbol and time frame in use.
Versionsinformation:
Removed the directional filtering to allow for continuous adjustment of deltas.

Added smoothing of sentiment line, adjustable with input "Smoothing MA Length"

Parameterized signal line smoothing with param "Signal MA Length"

Now works well on longer sequences, in general I like to use every 4th element in the Fib sequence values for parameters. Defaults for current script 3, 13 and 89 respectively for a short time-frame chart like the 5min
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?