Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter ü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:
3360
Derecelendirme:
(13)
Yayınlandı:
2018.12.18 19:17
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

Average Percentage True Range indicator with MA adjustments is an extended version of the Average Percentage True Range indicator described in Stock&Commodities (November 2015).

It has two configurable parameters:

  • Period - calculation period
  • MA method - МА calculation method

Calculation:

APTR = 100.0 * MA(PTR, Period, MA method)

where:

PTR = Max(s1,s2,s3)
s1 = 2.0 * (High-Low) / (High+Low)
s2 = 2.0 * (High-PrevClose) / (High+PrevClose)
s3 = 2.0 * (Low-PrevClose) / (3.0*Low-Prevlose)

When selecting the Simple calculation mode, the indicator is completely identical to the Average Percentage True Range indicator

Fig. 1. Average Percentage True Range, Method = Simple


Fig. 2. Average Percentage True Range, Method = Exponential


Fig. 3. Average Percentage True Range, Method = Smoothed


Fig. 4. Average Percentage True Range, Method = Linear weighted


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

Coral Coral

Coral indicator

Exp_AdaptiveRenko_Duplex Exp_AdaptiveRenko_Duplex

Two identical trading systems (for long and short positions) based on the signals of the AdaptiveRenko indicator, which can be configured in different ways within one Expert Advisor

APTR APTR

Average Percentage True Range indicator

MA_Filter MA_Filter

MA with filter