[blackcat] L1 T3 MA Lite Version
Tilson T3 Moving Average (T3MA) is a type of moving average line designed to reduce lag and improve the accuracy of trend identification. It is based on a combination of multiple smoothed moving averages, with each subsequent smoothed moving average having a higher weight than the previous one. The T3MA formula includes three different smoothing coefficients and a volume coefficient or volatility coefficient, which can be adjusted according to user preferences. T3MA is commonly used by traders and investors to identify trends and generate trading signals.
The calculation method for T3MA requires the use of exponential moving averages (EMA). In Pine scripts in the TradingView community, over 90% of them use the EMA function to calculate T3MA. Specifically, in Pine scripts, it is necessary to define the length and volatility coefficient of T3MA, then calculate three different lengths of EMA separately. Next, three constants need to be calculated that are related to volatility. Finally, the weighted average value of the three EMAs and three constants is added together to obtain the value of T3MA. If you want to customize the length and volatility of T3MA, you just need to modify the parameters in the code. Overall, T3MA is a very useful technical indicator that can help traders better understand market trends and improve trading efficiency.
The improved version introduced today mainly addresses my perception that traditional T3 algorithms are too redundant with high computational complexity leading to delayed reactions. Therefore, I have developed a lightweight version called L1 T3 MA Lite Version. This doesn't bring about any qualitative changes; it simply makes adjustments in terms of computational resources and response speed. To illustrate its advantages compared with traditional T3 MA indicators, I will provide a comparison using Everget's script from TradingView community blogger everget.
The difference between these two scripts for calculating T3 Moving Average lies in their implementation methods. The first script (Everget) uses a more complex calculation formula, which requires calculating three different lengths of EMA and computing three constants based on volatility. Finally, they are weighted averaged to obtain T3MA. This complex calculation formula can enhance the sensitivity of the T3MA indicator, thereby better identifying price trends. On the other hand, the second script (Blackcat1402) uses a relatively simple calculation formula that only requires calculating three different lengths of EMA and computing three constants based on volatility. Finally, they are weighted averaged to obtain T3MA as well. This simple calculation formula reduces computational complexity and speeds up calculations. Both have slightly different effects and calculation methods; users can choose the script that suits their needs.
In summary, T3 Moving Average is a very useful technical indicator that can help traders better understand market trends and improve trading efficiency. Users can choose scripts suitable for themselves according to their needs and flexibly adjust the length and volatility coefficient of T3MA to adapt to different markets.
Blackcat1402
[blackcat] L1 Magic Moving AverageThis is a code snippet written in the Pine programming language for TradingView platform. It is an implementation of a custom technical indicator called "L1 Magic Moving Average".
Moving averages are widely used in technical analysis to identify trends and reversals in the price of an asset. The idea behind moving averages is to smooth out the price data by calculating the average price over a certain period of time. This helps to filter out the noise in the price data and provides a clearer picture of the underlying trend.
The Magic Moving Average (MMA) is a custom moving average that is calculated using a combination of three different types of moving averages: simple moving average (SMA), exponential moving average (EMA), and weighted moving average (WMA). The MMA is designed to be more responsive to changes in the price of an asset compared to traditional moving averages.
The code starts by defining the input parameters for the indicator. The length parameter determines the number of periods used for calculating the moving averages. The source parameter specifies the price data used to calculate the moving averages. Finally, the smoothness parameter adjusts the weighting of the WMA component of the MMA.
Once the input parameters are defined, the code calculates the MMA by adding the SMA, EMA, and WMA components. The SMA and EMA components are calculated using the standard functions provided by TradingView. The WMA component is calculated using a custom function that takes into account the smoothness parameter.
After the MMA is calculated, the code plots it on the chart as two lines, one for the current value and one for the previous value. The two lines are then filled with colors depending on the position of the current MMA relative to its previous value. If the current value is higher than the previous value, the plot is filled with yellow color, otherwise, it is filled with fuchsia color.
In addition to the plot, the code also includes logic for generating buy and sell signals based on the crossover of the MMA and its previous value. If the MMA crosses above its previous value, a buy signal is generated. Conversely, if the MMA crosses below its previous value, a sell signal is generated. When a signal is generated, an alert is triggered to notify the user.
Finally, the code also includes labels for the generated signals. When a buy signal is generated, a green "B" label is placed at the bottom of the candle. Similarly, when a sell signal is generated, a red "S" label is placed at the top of the candle. These labels help the user to quickly identify the signals on the chart.
Overall, this code provides a simple yet effective way of generating trading signals based on the Magic Moving Average. By using a combination of different types of moving averages, the indicator is able to capture different aspects of the price movement and generate signals that are more reliable. The flexibility of the input parameters also allows the user to adjust the indicator to their specific trading needs.
[blackcat] L1 Guppy Multiple Moving Average (GMMA)Guppy Multiple Moving Average (GMMA) is a widely used technical analysis tool that can help traders identify price trends, determine entry and exit points, and identify signals of price reversal. The inventor of GMMA is Daryl Guppy, an Australian trader and technical analyst who developed this technical analysis tool in the late 1980s and early 1990s. GMMA is based on multiple moving averages (MA), including short-term and long-term moving averages (EMA). The short-term MA group consists of 6 MAs, and the long-term MA group also consists of 6 MAs. These MAs are grouped by color to make them easy to identify.
The basic principle of GMMA is that when prices are in an uptrend, the short-term MA group will be above the long-term MA group, and when prices are in a downtrend, the short-term MA group will be below the long-term MA group. The cross of the short-term MA group and the long-term MA group can help traders determine the direction and strength of the price trend. When the short-term MA group crosses and rises, traders can choose to enter the market, and when the short-term MA group crosses and falls, they can choose to exit the market. In addition, GMMA can also help traders identify signals of price reversal. When prices are in an uptrend, if the short-term MA group starts to cross down, this may be a signal of price reversal. Conversely, when prices are in a downtrend, if the short-term MA group starts to cross up, it may be a signal of price reversal.
The advantages of GMMA are that it can help traders identify price trends and signals of price reversal, thereby determining entry and exit points. In addition, the way GMMA is plotted makes the difference between the short-term and long-term MA groups more obvious, making it easy to identify. However, GMMA also has some disadvantages. For example, it can only provide limited information and cannot predict future price trends. In addition, GMMA needs to be combined with other technical indicators and fundamental analysis for trading decisions.
Overall, Guppy Multiple Moving Average (GMMA) is a powerful technical analysis tool that can help traders identify price trends, determine entry and exit points, and identify signals of price reversal. If traders can use GMMA correctly and combine it with other technical indicators and fundamental analysis, they can achieve better trading results.
[blackcat] L1 Larry Williams VixFix IndicatorLevel : L1
Larry Williams, had this idea to create a synthetic VIX for more than just the main stock indices. Check out the formula for Williams VixFix:
```
VIX Fix Formula = (Highest(Close, 22) – Low) / (Highest(Close, 22)) * 100
```
What does this even mean? In normal person terms, here's what it's all about:
1. Find the highest close over the last 22 days and subtract today's low (or the current bar).
2. Divide that by the highest close of the past 22 days.
3. Multiply the result by 100 to "normalize" the indicator.
Why 22 days, you ask? That's how long the normal month of trading days is.
So, you see, the formula is pretty chill. It's just a way to measure the price volatility of the last 22 trading days. It's a bit of a lagging indicator, but it gets the job done.
Here my version of this scriptcreates a custom technical indicator called "L1 Larry Williams VixFix" that measures the distance between the highest high and the lowest low of a security's price over a specified period.
The user can adjust the period length and source price used in the VixFix calculation. The period length is set to 22 by default, but can be modified by the user with the "Length" input parameter. The source price is set to "close" by default, meaning it will use the closing price of each bar to calculate the VixFix. However, the user can also choose a different type of price data, such as open, high, or low.
The VixFix is calculated as a percentage of the difference between the highest close and the lowest low over the specified period. This percentage is then multiplied by 100 to create a more readable value.
Finally, the code plots the VixFix line on the chart with a yellow color and a thickness of 2. This allows the user to easily visualize the VixFix value and incorporate it into their trading decisions.
Overall, this script provides a powerful tool for technical analysis that can help traders identify potential trend changes and market reversals.
[blackcat] L1 Reverse Choppiness IndexThe Choppiness Index is a technical indicator that is used to measure market volatility and trendiness. It is designed to help traders identify when the market is trending and when it is choppy, meaning that it is moving sideways with no clear direction. The Choppiness Index was first introduced by Australian commodity trader E.W. Dreiss in the late 1990s, and it has since become a popular tool among traders.
Today, I created a reverse version of choppiness index indicator, which uses upward direction as indicating strong trend rather than a traditional downward direction. Also, it max values are exceeding 100 compared to a traditional one. I use red color to indicate a strong trend, while yellow as sideways. Fuchsia zone are also incorporated as an indicator of sideways. One thing that you need to know: different time frames may need optimize parameters of this indicator. Finally, I'd be happy to explain more about this piece of code.
The code begins by defining two input variables: `len` and `atrLen`. `len` sets the length of the lookback period for the highest high and lowest low, while `atrLen` sets the length of the lookback period for the ATR calculation.
The `atr()` function is then used to calculate the ATR, which is a measure of volatility based on the range of price movement over a certain period of time. The `highest()` and `lowest()` functions are used to calculate the highest high and lowest low over the lookback period specified by `len`.
The `range`, `up`, and `down` variables are then calculated based on the highest high, lowest low, and closing price. The `sum()` function is used to calculate the sum of ranges over the lookback period.
Finally, the Choppiness Index is calculated using the ATR and the sum of ranges over the lookback period. The `log10()` function is used to take the logarithm of the sum divided by the lookback period, and the result is multiplied by 100 to get a percentage. The Choppiness Index is then plotted on the chart using the `plot()` function.
This code can be used directly in TradingView to plot the Choppiness Index on a chart. It can also be incorporated into custom trading strategies to help traders make more informed decisions based on market volatility and trendiness.
I hope this explanation helps! Let me know if you have any further questions.
[blackcat] L3 MACD and RSI Fusion The MACD and RSI fusion is a popular technical analysis strategy used by traders to identify buy and sell signals in the market. The strategy makes use of two popular technical indicators, the Moving Average Convergence Divergence (MACD) and the Relative Strength Index (RSI), and combines them to create a powerful trading signal.
The MACD and RSI fusion was originally developed for the Chinese stock market and is commonly used by traders all over the world. The strategy is based on the idea that the MACD and RSI indicators can be used together to provide a more accurate and reliable signal.
To use the MACD and RSI fusion , traders need to follow a few simple steps. The following code is the TradingView Pine script v4 indicator equivalent of the original MACD and RSI fusion code:
```
//@version=4
study(" MACD and RSI fusion ", overlay=false)
// Define the simple fusion indicator
simple_fusion = (ema(close, 12) - ema(close, 26)) * 1.2 + rsi(close, 14) / 50
// Define the simple fusion lag indicator
simple_fusion_lag = nz(simple_fusion )
// Plot the simple fusion and simple fusion lag indicators
plot(simple_fusion, color=color.blue, title="simple fusion")
plot(simple_fusion_lag, color=color.red, title="simple fusion Lag")
```
This code defines the simple fusion and simple fusion Lag indicators and plots them on the chart. The simple fusion indicator is the sum of the 12- and 26-period exponential moving averages of the closing price, multiplied by 1.2, and added to the 14-period relative strength index of the closing price, divided by 50. The simple fusion Lag indicator is the value of the simple fusion indicator from the previous period.
Traders can use the simple fusion and simple fusion Lag indicators to identify buy and sell signals. When the simple fusion indicator crosses above the simple fusion Lag indicator, it is a buy signal, and when the simple fusion indicator crosses below the simple fusion Lag indicator, it is a sell signal.
In conclusion, the MACD and RSI fusion is a simple but powerful technical analysis strategy that combines two popular technical indicators to identify buy and sell signals in the market.
[blackcat] L1 TradingView Array and Series ConversionsLevel 1
Background
It just so happens that I need some functions that can convert between the Series data type and the Array data type.
Function
Series is a unique data type of TradingView. By operating Series data, the algorithm can be simplified, which is very convenient. However, in high-level languages, Array is a basic data type that provides great flexibility and can be used to develop advanced algorithms. This is why TradingView introduces the Array data type. This script simply demonstrates how to convert between these two data types.
s2a function: Convert a TV series into an array.
a2s function: Convert an array into a TV series
Finally, Courtesy of Electrified for his "Average Lib":
Remarks
Feedbacks are appreciated.
[blackcat] L2 Barbara Star Supertrend IndicatorLevel 2
Background
Barbara Star’s article on July 2023, “Stay On Track With The Supertrend Indicator”, I rewrote it as pine script for your information.
Function
A supertrend indicator is displayed either above or below the closing price to signal a buy or sell. The indicator changes color depending on whether you should buy or not. When the Supertrend indicator falls below the closing price, the indicator turns green, signaling one or more entry points to buy.
Author Barbara Star describes the Supertrend indicator and how it can be used as a means for traders to stay in sync with the larger trend. She explains how J. Welles Wilder's Average True Range (ATR) forms a basis for supertrend calculations. ATR does not measure price direction, but rather provides a measure of volatility over a period of time. The Supertrend indicator, on the other hand, provides a more comprehensive view of trend direction. In addition, the indicator provides price levels at which a trend reversal would occur.
Green color stands for up trend;
Red color stands for down trend.
Remarks
Feedbacks are appreciated.
[blackcat] L1 Vitali Apirine Stochastic Distance OscillatorLevel 1
Background
Vitali Apirine published an article of “The Stochastic Distance Oscillator” on June 2023. I rewrite it for pine script.
Function
Vitali Apirine offers a new twist on the classic stochastic oscillator, which he calls "Stochastic Distance Oscillator" (SDO). The SDO is an impulse study that shows the size of the current range versus the maximum/minimum range range over a period of time. The study can be used for stocks or indices that are trending, but is also useful for trading ranges. Overbought and oversold levels can help spot upside and downside trend changes.
Remarks
Feedbacks are appreciated.
[blackcat] L1 An Adaptive Moving Average For Swing TradingLevel 1
Background
Scott Cong published an article of “An Adaptive Moving Average For Swing Trading” on April 2023. I rewrite it for pine script.
Function
In "An Adaptive Moving Average For Swing Trading," author Scott Cong introduces a new adaptive moving average that is designed to be responsive, smooth, and robust. He begins with a discussion of Perry Kaufman's adaptive moving average and explains how an adaptive moving average (AMA) can adapt to different market environments. Later he explains his methods of adjusting and changing the smoothing factor, which has better response than traditional EMA and SMA. I rewrited this new kind of moving average in pine script and use yellow color for its fast line while fuchsia color for its trigger signal as a slow line. By the way, divergence detector is also added for divergence notification. You can change period or length, and signal source parameters in setting dialog.
Remarks
Feedbacks are appreciated.
[blackcat] L3 Banker Fund SwingLevel 3
Background
The large funds or banker fund are often referred to as Whale. Whale can have a significant impact on the price movements in various markets, especially in cryptocurrency . Therefore, how to monitor Whale trends is of great significance both in terms of fundamentals and technical aspects.
Function
To understand banker fund more directly, a banker fund model is applied for main chart as different candles with colors, as well as short, middle, long term moving averages in yellow, fuchsia, aqua colors, respectively. The banker fund model is made of a fast line of EMA2, and a slow line of EMA42 of a artifical curve fitting line with xsl(close,21))*(20)+close, where xsl is used to calculate the slope of a data series. And then, with definition of the golden cross and dead cross status, banker fund behavior can be extracted as green candle color for bullish an red color candle for bearish. At the mean time, a new type of candle with yellow color is defined as well standing for a bullish swing start.
Remarks
Feedbacks are appreciated.
[blackcat] L2 Super OscillatorLevel2
Background
A super oscillator with overbought and oversold detections.
Function
Represented by a white line, this Super Oscillator indicator identifies instruments that are overbought or oversold, which can be an important part of determining buy and sell points. An oversold market is a market that has fallen sharply and is expected to recover. In this indicator, gray candlesticks are used at the bottom to show that an oversold zone is near and a red candlestick shows that the overbought zone is ending. On the other hand, an overbought market has risen sharply and could be ripe for a decline. Yellow line dips are used to indicate overbought zones.
Remarks
Feedbacks are appreciated.
[blackcat] L2 John Ehlers Undersampled Double MALevel2
Background
This is a novel "undersampling data" processing trick proposed by John F. Ehlers in his April 2023 article "Just Ignore Them".
Function
In signal processing, undersampling, or bandpass sampling, is a technique whereby a bandpass-filtered signal is sampled at a sample rate below its Nyquist rate (twice the upper cut-off frequency), but the signal can still be reconstructed. When undersampling a bandpass signal, the samples are indistinguishable from samples of a low-frequency alias of the high-frequency signal.
John Ehlers notes that data smoothing is often used to avoid trading spikes. While this can result in fewer trading signals, it can also result in a delay in those trading signals. He describes how undersampling can be used in conjunction with Hann window finite impulse response (FIR) filters to remove high-frequency components in price data, resulting in less delay than traditional smoothing filters.
In this indicator, Hann windowing is applied a a pair of fast/slow moving averages which is used to improve their response perfomrnace. Yellow line is the fast line while fuchsia line is the slow line. You can judge bull bear stattus by checking the status it is in golden cross or in dead cross status.
Remarks
Feedbacks are appreciated.
[blackcat] L1 Ehlers Every Little Bit HelpsLevel 1
Background
Inspired by "Averaging The Open And Close To Reduce Noise" on March 2023 by John F. Ehlers’ article in the March issue, “Every Little Bit Helps”, I further smooth it because noise was still large and “Every Little Bit Does Not Helps Much”.
Function
In John F. Ehlers' 03/2023 article, "Every Little Bit Helps," he suggests that noise can be reduced by simply averaging the open and close prices of a bar, rather than just using the close price. The data sampling example presented in this article compares the traditional RSI using close data to an RSI calculated using the average of the open and close.
Compared to RSI, I used my customized RMI version which is more suitable for moment smoothing. For example, the price entry of the 1st RMI can be changed from Close to (Close + Open) / 2. In fact, the RMI indicator itself has a price input that can be changed in a similar way. You can change the input parameter "m" to "More Help", which is 5 by default.
Remarks
Feedbacks are appreciated.
[blackcat] L3 Aroon ZoneLevel 3
Background
The Aroon indicator developed by Tushar Chanand indicates whether there is a trend price or is located in a trading area.
Function
Classical Aroon can also show the beginning of a new trend, its strength and expectation of changes from trade areas to trends. However, it produces too much noise when is bull or bear during sideways. In this improved version, I use bars without "blur cross" to classify bull, bear and sideways, which could look better to know the status of current market.
Since Chinese uses red for bull, green for bear, while others use green for bull and red for bear, i try to avoid to use red or green, which may be confusing. I use my style of color for bull and bear:
Yellow --> Bull
Fuchsia --> Bear
Gray --> Sideways
Remarks
Feedbacks are appreciated.
[blackcat] L2 Aroon13Level 2
Background
The Aroon indicator developed by Tushar Chanand indicates whether there is a trend price or is located in a trading area.
Function
Classical Aroon can also show the beginning of a new trend, its strength and expectation of changes from trade areas to trends. This is a traditional aroon indicator with length == 13, which exhibit good performance.
Remarks
Feedbacks are appreciated.
[blackcat] L1 Adaptive Choppiness IndexLevel: 1
Background
I have been working with choppiness index type indicator for long. However, there are several problems in tradintional one.
Function
One of the issue of conventional choppiness index is the noise or ripple is too obvious. I was wondering several ways to smooth it. As you may know, choppiness index is "one line" indicator. There is little room of freedom to change it too much. Then, I introduced adaptation algorithm to make "length" parameter adaptive, which can smooth choppiness index indicator to some degree. Meanwhile, I use ALMA to smooth the output again.
Remarks
I used my published dc_ta lib, which collects several dominant cycle algorithm from Elhers to make many indicator adaptive possible.
Feedbacks are appreciated.
[blackcat] L3 Banker Fund SentimentLevel: 3
Background
If you like my banker fund series indicators, this may be another helpful one which describe banker fund sentiment with price and volume infomation.
c.
Function
Use price (major EMAs and SMAs) and volume infomation to model banker fund in a sensitive way which can be called banker fund sentiment. This was realized by a form of oscillator and 0 axis is an important boundary to define bull and bear senmtiments. I use different kind colors of columns to distinguish them.
I summarize how to use it in 1D timeframe:
1. When a fuchsia column appears below the 0 axis, start paying attention and watch for a bullish reversval around.
2. When a red column appears on the first day above the 0 axis, it is a signal of confirmed bullish trend.
3. There is a retraced in the middle and start doing T+0 trading to reduce costs.
4. When the pile of columns ( banker fund energy) breaks through the previous high in the late stage of the retracement, start to increase the bullish position, and be a short-term bullish relay, this is the best buying point!
5. Wait for 3-4 days to start reducing or flatting positions, and make your own decisions according to your personal risk preferences!
Remarks
When the pile of column breaks through the previous high point in the late stage of the retracement, and if the stock is a recent hot sector or concept stock,
Then increase your position and wait for the main force to pump! This indicator may not work alone, you should consider to combine your knowledge of other skills, e.g. candle pattern, news analysis etc.
B: long entry, green
S: short entry, red
column color
bullish trend: red color
confirmed bullish trend: maroon color
bullish retracement: blue color
bearish trend: green color
bearish retracement: fuchsia color
Feedbacks are appreciated.
[blackcat] L3 Super Best Cost LineLevel: 3
Background
As suggested by @hedan1, he made a suggestion: this indicator can be further optimized to develop a dull line to filter the overall direction, and then use the sensitive line as a confirmation signal to enter.
One of my favourite tool to see fast trends which is simple but powerful. It runs under below market logic.
Function
With @hedan1's idea, the 1st thing i come up with is a two-layer structure: the inner sensitive part is the best cost line indicator, the outer layer is a supertrend indicator to control the overall trend direction.
Best cost line is a tool to model the people's mood and preference in the market. I define a typical price as wcx, when wcx is above the best cost line, which means traders are willing to use higher price to buy, then if you long, you are following the trend and make profit. On the other hand, if wcx is below the best cost line, which means traders are NOT willing to pursue higher price (maybe due to continous stop loss or sth other), then you should at least not long or if you are agressive in style, you may consider short.
That is it. Do you think it is simple and powerful enough?
Remarks
L: long entry, yellow
XL: close long, fuchsia
S: short entry, green
XS: close short, red
inner bullish: yellow color
inner bearish: fuchsia color
outer bullish: green color
outer bearish: red color
inner indicator : the best cost line
outer indicator : supertrend
also, i improved the display fucntinon remove some blur lines with linebr feature.
Feedbacks are appreciated.
[blackcat] L1 Chop ZonesLevel: 1
Background
I was inspired by NILX's "Tool: Chop & Trade Zones". This can used as an element for trading system control.
Function
I use my own customized algorithm to replace that core of NILX one, which is targetting to provide smoother and trend for chop and trend judgement.
Since it is quite differnt now but an oscillator within range of 0~100. The pro is it can use the contstant threshold values for all time frames and all trading pairs now.
Remarks
Feedbacks are appreciated.
[blackcat] L1 Volume DynamicsLevel: 1
Background
Use the difference of Jurik MA and SMA equivalent (ALMA) to observe something new for volume.
Function
Trading volume is an important technical indicator that is not easy to see the law. I try to match the trading volume with the deduction theory, and the deduction double-average theory is matched with the measurement capacity. I will compare the two moving averages of ultra-short-term, short-term, medium-term and long-term. The faster moving average I choose is Jurik MA (JMA), because it is faster than EMA under the same parameters, and the smoothing effect is very good. In addition to the slow moving average, I use ALMA to benchmark SMA. Because the smoothing properties of ALMA are better. A law is used here, that is, the equivalent relationship between ALMA and SMA is approximately a Fibonacci sequence. I can dynamically apply this amount to the Bitcoin market and see some interesting phenomena.
What is double average volume? According to normal circumstances, JMA will follow the transaction volume faster than SMA. The transaction volume is normally rising above the double average volume, and the transaction volume is normally falling below the double average volume. When the SMA follows the trading volume faster than the JMA, it is abnormal (usually occurs in the divergence segment), that is, the JMA is above the SMA, but the trading volume is below the SMA (the bottom divergence volume pile), the top divergence volume pile is the opposite process. The trading volume is between the double average volume, which is the finishing volume energy. It can be used in the breakthrough of the box and the bottom of the pot. By comparing the strength of the current trading volume with the strength of the trading volume on the upper edge of the box or bottom structure, it can improve the success rate of predicting the breakthrough, especially for the observation effect of large funds latent.
Remarks
Feedbacks are appreciated.
[blackcat] L3 Jurik MACDLevel: 3
Background
Use Jurik MA to build MACD and many people need to judge the market trend against the main candlestick chart when using MACD .
Function
First of all, the MACD function is built with Jurik MA and ALMA for better performance.
Second, the principle of MACD is the difference between EMA's long-term and short-term values. So, I wonder if it is possible to use EMA to construct a set of candle charts that are similar in proportion to MACD values for overlapping comparisons? Because this can greatly facilitate traders to make quick trend judgments. So I used the 3-8 lines of EMA to simulate the KD of KDJ, constructed a set of candle charts, and generated buying and selling points through conditional constraints. Do you like this MACD + Candlestick chart?
Key Signal
Traditional Jurik MACD output signal
Candlesticks
Near Top --> Top is reached and reversal may happen soon. (fuchsia labels)
Near Bottom --> Bottom is reached and reversal may happen soon. (yellow labels)
Remarks
Feedbacks are appreciated.
[blackcat] L1 True Range Adjusted EMA (TRAdj EMA) Level: 1
Background
In Traders’ Tips in January 2023, Vitali Apirine published an article in the January 2023 issue, “True Range Adjusted Exponential Moving Average (TRAdj EMA)”.
I use pine v4 to script it.
Function
Vitali Apirine's article True Range Adjusted Exponential Moving Average (TRAdj EMA) presents how a security's True Range, which measures volatility, can be integrated into a traditional exponential moving average. The trend following indicator called True Range Adjusted Exponential Moving Average (TRAdj EMA) applied with different lengths can help define turning points and filter price movements. By comparing the indicator to an exponential moving average of the same length, the trader can gain insight into the overall trend.
Remarks
Feedbacks are appreciated.