ZLS: Penunjuk Zero Lag Stochastic untuk MetaTrader 5

Mike 2018.07.09 22:40 17 0 0
Lampiran

Apakah itu penunjuk ZLS (Zero Lag Stochastic)? Ia adalah penunjuk stochastic tanpa kelewatan yang mengira nisbah beberapa stochastic dengan tempoh yang berbeza. Ia menggunakan %K, perlambatan, dan berat untuk memberi isyarat yang lebih tepat.

Penunjuk ini mempunyai 31 parameter input, di antaranya:

  • Smoothing - tempoh penapisan garis isyarat penunjuk (satu-satunya parameter yang sama untuk semua stochastic).

Data stochastic pertama:

  • Stoch 1 %K period - tempoh garis %K untuk stochastic 1.
  • Stoch 1 %D period - tempoh garis %D untuk stochastic 1.
  • Stoch 1 Slowing - perlambatan untuk stochastic 1.
  • Stoch 1 Method - kaedah pengiraan stochastic 1.
  • Stoch 1 Price field - harga pengiraan untuk stochastic 1.
  • Stoch 1 Weight - berat nilai stochastic 1.

Data stochastic kedua:

  • Stoch 2 %K period - tempoh garis %K untuk stochastic 2.
  • Stoch 2 %D period - tempoh garis %D untuk stochastic 2.
  • Stoch 2 Slowing - perlambatan untuk stochastic 2.
  • Stoch 2 Method - kaedah pengiraan stochastic 2.
  • Stoch 2 Price field - harga pengiraan untuk stochastic 2.
  • Stoch 2 Weight - berat nilai stochastic 2.

Data untuk stochastic 3, 4, dan 5 adalah serupa:

Pengiraan:

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

di mana:

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

Senarai
Komen 0