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

Theory :

A z-score (aka, a standard score) indicates how many standard deviations an element is from the mean. A z-score can be calculated from the following formula.

z = (X - μ) / σ

where z is the z-score, X is the value of the element, μ is the population mean, and σ is the standard deviation.

Here is how to interpret z-scores.

  • A z-score less than 0 represents an element less than the mean.
  • A z-score greater than 0 represents an element greater than the mean.
  • A z-score equal to 0 represents an element equal to the mean.
  • A z-score equal to 1 represents an element that is 1 standard deviation greater than the mean; a z-score equal to 2, 2 standard deviations greater than the mean; etc.
  • A z-score equal to -1 represents an element that is 1 standard deviation less than the mean; a z-score equal to -2, 2 standard deviations less than the mean; etc.
  • If the number of elements in the set is large, about 68% of the elements have a z-score between -1 and 1; about 95% have a z-score between -2 and 2; and about 99% have a z-score between -3 and 3.

This version :

It is using JMA (Jurik Moving Average) as the basis for Z-score calculation. If you set the JMA period to <= 1, you are going to get a "regular" Z-score (ie: "raw" price is going to be used in that case and the values are not going to be as smooth as when JMA is used for price pre-filtering, but that allows us to have both - "regular" and "JMA filtered" Z-score)

Usage :

You can use the color (the slope direction change) of the z-score as signals. Also you can use the zero line cross as signals too


Headley's acceleration bands Headley's acceleration bands

Headley's acceleration bands

ATR adaptive JMA ATR adaptive JMA

ATR adaptive JMA

Laguerre RSi with Laguerre filter - extended Laguerre RSi with Laguerre filter - extended

Laguerre RSi with Laguerre filter - extended

T3 stripped T3 stripped

T3 stripped