A Study of Moving Average Types
// SMA Simple
// WMA Weighted
// VWMA Volume Weighted
// EMA Exponential
// DEMA Double EMA
// ALMA Arnaud Legoux
// HMA Hull MA
// SMMA Smoothed
// LSMA Least Squares
// KAMA Kaufman Adaptive
// TEMA Triple EMA
// ZLEMA Zero Lag
// FRAMA Fractal...
Here is a very simple script for Triple EMA that adds 3 EMA's of your choice to the chart consuming the space for only one indicator.
This is especially helpful to free users with a limit of 3 indicators per chart.
Extended version of my first indicator about TEMAS
Now this indicator is showing
TEMAS are very useful to see the trend because they don't have lag like SMA or EMA
but they can't be considered as supports or resistance.
This script allows you to add two moving averages to a chart, where the type of moving average can be chosen from a collection of 15 different moving average algorithms. Each moving average can also have different lengths and crossovers/unders can be displayed and alerted on.
The supported moving average types are:
Simple Moving Average ( SMA )
This type of moving average was originally developed by Dennis McNicholl (Futures Magazine, (October, 1998): "Better Bollinger Bands"). A kind of TEMA. He used it as a centerline of the new bands, called Better Bollinger Bands or DEnvelope. The Better Bollinger Bands is a modification of the well-known Bollinger Bands that has a better response for changes in volatility.
This type of moving average was originally developed by Bruno Pio in 2010. I just ported the original code from MetaTrader 5. The method uses a linear combination of EMA cascades to achieve better smoothness. Well, actually you can create your own X-uple EMA, but be sure that the combination' coefficients are valid.
This is a means to find the highest triple moving average input from an array of triple moving averages. The effect is to dampened the impact of price changes and look for a critical level to qualify a good or bad trades. If the price closes above a rising red line the odds probably favor a long. If the price closes below a declining red line the odds probably...
This is a means to find the lowest triple moving average input from an array of triple moving averages. The effect is to dampened the impact of price changes and look for a critical level to qualify a good or bad trades. If the price closes above a rising green line the odds probably favor a long. If the price close below a declining green line the odds...