This script contains all commonly used types of moving averages in a single script. To our surprise, it turned out that there was no script available yet that contains multiple types of moving averages.
The following types of moving averages are included:
Simple Moving Averages (SMA)
Exponential Moving Averages (EMA)
Double Exponential Moving Averages...
This script is a custom visualization tool to plot 4 Moving Averages (MA).
Each MA is customizable; you can:
enable (disable) the plot of MA;
select whether the MA is an EMA or an SMA;
the source (open, close, ...);
the offset value (default is 0).
The 1st MA is an EMA with length 50.
The others MAs are SMA with length 9, 30...
All your popular moving average now in one indicator, also no need to open a lot of tabs to see where is that moving average at that time frame,
with multi time frame feature, now u can see up to six multi time frame MA in the same chart with option to show/hide it
list of moving averages:
After some tips in my indicator
RK's 04 - Lots of MA Types Ribbon I Put some time and effort to make it better.
So, I'm sharing with you the results.
This is an up to 10 lines Moving Average Ribbon with an Auto Evaluate Length and a lots of options!!!
Type of Moving Average you can use:
SMA - Simple Moving Average
SMMA - Smoothed Moving Average
This hasn't been done before. People know the ALMA moving average, TradingView, of course, has a built-in function for the ALMA = alma(). But, when you use built-in functions, you can't have a series as a length. Pinecoders put out a bunch of functions for various routines wherein the built-in doesn't allow for a series as a length. I got some help from @everget...
Why use CLAM?
Because candle length may be difficult to discern in fast, choppy markets. CLAM plots current price activity against previous trends. The calculation is similar to Know Sure Thing (KST) without the lag. CLAM uses Triple EMAs (TEMA) instead of Simple Moving Averages (SMAs), and raw open - close instead of clunky Rate of Change (ROC). CLAM...
Originally written by @ceyhun
I added a low lag filter to key components to smooth the bars. The user can adjust the parameters 'fast' and 'slow' to tune.
The original comments of ceyhun are below repeated:
Buying Selling Volume
-Buy Volume Percent %
-Sell Volume Percent %
This is an extension of the Madrid Moving Average Ribbon public script to allow for different kinds of moving averages (the original allows only exponential and simple). Possible entries in the MA Type argument field are:
sma (simple moving average)
ema (exponential moving average)
wma (weighted moving average)
trima (triangular moving average)
Designed for shorted time frames.
Bollinger bands based off of TEMA as source.
Ribbon based off TEMA and hullMA divergence.
RMA used to signal Bollinger bands.
pinch -> reversal
blue -> sign of possible uptrend
red -> sign of possible downtrend
Bollinger bands background:
blue -> sign of continuing uptrend
red -> sign of continuing downtrend
This strategy is based on the Amazing scalper for majors with risk management by SoftKill21
The change is in lines 11-20 where the sma's are replaced with Triple ema's to
lower the lag.
The original author is SoftKill21. His explanation is repeated below:
Mashed together the ema-bands from IvanLabrie with some moving average script stuff from ChrisMoody and LazyBear and this is the result. Credit goes to them, 'cause I don't know to how to code tbh. Just copy/pasted stuff untill I got the result I wanted.
Bands work as support/resistance among other things. You can use them to trade breakouts or reversals or...
This is the script for the idea published by @ChrisMoody
Below is the link to the idea
Try the scripts for longer periods (e.g. 1 D).
The script still requires some tweaks as one of the issue is that the shorts and puts are being placed 2 candles after a...
This version adds HMA and VWMA, allowing you to backtest different crossover strategies for any combination, with the exits on the turning point of the faster MA. Due to order limitations this will only work on higher timeframes for some combinations, or on more recent exchanges with less history. You can edit the code though to add the timestamp to a recent date.