INVITE-ONLY SCRIPT

Consensus Tables - Oscillators, Multi-MA , DFMA, and Ichimoku

已更新
This indicator is a series of underlaid tables that determine a consensus value using a simple positive or negative score for a set signal. This consensus value is also shown as a histogram and reflected on the chart's bar colors. There are a total of four different table options to choose from: a set of trend and volume oscillators, a set of 11 moving averages, a set of Fibonacci moving averages and their own consensus line, and a set of Ichimoku-based conditions. The type of table can be chosen from a drop-down menu at the top of the user settings, with settings for each of the table types grouped up respectively.

Oscillator Table:
The Oscillator table consists of the Average Directional Index (ADX) set as a value instead of +/- and is not used in the scoring to gather consensus. Rather, a value of 25 or above is used to confirm the trend regardless of positive or negative. The Chande Momentum Oscillator (CMO), Detrended Price Oscillator (DPO), Momentum, Rate of Change (ROC), Relative Strength Index (RSI), True Strength Index (TSI), and Volume Oscillator are used in the Oscillator table for a consensus value and given a + or - depending on the condition being met. The conditions and weighting are as follows:
-- CMO > or < 0, given a weight of +/- 2
-- DPO > or < 0, given a weight of +/- 2
-- Momentum > or < 0, given a weight of +/- 2
-- ROC > or < 0, given a weight of +/- 2
-- RSI > or < 50, given a weight of +/- 1
-- TSI Value Line > or < 0, given a weight of +/- 1
-- TSI Signal Line > or < 0, given a weight of +/- 1
-- Volume Osc. > or < 0, given a weight of +/- 2
The consensus value is determined by adding these values together and dividing by 13.

Multi-MA Table:
For the Moving Average Ribbon/Multi-MA table the user is able to determine the source, type, and lengths of 11 moving averages. The type selection consists of EMA, DEMA, TEMA, SMA, RMA, VWMA, WMA, SMMA, and a Hull MA. The preset values for the 11 moving averages are 5, 7, 10, 14, 21, 26, 50, 75, 100, 150, and 200. The consensus conditions and weighting are as follows:
-- If MA(1 through 10) < or > the price source, given a weight of +/- 1
-- If MA(11) [the slowest MA] < or > the price source, given a weight of +/- 2
The consensus value is determined by adding these values together and dividing by 12.

DFMA Table:
The Democratic Fibonacci Moving Average table is derived from our indicator of the same name. The source for the DFMA can be chosen by the user, but the SMA lengths are predetermined in Fibonacci intervals from 3 to 233. The DFMA line itself is determined by finding the average value of these 10 Fibonacci MA lengths. The consensus conditions and weighting are as follows:
-- If Fib. MA (3-233) < or > the source, given a weight of +/- 1
-- If DFMA value < or > the source, given a weight of +/- 2
The consensus value is determined by adding these values together and dividing by 12.

Ichimoku Table:
The Ichimoku table values a handful of conditions using the Tenkan-sen/Conversion Line, Kijun-sen/Base Line, Senkou-span A and B, and the Chikou-span, each of which are given their standard values of 9, 26, 52, and 26, respectively, but can be changed in the user settings if desired. As opposed to the other tables, there are fewer conditions to be met and given values to. All of the conditions are given the same weighting (+/- 1). The conditions are as follows:
-- Kijun-sen < or > the source
-- Tenkan-sen < or > the source
-- Kijun-sen > or < the Chikou-span
-- Tenkan-sen > or < the Kijou-sen
-- Senkou Span A > or < Senkou Span B
The consensus value is determined by dividing the total value by 5.

Overall consensus and overall trend values are given alongside each of these options. The overall consensus value is determined by taking the average of the 4 respective consensus values. Trend values are determined as such:
-- If consensus value >= 0.75, considered a "Strong Buy"
-- If consensus value is between 0.25 and 0.75, considered a "Buy"
-- If consensus value is between 0.25 and -0.25, considered "Neutral"
-- If consensus value is between -0.25 and -0.75, considered a "Sell"
-- If consensus value is <= -0.75, considered a "Strong Sell"

Table colors are set as either green, red, or gray to reflect positive, negative, and neutral sentiment sentiment. Bar colors reflect the consensus value and the determined table trend:
-- If trend for the chosen table is "Strong Buy", bar color is green
-- If trend for the chosen table is "Buy", bar color is lime
-- If trend for the chosen table is "Neutral", bar color is gray
-- If trend for the chosen table is "Sell", bar color is orange
-- If trend for the chosen table is "Strong Sell", bar color is red

版本注释
Fixed the table coloring for "Overall Trend"
版本注释
Added in z-score across all four tables. Between -1.5 to 1.5 score is considered neutral (by color). Above 1.5 is colored green, below -1.5 is colored red.
版本注释
- Normalized the z-score to a range of -1 to 1
- Changed the z-score coloration to match the normalized range. Neutral between 0.25 and -0.25, red under -0.25, green above 0.25.
- Plotted the normalized z-score as a histogram (white) against the consensus score histogram.
- Added a +/- value to ADX according to the +/- 25 threshold.
- Added a third column to the Oscillator, DFMA, and Multi-MA tables to show exact values for each oscillator or moving average.
- Fixed the coloration of "Trend: " on the DFMA table.
版本注释
Updated table coloration to reflect normalized z-score as opposed to the non-normalized score.
CMOconsensusDMOIchimoku CloudRelative Strength Index (RSI)tablesTrend AnalysisTSI

仅限邀请脚本

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

TradingView不建议付费使用脚本,除非您100%信任作者并了解脚本的工作原理。在许多情况下,您可以在我们的社区脚本免费找到不错的开源替代方案。

作者的说明

Message directly through TradingView or via email at thubbard@plantfi.io

想在图表上使用此脚本?

警告:请在申请访问权限之前阅读

Take your trading to new heights with LeafAlgo Premium Indicators and Strategies. Use code SSMS4MGK at checkout for a 50% discount on your first purchase at LeafAlgo.com !

Join our Discord community today!
discord.gg/rNQ2QW59Pn
更多:

免责声明