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

In short, this is a kind of weighted average (or a digital filter, depends how somebody prefers to call it) that is using probability density function to calculate the coefficients and the average. The short description of PDF is :

In probability theory, a probability density function (PDF), or density of a continuous random variable, is a function, whose value at any given sample (or point) in the sample space (the set of possible values taken by the random variable) can be interpreted as providing a relative likelihood that the value of the random variable would equal that sample. In other words, while the absolute likelihood for a continuous random variable to take on any particular value is 0 (since there are an infinite set of possible values to begin with), the value of the PDF at two different samples can be used to infer that, in any particular draw of the random variable, how much more likely it is that the random variable would equal one sample compared to the other sample.

More information here : https://en.wikipedia.org/wiki/Probability_density_function

Indicator has the usual set of options - 3 types of levels :

  • floating
  • quantile
  • or no levels (when it switches to "on slope" mode)

Color (and alerts) choices :

  • on outer levels cross
  • on middle levels cross
  • on slope change

It uses the usual set of prices + heiken ashi prices and i multi time frame already.


What might be obscure are the variance and mean parameter.

In general both are affecting the "speed" of the PDFma. Variance can be used in a range from 0 to 1. the smaller the variance the "faster" (and less smooth) the PDFma is (lower example is using variance 1 for the green value and variance 0.5 for orange value).


Mean is doing similar, except it uses values in a range from -1 to 1. Lower example green is using mean value of 1 and the orange is using mean -1.


In any case there is a plenty of room for experimenting with this type of filter/average.

Elliot oscillator Elliot oscillator

Elliot oscillator indicator.

Recursive (double) smoothed stochastic Recursive (double) smoothed stochastic

Recursive (double) smoothed stochastic - allows calculating double smoothed stochastic up to depth 15.

Balance of market power Balance of market power

Balance of market power (using improved Jurik filter for calculation).

AdxVma trend AdxVma trend

AdxVma trend.