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

Indicator ZLS (Zero Lag Stochastic) - a zero-delay stochastic - a ratio of several stochastics with different periods %К, deceleration, and weights.

The indicator has 31 input parameters:

  • Smoothing - the indicator signal line smoothing period (the only parameter common to all the stochastics).

First stochastic data:

  • Stoch 1 %K period - %K line period of stochastic 1.
  • Stoch 1 %D period - %D line period of stochastic 1.
  • Stoch 1 Slowing - deceleration of stochastic 1.
  • Stoch 1 Method - stochastic 1 calculation method.
  • Stoch 1 Price field - stochastic 1 calculation prices.
  • Stoch 1 Weight - weight of stochastic 1 values.

Second stochastic data:

  • Stoch 2 %K period - %K line period of stochastic 2.
  • Stoch 2 %D period - %D line period of stochastic 2.
  • Stoch 2 Slowing - deceleration of stochastic 2.
  • Stoch 2 Method - stochastic 2 calculation method.
  • Stoch 2 Price field - stochastic 2 calculation prices.
  • Stoch 2 Weight - weight of stochastic 2 values.

Data of stochastics 3, 4, and 5 are similar:

Calculation:

K = (S1 + S2 + S3 + S4 + S5) / SumWeight
D = K / Smoothing + PrevD * (Smoothing-1) / Smoothing

where:

S1 - Stochastic(1 %K period, 1 %D period, 1 Slowing, 1 Method, 1 Price field)
S2 - Stochastic(2 %K period, 2 %D period, 2 Slowing, 2 Method, 2 Price field)
S3 - Stochastic(3 %K period, 3 %D period, 3 Slowing, 3 Method, 3 Price field)
S4 - Stochastic(4 %K period, 4 %D period, 4 Slowing, 4 Method, 4 Price field)
S5 - Stochastic(5 %K period, 5 %D period, 5 Slowing, 5 Method, 5 Price field)
SumWeight = 1 Weight + 2 Weight + 3 Weight + 4 Weight + 5 Weight

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/21099

Test_values_print Test_values_print

A simple include file to print out the values and names of variables.

Exp_WAMI_Cloud_X2 Exp_WAMI_Cloud_X2

A trend-following trading system Exp_WAMI_Cloud_X2 based on the sisgnals of two indicators WAMI.

AML AML

Indicator AML (Adaptive Market Level) displays one of three market states: Flat, uptrend, and downtrend.

APZ APZ

Indicator APZ (Adaptive Price Zone) represents an adaptive price channel.