Dynamic ALMA with signalsEnhanced ALMA with Signals
This TradingView indicator is designed to enhance your trading strategy by utilizing the Arnaud Legoux Moving Average (ALMA), a unique moving average that provides smoother price action while minimizing lag. The script not only plots the ALMA line but also dynamically adjusts its parameters based on market volatility to adapt to different trading conditions. Additionally, it highlights potential bounce points off the line, as well as breakout points, giving traders clear signals for potential support, resistance levels, and breakouts.
Key Features:
Dynamic ALMA Line with Glow Effect:
The core of this indicator is the ALMA line, which is dynamically adjusted to market volatility, providing more accurate signals in varying conditions. The line adapts to both trending and consolidating markets by adjusting its sensitivity in real time. A glow effect is created by plotting the ALMA line multiple times with increasing transparency, making it visually distinct.
Bounce Detection Signals with Volatility Filter:
The script detects and labels potential support and resistance bounces based on the crossover and crossunder of the price with the ALMA line, further filtered by a volatility condition. This helps in filtering out false signals during low-volatility conditions, making the signals more reliable.
Visual Enhancements:
Custom glow effects and labels for bounce detection enhance chart readability and help traders quickly identify key levels.
Inputs:
Base Window Size: Sets the number of bars used in calculating the ALMA, allowing traders to adjust the sensitivity of the moving average. This parameter is dynamically adjusted based on current market volatility.
Offset: Determines the position of the ALMA curve. Higher values move the curve further away from the price. This value remains constant for stability.
Sigma: Controls the smoothness of the ALMA curve; a higher sigma results in a smoother curve. This value also remains constant.
ATR Period and Threshold Multiplier: Used to calculate the Average True Range (ATR) for the volatility filter, which determines whether the market conditions are sufficiently volatile to consider bounce signals.
How It Works:
Dynamic ALMA Calculation:
The script calculates the ALMA (Arnaud Legoux Moving Average) using the ta.alma function, dynamically adjusting the window size based on market volatility measured by the ATR (Average True Range). This ensures that the ALMA line remains responsive in high-volatility environments and smooth in low-volatility conditions.
Glow Effect:
To create a glow effect around the ALMA line, the script plots the ALMA multiple times with varying degrees of transparency. This visual enhancement helps the ALMA line stand out on the chart.
Bounce Detection with Volatility Filter:
The script uses two conditions to detect potential bounces:
Support Bounce: Detected when the low of the bar crosses above the ALMA line (ta.crossover(low, alma)) and the close is above the ALMA, while the volatility filter confirms sufficient market activity. This suggests potential support at the ALMA line.
Resistance Bounce: Detected when the high of the bar crosses below the ALMA line (ta.crossunder(high, alma)) and the close is below the ALMA, while the volatility filter confirms sufficient market activity. This indicates potential resistance at the ALMA line.
Labeling Bounce Points:
When a bounce is detected, the script labels it on the chart:
Support Bounces (S): Labeled with a blue "S" below the bar where a support bounce is detected.
Resistance Bounces (R): Labeled with a white "R" above the bar where a resistance bounce is detected.
Usage:
This enhanced indicator helps traders visualize key support and resistance levels more effectively by dynamically adjusting the ALMA moving average to market conditions. By detecting and labeling potential bounce points and filtering these signals based on volatility, traders can better identify entry and exit points in their trading strategy. The dynamic adjustments and visual enhancements make it easier to spot critical levels quickly and adapt to changing market conditions.
Customize the inputs to fit your trading style, and use this enhanced ALMA indicator to gain a more refined understanding of market trends, potential reversals, and breakouts.
Alma
Versatile Moving Average StrategyVersatile Moving Average Strategy (VMAS)
Overview:
The Versatile Moving Average Strategy (VMAS) is designed to provide traders with a flexible approach to trend-following, utilizing multiple types of moving averages. This strategy allows for customization in choosing the moving average type and length, catering to various market conditions and trading styles.
Key Features:
- Multiple Moving Average Types: Choose from SMA, EMA, SMMA (RMA), WMA, VWMA, HULL, LSMA, and ALMA to best suit your trading needs.
- Customizable Inputs: Adjust the moving average length, source of price data, and stop-loss source to fine-tune the strategy.
- Target Percent: Set the percentage difference between successive profit targets to manage your risk and rewards effectively.
- Position Management: Enable or disable long and short positions, allowing for versatility in different market conditions.
- Commission and Slippage: The strategy includes realistic commission settings to ensure accurate backtesting results.
Strategy Logic:
1. Moving Average Calculation: The selected moving average is calculated based on user-defined parameters.
2. Entry Conditions:
- A long position is entered when the entry source crosses over the moving average, if long positions are enabled.
- A short position is entered when the entry source crosses under the moving average, if short positions are enabled.
3. Stop-Loss: Positions are closed if the stop-loss source crosses the moving average in the opposite direction.
4. Profit Targets: Multiple profit targets are defined, with each target set at an incremental percentage above (for long positions) or below (for short positions) the entry price.
Default Properties:
- Account Size: $10000
- Commission: 0.01% per trade
- Risk Management: Positions are sized to risk 80% of the equity per trade, because we get very tight stoploss when position is open.
- Sample Size: Backtesting has been conducted to ensure a sufficient sample size of trades, ideally more than 100 trades.
How to Use:
1. Configure Inputs: Set your preferred moving average type, length, and other input parameters.
2. Enable Positions: Choose whether to enable long, short, or both types of positions.
3. Backtest and Analyze: Run backtests with realistic settings and analyze the results to ensure the strategy aligns with your trading goals.
4. Deploy and Monitor: Once satisfied with the backtesting results, deploy the strategy in a live environment and monitor its performance.
This strategy is suitable for traders looking to leverage moving averages in a versatile and customizable manner. Adjust the parameters to match your trading style and market conditions for optimal results.
Note: Ensure the strategy settings used for publication are the same as those described here. Always conduct thorough backtesting before deploying any strategy in a live trading environment.
Nasan Moving AverageNasan Moving Average belong to the group of moving average which provides a high degree of smoothness with very low lag.
The calculation process involves several steps to analyze the typical price of a financial asset over specific periods. It starts by computing a simple moving average and standard deviation of the typical price. Then, it standardizes (differencing TP - Average Typical price over previous n periods) the price and applies an inverse hyperbolic sine transformation to the standardized value. The transformed values are summed cumulatively, and various weighted moving averages are calculated to adjust and smooth the data. The final output is a smoothed signal with reduced lag.
Input Parameters:
len: Differencing length (default 21, Use a minimum of 5 and for lower time frames less than 15 min use values between 300 -3000)
len1: Correction Factor Length 1 (default 21, this determines the length of the MA you want , eg. 10 MA, 50 MA, 100 MA, )
len2: Correction Factor Length 2 (default 9, this works best if it is ~ </=1/2 of len1 )
len3: Smoothing Length (default 5, I would not change this and only use if I want to introduce lag where you want to use it for cross over strategies).
Differencing and Standardization:
The code calculates the standardized price a by differencing the typical price and normalizing it using the mean and standard deviation. This step standardizes the price changes.
Transformation:
The transformation using logarithms and square roots (b) aim to stabilize the variance and make the distribution more normal-like, improving the robustness of the cumulative sum c.
Cumulative Sum:
The cumulative sum c of the transformed series helps in integrating the series over time, capturing the overall trend and movement.
Correction Factors:
Correction factors c1 and c4 adjust the cumulative sum based on weighted averages, to correct any biases or to align it with the typical price.
Smoothing:
The final result c6 is smoothed using a weighted moving average, reducing noise and making it easier to interpret trends.
ALMA Smoothed Gaussian Moving AverageThis indicator is an altered version of the Gaussian Moving Average (GMA) (Credit to author: © LeafAlgo ). The GMA applies weights to the prices, giving more importance to the values closer to the current period and gradually diminishing the significance of older prices. The ALMA Smoothed Gaussian Moving Average (ASGMA) applies an ALMA smoothing to its price data to minimize lag and provide a more accurate representation of the underlying trend by dynamically adapting to changing market conditions. The Arnaud Legoux Moving Average (ALMA) is a specialized smoothing technique that adjusts the weights of the moving average based on market volatility. Its calculation uses Wavelet Transform techniques which enables this type of smoothing to capture both high-frequency and low-frequency components of a signal or data. The rationale for this mashup between ALMA and Gaussian filtering is to smooth the moving average line over the smoothed price data and produce stronger trend signals.
ASGMA serves as a trend-following indicator, identifying both bullish and bearish trends. It provides buy and sell signals indicated by "B" and "S" labels plotted alongside the price data. Additionally, the ASGMA's Exponential Moving Average (EMA) line alternates between green and red, indicating bullish and bearish momentum, respectively.
The ASGMA also incorporates two popular momentum indicators, the Relative Strength Index (RSI) and the Chande Momentum Oscillator (CMO). The inclusion of these indicators aims to enhance trend identification and reversal signals. For a strong buy signal, all three indicators (RSI, CMO, and ASGMA) must indicate bullish conditions, resulting in a vertical green line. Conversely, a vertical red line is plotted when all indicators indicate bearish conditions, representing a strong sell signal.
The ASGMA, with its unique combination of smoothing techniques and indicator amalgamation, provides traders and investors with powerful analytical tools. It can be applied in trend-following strategies using the regular buy and sell signals generated by labels and the EMA line. Alternatively, the vertical lines offer stronger buy and sell signals. These features aid in identifying potential entry and exit points, thereby enhancing trading decisions and market analysis. However, it is important to remember that the future performance of any trading strategy is fundamentally unknowable, and past results do not guarantee future performance.
AIR Supertrend (Average Interpercentile Range)Supertrend (ST) is a popular stop loss and trend identification script. The simplicity of seeing a clean trend on a chart makes it attractive, yet it is restricted by only allowing the source, length and multiplier to be adjusted, & these tend to have a limited effect on the properties of the identified trend.
There is a wide variety of interesting ST scripts on TradingView that give the user more control, but none to my knowledge, based on measuring the statistical dispersion of Average Interpercentile Range (AIR).
Two more levels of control:
Normally, ATR Average True Range is used to calculate the range in ST. ATR is initially calculated using RMA to smooth out True Range. This script gives the user the option of changing the MA to some more interesting varieties & modifying their parameters.
The default range setting when you load the indicator on a chart will be AIR.
The real strength of the indicator, however, and the reason I am publishing it, is to release AIR. Play round with the percentile range setting. Lowering it will allow you to stay longer in a trade in a volatile market. Raising it will make it tighter.
For comparison, you can switch back the range setting to ATR and load up RMA to see how the original, classic ST plots.
Alerts are included in this version. Alway use a stop loss.
DISCLAIMER: None of this is financial advice.
Credits to these authors, whose hard work inspired parts of this script:
@ KivancOzbilgic - SuperTrend
@ KioseffTrading - Tillson T3 MA
@ cheatcountry - Hann Window Smoothing
@ mutantdog - Interquartile Range function in his 'Blaze' script
Munich GuppyWELCOME to the Munich Guppy!
This is a simple moving average indicator that will help you determine the trend of your chart using historical moving averages.
The indicator consists of 3 EMA's and one ALMA moving average. Using these 4 moving averages I have programmed the relationship between the moving averages to color the background of your chart.
If your background is red, this means that the alma moving average has fallen below the EMA's (EMA1 and EMA 2) as well as (EMA 1 and EMA 2) are postured in a down trending/up trending fashion
For example, the 21EMA is greater than the 55EMA, this signals that the chart has been outperforming its intermediate averages. Now if the ALMA is below both the 21ema and 55ema, in this instance, your chart background will become green.
The ALMA has color options '+CoC' and '-Coc', this simply means if the candle closes below the alma, it will turn red, if closure above it will turn green.
EMA 3 which is default set to 200, has no affect on the color of the background.
Now I hope I have thoroughly explained the simplicity of this indicator, if you have any questions leave them below or private message me for any other requests,
Good Trading!
-CheatCode1
Arnaud Legoux Moving Average (ALMA) with buy/sell signalsDescription: ALMA with background highlighting, source selection and entry/sell signals depending on price positioning relatively to the ALMA. There are two options: use price at close, or both open and close. When Open & Close is used, both open and close need to be above or below ALMA to highlight, the signal is less noisy but can be more laggy.
This is a small simple indicator that can be used for a simple trading strategy, but some users found it very helpful, so I am posting it here. Enjoy!
Adaptive Rebound Line (ARL)The Adaptive Rebound Line (ARL) focuses on the rebound of price action according to the trend.
While it does not focus on showing the trend, it does help in anticipating price rebounds.
It achieves this by adapting quickly and by reducing lag.
It is recommended to use this with a trend-identifying indicator.
It was inspired by the Hull Moving Average and the KAMA.
Additional indicator show in the chart is Tide Finder Plus .
ALMA/EMA/SRSI Strategy + IndicatorBack with another great high hit rate strategy!!
Disclaimer* This strategy was sampled using source code written by @ClassicScott , as referred to in the script, there is a clear line where the source code was scripted by myself.
This Strategy consists of three key factors, the ALMA, EMA crossover, and a Stochastic Rsi
ALMA: The Alma is the step line shown, turning green and red at select times. This average value gives general oversight of the macro movement of price action. and this particular one was coded by Mr.ClassicScott.
EMA crossover: At the input screen you are given an option of the fast and slow ema's. The default is solely for the hit rate and correlation to the Alma of this strategy. The arrows you see depicted on the chart are the crossover events happening.
Stochastic Rsi: The Stochastic Rsi is a stochastic value, using data sampled from the rsi. The use of this indicator in my strategy is to prevent entries when too overbought and oversold, as well as closures and vice versa, to prevent holding bags either way.
Fixed % TP: In the input screen you are given a take profit and stop loss percentage, for good R/R the hit rate will take a notch down, but with no R/R it will be near perfect.
How to use this:
Add it to your chart to get the strategy inputs. (The strategy is really only useful on a 15min TF. However the indicator within it can be used on anything at anytime!)
Watch the yellow and aqua moving averages, these are your ema's and crossover's will trigger signals based on your integer inputs.
Find Correlation between other leading indicators, as well as crossover's down/up and a red/green alma.
DO NOT use the arrows as buy/sell signals. These are simply to show ema's are crossing under or over. Momentum indicator's paired with this can be useful to determine if it could be a buy signal or sell signal.
Cheat Code's Notes:
Almost at 1000 boosts!!! I appreciate the support from everyone and I will keep trying my best to deliver quality strategies for the people.
-Cheat Code
BYBIT:BTCUSDT
Munich's Momentum Wave V2MUNICH'S MOMENTUM WAVE VERSION 2 IS LIVE!!!
There are a few big things to note with this one.
I decided to upload this as an entirely new script due to the number of changes differing from the first version, but as the last one, this will still work on ANY TIMEFRAME, ANY ASSET CLASS, ANY PRICE! .
This momentum wave indicator now will give you data for when trend could turn, and two momentum indicators to help you decide when to take an entry.
First off,
*I have added an alma ma (alma) that will track momentum alongside price action and further lead the indicator consisting of the Munich waves.
* The background feature will track the price using a method derived from the Bollinger bands, after calculations, it will color the background based on the average of the momentum's ema's, the alma ma, and also the alma in comparison to the alma's value pre offset ( the offset is 3, following the basis).
*There are now 5 basis values given from the increase in ema samples.
If anyone has any questions feel free to pm me or comment below. Thank you guys for the support! :)
INDEX:BTCUSD TVC:NDQ AMEX:SPY BITSTAMP:ETHUSD BINANCE:BTCUSDT FX:USDJPY NASDAQ:AAPL
EMA 21 + MacD + RSI + Alma
Setting
EMA 21 = Green
EMA 9 = yellow
MacD = 5 35 5
RSI = 10
Alma 20 0.8 8
RULES
Long:
1. EMA 9 below 21
2. RSI above 50 from Oversold
3. Macd Solid green
4. SL @ ALMA
5. Conditional buy limit order @ top wick
6. 1:3 RR
Short:
1. EMA 9 above 21
2. RSI below 50 from Overbought
3. Macd Solid red
4. SL @ ALMA
5. Conditional sell limit order @ bottom wick
6. 1:3 RR
Many Moving AveragesA smooth looking indicator created from a mix of ALMA and LRC curves. Includes alternative calculation for both which I came up with through trial and error so a variety of combinations work to varying degrees. Just something I was playing around with that looked pretty nice in the end.
ALMA stdev band with fibsArnaud Legoux Moving Average with standard deviation band and standard deviation Fibonacci levels.
Standard deviation band is alma + stdev and alma - stdev.
Fibonacci levels are alma + stdev * fib ratio and alma - stdev * fib ratio (0.382 / 0.5 / 0.618 / 1.618 / 2.618).
Used like a moving average, but also shows probable price range based on past volatility, and helps to recognize support/resistance levels, trends and trend momentum based on the Fibonacci levels.
Exponential Top and Bottom FinderThis is an indicator to identify possible tops and bottoms after exponential price surges and drops, it works best on ETH 1D, but you can also use it for bitcoin and altcoins.
It's based on stochastic first and second derivatives of a close moving average
Guppy WavesA lightweight version of the popular "Moving Average Ribbon" or "Guppy" indicators where the visuals are plotted as "waves" rather than moving average lines. As is customary for my indicators, nearly everything about it is user selectable.
Visual Features:
User Customizable Colors
RSI-Based Rainbow Color Scheme
Simple Offset for adjusting transparency
Create great-looking charts very easily
Moving Average Options:
Running (SMoothed) Moving Average (RMA or SMMA ) - very slow/smooth
Simple Moving Average ( SMA )
Exponential Moving Average ( EMA )
Weighted Moving Average ( WMA )
Volume-Weighted Moving Average ( VWMA )
Triple EMA ( TEMA ) - very fast
Exponential Hull Moving Average (EHMA) - Hull with Smoothing (Slower than Hull)
Least Squares Moving Average ( LSMA ) - Simple Linear Regression
Arnaud Legoux Moving Average ( ALMA ) - Adjustable, set offset=1 to be current, offset=0.85 for good smoothing
Hull Moving Average ( HMA ) - very fast
Tillson T3 - very smooth
Donchian Moving Average - plots the average of (lowest, highest) for a given period length
The user can change the source, period, and type of moving average used for every single line on the chart.
ALMA cross signal by hk4jerry<< ALMA CROSS signal >>
*NONE REPAINT STRATEGY*
--As a result of testing for a month, using alma does not result in repainting--
--ALMA 크로스 결과는 한달간의 테스트 결과, 리페인팅되지 않습니다--
(ENGLISH description O)
==NOTE==
1. MA 크로스 지표는 잘못된 신호들이 자주 등장합니다. 정확성을 더 높일수 있는 방법은 없을까 고민을 해봤습니다. 더 낮은 가격에 매수하고, 더 높은 가격에서 매도하는 것이 중요했습니다. 우리가 흔히 저점, 고점을 알아내기 위한 지표이자, 선행지표인 RSI를 추가하는 방법을 연구했습니다.
2. 예를 들어, MA 크로스 매수 신호가 발생했을때, rsi값이 50이면 가격이 더 떨어질 가능성이 큽니다. 하지만, rsi값이 30이하인 경우에만 매수 신호가 발생한다면, 그 가격이 저점일 확률이 매우 높아지는 원리 입니다.
3. 신호는 확률입니다. 트레이딩에 100%는 없습니다. 그 확률을 높이는 것은 리스크 관리 입니다. 분할 매수 관점으로 포지션을 잡으시거나, 단기 매매로 가져가시는걸 추천드립니다.
==rsi ma source 설정==
1. 'rsi ma' 값의 소스입니다.
2. 'rsi 길이' 는 값이 클수록 더욱 정확한 시그널이 발생합니다.
3. EMA 길이가 짧을수록 더 많은 시그널이 발생합니다. 그러나, 정확도는 떨어집니다.
==rsi ma 설정==
1. rsi를 source로한 EMA입니다.
2. rsi와 유사한 성격을 가집니다.
3. 'rsi ma' 값이 30이하이면 과매도, 70이상이면 과매수 입니다.
4. ' rsi ma long value' 이 30이면 매수 신호가 rsi ma 값이 30 이하인 경우에만 발생함을 의미 합니다.
5. "rsi ma short value' 가 70이면 매도 신호가 rsi ma 값이 70 이상인 경우에만 발생함을 의미 합니다.
==rsi 설정==
1. 실제 rsi(14,close) 값을 의미합니다.
2. rsi ma value와 비슷한 기능입니다.
3. rsi 길이가 14이므로, 값은 40~50 사이가 적당합니다.
4. 30 또는 70으로 설정할 시, 신호가 거의 발생하지 않습니다.
(ENG)
==NOTE==
1. MA cross indicator often shows false signals. I was wondering if there is a way to increase the accuracy further. It was important to buy at a lower price and sell at a higher price. We studied how to add RSI, which is a leading indicator and an indicator to find lows and highs, often.
2. For example, when a buy MA cross signal occurs, if the rsi value is 50, the price is more likely to fall. However, if a buy signal occurs only when the rsi value is below 30, the probability that the price is at the bottom is very high.
3. A signal is a probability. There is no 100% in trading. Increasing that probability is risk management. It is recommended to hold a position from the perspective of a split buy or take it as a short-term trade.
==rsi ma source option==
1. The source of the 'rsi ma' value.
2. The larger the 'rsi length' value, the more accurate the signal is generated.
3. Shorter EMA lengths produce more signals. However, the accuracy is reduced.
==rsi ma options==
1. EMA with rsi as the source.
2. It has similar characteristics to rsi.
3. If the 'rsi ma' value is below 30, it is oversold, and if it is above 70, it is overbought.
4. If 'rsi ma long value' is 30, it means that a buy signal will only occur when the rsi ma value is less than or equal to 30.
5. If "rsi ma short value' is 70, it means that a sell signal will only occur when the rsi ma value is above 70.
==rsi option==
1. It means the actual rsi(14,close) value.
2. This function is similar to rsi ma value.
3. Since the rsi length is 14, a value between 40 and 50 is appropriate.
4. When set to 30 or 70, almost no signal is generated.
BUY/SELL SIGNALS from LSMA/ALMA/HMAThis indicator uses the Least Squares Moving Average (LSMA) in tandem with the Arnaud Legoux Moving Average (ALMA) and Hull Moving Average (HMA) to generate buy-sell signals, represented by the light blue and orange crosses respectively.
The yellow lines produced by the indicator show periods of market uncertainty and possible reversal, and a modified, user-defined VWAP is given along with a 200 EMA. The point of this indicator was to create a smoother, more visually appealing moving-average, price action-based indicator when compared to the trend-step and simple moving average indicators available. This indicator uses a fast (25 period) LSMA coupled with a slower (50 period) HMA and ALMA in order to make signals both smooth and fast.
This indicator will work on all markets, except the modified VWAP will naturally not function if the volume is unpublished for that market. Use of this indicator will be very strong in trending markets, as the yellow line will spot possible reversals quite early, meaning the trader can be ready early for the buy/sell signal to appear. Use of this indicator in sideways market conditions will be limited, as it is for all moving average-based indicators, but the damage will be minimal as bad trades will be quickly realized by the indicator and the color will switch to yellow, this is possible because of the settings differences between the period lengths of the LSMA vs the ALMA + HMA.
Moving Average MultitoolI made this script as a personal tool while backtesting multiple moving averages. It allows you to easily access and switch between different types of moving averages, without having to continuously add and remove different moving averages from your chart.
It also has the option to show the a 14 period average distance between the closing price of an asset and the selected moving average, as a multiple of ATR. This number can be shown by enabling the "Show ATR Between MA and Close" setting. The intention of this value is to quantify and compare the speed of different moving averages across any instrument and any timeframe. The higher the value, the slower the moving average. The lower the value, the faster the moving average.
Keltner Channel With User Selectable Moving AvgKeltner Channel with user options to calculate the moving average basis and envelopes from a variety of different moving averages.
The user selects their choice of moving average, and the envelopes automatically adjust. The user may select a MA that reacts faster to volatility or slower/smoother.
Added additional options to color the envelopes or basis based on the current trend and alternate candle colors for envelope touches. The script has a rainbow gradient by default based on RSI.
Options (generally from slower/smoother to faster/more responsive to volatility):
SMMA,
SMA,
Donchian, (Note: Selecting Donchian will just convert this indicator to a regular Donchian Channel)
Tillson T3,
EMA,
VWMA,
WMA,
EHMA,
ALMA,
LSMA,
HMA,
TEMA
Value Added:
Allows Keltner Channel to be calculated from a variety of moving averages other than EMA/SMA, including ones that are well liked by traders such as Tillson T3, ALMA, Hull MA, and TEMA.
Glossary:
The Hull Moving Average ( HMA ), developed by Alan Hull, is an extremely fast and smooth moving average . In fact, the HMA almost eliminates lag altogether and manages to improve smoothing at the same time.
The Exponential Hull Moving Average is similar to the standard Hull MA, but with superior smoothing. The standard Hull Moving Average is derived from the weighted moving average ( WMA ). As other moving average built from weighted moving averages it has a tendency to exaggerate price movement.
Weighted Moving Average: A Weighted Moving Average ( WMA ) is similar to the simple moving average ( SMA ), except the WMA adds significance to more recent data points.
Arnaud Legoux Moving Average: ALMA removes small price fluctuations and enhances the trend by applying a moving average twice, once from left to right, and once from right to left. At the end of this process the phase shift (price lag) commonly associated with moving averages is significantly reduced. Zero-phase digital filtering reduces noise in the signal. Conventional filtering reduces noise in the signal, but adds a delay.
Least Squares: Based on sum of least squares method to find a straight line that best fits data for the selected period. The end point of the line is plotted and the process is repeated on each succeeding period.
Triple EMA (TEMA) : The triple exponential moving average (TEMA) was designed to smooth price fluctuations, thereby making it easier to identify trends without the lag associated with traditional moving averages (MA). It does this by taking multiple exponential moving averages (EMA) of the original EMA and subtracting out some of the lag.
Running (SMoothed) Moving Average: A Modified Moving Average (MMA) (otherwise known as the Running Moving Average (RMA), or SMoothed Moving Average (SMMA)) is an indicator that shows the average value of a security's price over a period of time. It works very similar to the Exponential Moving Average, they are equivalent but for different periods (e.g., the MMA value for a 14-day period will be the same as EMA-value for a 27-days period).
Volume-Weighted Moving Average: The Volume-weighted Moving Average (VWMA) emphasizes volume by weighing prices based on the amount of trading activity in a given period of time. Users can set the length, the source and an offset. Prices with heavy trading activity get more weight than prices with light trading activity.
Tillson T3: The Tillson moving average a.k.a. the Tillson T3 indicator is one of the smoothest moving averages and is both composite and adaptive.
Moving Average PanelThis indicator calculates many different moving averages and displays whether they are increasing or decreasing as a panel/table instead of a plot. Rows/columns can be removed from the table as needed in the options menu, there is also a mobile friendly/compact option as well as a location option.
Note: This script is large and may take a few moments to load.
Note: If there is not enough data, will default to bearish/decreasing.
Value Added
This is the most complete and transparent moving average panel/table indicator. Unlike things such as the Technical Ratings, you can see what components are increasing or decreasing.
There may be some advantage in judging if a trend is likely to reverse or not based on the MA's with less lag.
Good for quick screening of charts.
User Selectable Moving Average GuppyA version of the popular "Moving Average Ribbon" or "Guppy" indicators, except nearly everything about it is user selectable. The user can change the source, period, and type of moving average used for every single line on the chart. Note: The visuals are fairly intensive and may take a moment to catch up after adjusting settings.
Credit: This script utilizes the "Color Gradient Framework" tutorial by LucF (PineCoders) to create gradient visuals, which are also customizable for the user.
Moving Average Options:
Running (SMoothed) Moving Average (RMA or SMMA) - Slowest
Simple Moving Average (SMA) - Slow
Exponential Moving Average (EMA) - Responds faster to price than SMA
Weighted Moving Average (WMA)
Volume-Weighted Moving Average (VWMA)
Triple EMA (TEMA)
Exponential Hull Moving Average (EHMA) - Hull with Smoothing (Slower than Hull)
Least Squares Moving Average (LSMA) - Simple Linear Regression
Arnaud Legoux Moving Average (ALMA) - Adjustable, set offset=1 to be current, offset=0.85 for good smoothing (Slower)
Hull Moving Average (HMA) - Normally responds fastest to price of all options
Value Added :
This script is unique in that it allows the user to chart the "Guppy", except nearly everything about it is customizable. The user can change the source, period, and type of moving average used for every single line.
Typically, the Guppy is plotted with simple moving average or exponential moving average, which respond much slower to price than the Hull Moving Average, which this indicator uses as default. (Elimination of lag)
The Hull MA settings for the highest time frame moving averages should work well for assessing the overall macro trend, with a nice visual presentation. Additional labels and alerts for the macro trend are available.
Furthermore, this script provides many more options for type of moving average than is typical for a moving average indicator that provides the user with options, including advanced options such as Hull, TEMA, and ALMA.
The visual presentation is customizable and should provide some entertainment for users who want to create pretty charts.
Alma Moving Average Ribbon Reverse Length [DM]Greetings Colleagues
Following some recommendations and ideas I share this moving average, put all of them together
The length calculation is automatic there is only one input.
The length is inverse so it will wrap from the longest reference point, hence using phi
Moving averages will wrap around the price.
I've also added gradient color to plots and fill plots
There is an alert selector in case you are interested in a particular crossing, "remember that the order is reversed".
There is an alert visual plotshapes with offset signal.
Finally, after spending a few hours with the Williams alligator moving averages I found nothing special, but I added the individual offset adjustment for each moving average in case someone comes up with something.
Enjoy”
Some references about alma by "tradingview pinecoders"
What to look for
The Arnaud Legoux Moving Average has three elements to it:
Window: This element is the period. By default, the window is set to 9 periods, but it can be customized to fit any trading style.
Offset: This element is the Gaussian that is applied to the combo line and can be aligned to the current price. It’s default is set to 0.85, but by setting it to 1, you can make it align fully to the current price (similar to how an Exponential Moving Average (EMA) with a setting of 0 is like a Simple Moving Average (SMA)). 0.85 is what is recommended, however, you can customize it like with the window element.
Sigma: This element is a standard deviation that is applied to the combo line in order for it to appear more sharp. The default is set to 6 and it is not recommended to change the setting. The value of 6 is inspired by the Six Sigma process.
www.tradingview.com