LeafAlgo

LeafAlgo Pro

LeafAlgo 已更新   
This indicator utilizes signals generated from a normalized consensus of one of the four following consensus strategies: Oscillator Consensus, Moving Average Consensus, Democratic Fib Consensus, and an Ichimoku Cloud Consensus. When the values of the individual consensus are normalized, they can be utilized as an oscillator with a range of 0-100. The range of 0-100 can be broken down into zones where if the oscillator breaks through the different thresholds and meets the directional filter requirements, a signal is generated for strong buy, buy, sell, and strong sell with respect to which underlying threshold is breached.

Oscillator:
The Oscillator setting 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


Moving Average:
For the Moving Average Ribbon/Multi-MA setting the user is able to determine the type of MA for 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

DFMA:
The Democratic Fibonacci Moving Average setting 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.

Ichimoku:
The Ichimoku setting 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

Dynamic Bar Coloring
The bar coloring is based on the values of the underlying consensus oscillator.
-- If the consensus value >= 75 coloring= "Lime"
-- If the consensus value is between 55 and 70, coloring= "Green"
-- If the consensus value is between 45 and 55, coloring= "Yellow"
-- If the consensus value is between 30 and 45, coloring= "Orange"
-- If consensus value is <= 30, coloring= "Red"

Regression Channels
The visible channel utilizes a basis line of a quadratic regression line. The quadratic regression is well suited for determining (and predicting) trends. Calculating the regression involves five summation equations that utilize the bar index (x1), the price source (defaulted to ohlc4), the desired length, and the square of x1. Determining the coefficient values requires an additional step that factors in the simple moving average of the source, bar index, and squared bar index. The envelopes that are formed around the regression line are a multiple of that regression line using the high/low range of the price. This envelope can be used to determine points of interest where the price may break through, consolidate at, or reverse from. The channels should be used in conjunction with the signals generated to determine if the signal is valid.

Note past performance is not indicative of future results. This is meant to be used as a tool, and the signals generated by this script should be confirmed with other technical analysis.
版本注释:
-Added some extra tooltips to better explain what each setting is
-Added a secondary channel setting to include an Adaptive Gaussian Channel. This channel is made using a adaptive gaussian moving average (AGMA) as the basis and creating deviation channels around that basis. This channel can be a great tool for identifying overbought and oversold conditions as seen below.
-added line coloration to the basis line that is based on the closing price relative to the basis

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
仅限邀请脚本

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

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

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

作者的说明

For full access to all of our indicators, visit our website at LeafAlgo.com. For a 7-day free trial message directly on TradingView.

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。