거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
4151
평가:
(7)
게시됨:
2018.10.25 17:49
업데이트됨:
2019.01.29 15:39
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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:

Instead of using fixed multiplication factor in the final DEMA formula, the generalized version allows you to change it. By varying the "volume factor" form 0 to 1 you apply different multiplications and thus producing DEMA with different "speed" - the higher the volume factor is the "faster" the DEMA will be (but also the slope of it will be less smooth). The volume factor is limited in the calculation to 1 since any volume factor that is larger than 1 is increasing the overshooting to the extent that some volume factors usage makes the indicator unusable.

Usage:

You can use it as any regular average or you can use the color change of the indicator as a signal.



Connors_RSI Connors_RSI

Connors RSI indicator

Simple_Decycler Simple_Decycler

Simple Decycler indicator

Avg_MA Avg_MA

Average from MA indicator

Generalized double DEMA Generalized double DEMA

Generalized double DEMA