거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Triangular moving average - MetaTrader 5용 지표

조회수:
13566
평가:
(39)
게시됨:
2018.11.09 21:16
업데이트됨:
2019.01.29 16:21
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Theory:

Triangular moving average is a sort of a weighted moving average that is known for very smooth results. The weights in the triangular moving average are adding more weight  to central values of the averaged data. Hence the coefficients are specifically distributed. Some of the examples that can give a clear picture of the coefficients progression:

period 1 : 1
period 2 : 1 1
period 3 : 1 2 1
period 4 : 1 2 2 1
period 5 : 1 2 3 2 1
period 6 : 1 2 3 3 2 1
period 7 : 1 2 3 4 3 2 1
period 8 : 1 2 3 4 4 3 2 1
period 9 : 1 2 3 4 5 4 3 2 1

and so on and on ...

There are several implementations and definitions of the triangular moving average. Some are accurate and some are not (the "not accurate" never realized that you can not have same average value for odd and even period). Some are actually a funny interpretation of what has been talked about triangular moving average over and over. The accurate methods mainly lack only one thing : they are looped over and over and for longer periods the execution speed becomes critical.

This version:

Solves the execution speed while producing accurate results (there are no same average values for odd and even periods :))

Usage:

You can use the color change as signal. Be advised that, unlike the many that are mixing centered TMA with the TMA, this is not the centered TMA and it does not recalculate / repaint.



Ehlers Fisher transform (original) Ehlers Fisher transform (original)

Ehlers Fisher transform (as originally described in the book)

Channel design indicator Channel design indicator

A channel is a trading range between support and resistance levels that a stock price oscillates in for a period of time. This indicator draws the resistance and support lines based on the peaks and valleys that are found within a defined period of time.

Filtered price Filtered price

Filtered price using self adjusting deviation for price filtering

Filtered averages Filtered averages

Filtered averages