Re: MT5 Moving Averages (MAs)

81
Banzai wrote: Wed Apr 27, 2022 2:10 am AMA (filtered) [on/off buttons]

Released date: December 20th, 2018
Coder: Mladen

Theory :

In “Adaptive Moving Averages” in this issue (Technical Analysis of Stocks & Commodities, April 2018), author Vitali Apirine introduces an adaptive moving average (AMA) technique based on Perry Kaufman’s KAMA (Kaufman adaptive moving average). His update to the original KAMA allows the new method to account for the location of the close relative to the high–low range. The author describes a trading system that combines the AMA and KAMA, suggesting that the combination may reduce the number of whipsaws relative to using either moving average by itself.

The indicator is coded exactly as it is described by Vitali Apirine (including the usage of high and low prices for adapting). But in order to make it easier to use it in a "classical way" (ie: using some sorts of signals that we can get from it), this version has additional filter to make the slope change color changes less frequent and thus to make false signals appear in fewer occasions

Usage :

It can be used as any regular moving average (or, for the users of KAMA - Perry Kaufman's AMA, as a "faster" substitute of KAMA). Also, you can use the color change of this indicator as signal.
Image
Thank you

Can you give the version on MT4 please.
Hope you take some time to share with me and everyone. Thank you very much




Re: MT5 Moving Averages (MAs)

87
From Mladen:

Theory:

The double exponential moving average (DEMA), was developed by Patrick Mulloy in an attempt to reduce the amount of lag time found in traditional moving averages. It was first introduced in the February 1994 issue of the magazine Technical Analysis of Stocks & Commodities in Mulloy's article "Smoothing Data with Faster Moving Averages". The way to calculate is the following :

The Double Exponential Moving Average calculations are based combinations of a single EMA and double EMA into a new EMA:

1. Calculate EMA

2. Calculate Smoothed EMA by applying EMA with the same period to the EMA calculated in the first step

3. Calculate DEMA

DEMA = (2 * EMA) - (Smoothed EMA)



This version:

It is using Tim Tillsons (the inventor of T3) idea, and is using GDEMA of GDEMA for calculation (which is the "middle step" of T3 calculation). Since there are not versions showing that "middle step, this version covers that too. The result is smoother than Generalized DEMA, but is less smooth than T3 - one has to do some experimenting in order to find the optimal way to use it, but in any case, since it is "faster" than the T3 (Tim Tillson T3) and still smooth, it looks like a good compromise between speed and smoothness.

Usage:

You can use it as any regular average or you can use the color change of the indicator as a signal.
These users thanked the author mrtools for the post (total 5):
thomdel, 太虚一毫, pfxi, mhipolito, RodrigoRT7

Re: MT5 Moving Averages (MAs)

88
Linear Regression-Adjusted Exponential Moving Average

From Mladen:

Indicator based on TASC August 2022 issue by Vitraly Apirine : "The Linear Regression-Adjusted Exponential Moving Average"


Gray line is the "regular" ema, added to example as a comparison to the "Linear Regression-Adjusted Exponential Moving Average".
______________________

The higher the sensitivity, the "faster" (as in response to price changes) the average is. Sensitivity 0 makes it equal to EMA
Colors are based on slope change (not the crosses with the EMA , since the indicator itself does not draws ema).
Use it as any other moving average

PS: PS: For the MT4 version, please see: Linear Regression-Adjusted Exponential Moving Average MT4.
These users thanked the author mrtools for the post (total 2):
太虚一毫, RodrigoRT7


Who is online

Users browsing this forum: pytason and 7 guests