Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Facebook üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Görüntülemeler:
4857
Derecelendirme:
(10)
Yayınlandı:
2018.10.25 17:59
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

MA Trend trend oscillator displays a trend based on the analysis of a specified set of moving averages with calculated periods within the specified range.

There are five inputs:

  • Period begin - MA initial calculation period
  • Period step - МА calculation period increment step
  • Count - number of calculated МАs
  • Method - МА calculation method
  • Applied price - МА calculation price

Calculation:

MATrend = Sum(S) / Count

where:

  • If Applied price > MA
    S = 1
  • If Applied price < MA
    S = -1

MA - MovingAverage(Applied price,Period begin+Period step,Method)

Fig. 1. MA_Trend with the default parameters: Period begin=10, Period step=10, Count=50


Fig. 2. MA_Trend with the parameters: Period begin=5, Period step=2, Count=50


MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/22419

Generalized double DEMA Generalized double DEMA

Generalized double DEMA

Avg_MA Avg_MA

Average from MA indicator

xMASumAvg xMASumAvg

X MA Sum Average indicator

Autotrader Momentum Autotrader Momentum

The Expert Advisor compares Close prices