Ricochet123

Bar Delta Sentiment

Ricochet123 已更新   
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.
版本注释:
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
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

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

想在图表上使用此脚本?