LeafAlgo

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

LeafAlgo Atualizado   
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) < 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

Notas de Lançamento:
Fixed the table coloring for "Overall Trend"
Notas de Lançamento:
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.
Notas de Lançamento:
- 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.
Notas de Lançamento:
Updated table coloration to reflect normalized z-score as opposed to the non-normalized score.

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 www.LeafAlgo.com !

Join our Discord community today!
www.discord.gg/rNQ2QW59Pn
Script apenas com convite

O acesso a este script é restrito aos usuários autorizados pelo autor e pode requerir pagamento. Você pode adicioná-lo a seus favoritos, mas só poderá utilizá-lo após solicitar permissão e obtê-la do autor. Contate LeafAlgo para mais informações, ou siga as instruções do autor abaixo.

TradingView não sugere pagar por um script e usá-lo até que você confie 100% em seu autor e entenda como o script funciona. Em muitos casos você pode encontrar uma boa alternativa de código aberto gratuitamente nos Scripts da Comunidade.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Instruções do autor

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

Quer usar esse script no gráfico?

Aviso: por favor leia antes de solicitar acesso