Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Visualizzazioni:
6485
Valutazioni:
(34)
Pubblicato:
2012.12.21 11:45
Aggiornato:
2023.03.29 13:42
\MQL5\Include\
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

The real author:

Daniil V. Bugayev

Frequently, using a fixed size channel cause difficulties because of the changing market volatility. The offered indicator does not have such disadvantage and it changes the channel size depending on the average value of candlesticks. At the same time most of the functional common to the Moving Average indicator is saved. In fact, it is the Keltner channel on which instead of the usual simple averaging for the size of candlesticks is the possibility to use one of the ten versions of averaging:

  1. SMA - simple Moving Average;
  2. EMA - exponential Moving Average;
  3. SMMA - smoothed Moving Average;
  4. LWMA - linear weighed Moving Average;
  5. JJMA - adaptive averaging JMA;
  6. JurX - ultralinear averaging;
  7. ParMA - parabolic averaging;
  8. T3 - Tillson's multiple exponential smoothing;
  9. VIDYA - smoothing using Tushar Chande's algorithm;
  10. AMA - smoothing using Perry Kaufman's algorithm.

It should be noted that Phase1 and Phase2 parameters have completely different meaning for different smoothing algorithms. For JMA it is an external Phase variable changing from -100 to +100. For T3 it is a smoothing ratio multiplied by 100 for better visualization, for the VIDYA it is a CMO oscillator period and for the AMA it is a slow EMA period. In other algorithms these parameters do not affect smoothing. For AMA fast EMA period is a fixed value and is equal to 2 by default. The ratio of raising to the power is also equal to 2 for AMA.

This indicator was first implemented in MQL4 and published in Code Base on 16.07.2009.

The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging price series for intermediate calculations without using additional buffers".

Fig.1 The XMA_Range_Bands indicator.

Fig.1 The XMA_Range_Bands indicator.

Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/1273

Spectrometr_Separate Spectrometr_Separate

Financial asset oscillation spectrum

Trend Continuation Factor Trend Continuation Factor

The indicator to determine the trend and its directions.

Exp_XMA_Range_Bands Exp_XMA_Range_Bands

The breakthrough system using the XMA_Range_Bands indicator.

ShowOpenDayLevel ShowOpenDayLevel

The indicator displaying the level of opening day at any timeframe (less than two hours) with the ability to perform the shift of day start time and consider the presence of Sundays in the chart