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
Kütüphaneler

IncFramaOnArray - MetaTrader 5 için kütüphane

Görüntülemeler:
3378
Derecelendirme:
(24)
Yayınlandı:
2012.01.20 08:53
Güncellendi:
2016.11.22 07:32
\MQL5\Include\IncOnArray\ \MQL5\Indicators\
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

The CFramaOnArray class is intended for calulcation of Fractal Adaptive Moving Average (FRAMA) on indicator buffers.

Usage:

The Init() method with the following parameters is called in the OnInit() function of the indicator:

  • int aPeriod is indicator period.

The Solve() method with the following parameters is called in the OnCalculate() function:

  • const int aRatesTotal is the rates_total variable from the OnCalculate() function parameters;
  • const int aPrevCalc is the prev_calculated variable from the OnCalculate() function parameters;
  • double aDataHigh[] is the buffer with the High data for the indicator calculation;
  • double aDataLow[] is the buffer with the Low data for the indicator calculation;
  • double aDataClose[] is the buffer with the Close data for the indicator calculation;
  • double aPrama[] is the buffer with calculated values of the indicator.
Additional methods:
  • int BarsRequired() returns the minimum number of bars required for the indicator calculation;
  • string Name() returns a string with the indicator name.

The Test_FramaOnArray.mq5 is an indicator demonstrating how to use the CFramaOnArray class. The IncFramaOnArray file must be located in the MQL5\Include\IncOnArray directory of the terminal data folder (the IncOnArray folder must be created).

Fractal Adaptive Moving Average Technical Indicator (FRAMA) was developed by John Ehlers. This indicator is constructed based on the algorithm of the Exponential Moving Average, in which the smoothing factor is calculated based on the current fractal dimension of the price series. The advantage of FRAMA is the possibility to follow strong trend movements and to sufficiently slow down at the moments of price consolidation.

An example of using the CFramaOnArray class

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

IncOBVOnArray IncOBVOnArray

The COBVOnArray class is intended for calculation of OBV (On Balance Volume) on indicator buffers.

IncCHVOnArray IncCHVOnArray

The CCHOOnArray class is intended for calculation of the Chaikin Volatility indicator (CHV) on indicator buffers.

Heiken_Ashi_Smoothed_HTF_Signal Heiken_Ashi_Smoothed_HTF_Signal

Heiken_Ashi_Smoothed_HTF_Signal displays trend direction as a sequence of graphical objects, the trend is determined by Heiken_Ashi_Smoothed indicator.

Break_Lag_ATR Break_Lag_ATR

The indicator showing volatility breakout as a histogram and serving as a signal for market entry/exit/position reversal or position volume increasing.