Unisciti alla nostra fan page
- Visualizzazioni:
- 6542
- Valutazioni:
- Pubblicato:
- 2012.12.20 07:26
- Aggiornato:
- 2023.03.29 13:42
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
The real author:
Xrust & Vinin
A digital adaptive Moving Average XXMA represents subtype of Moving Averages with a digital flat-trend filter and is made to separate the angular direction of price movement (trend) from the horizontal (flat) direction for effective trend trading.
As you can see on the figure, during the trend movement of the price XXMA line stays over or under the price chart constantly changing its meaning and drawing bounding line, and during the horizontal movement (flat) it stays in a fixed position. The signal to enter into the deal is closing bar above or below the indicator line on the slant, while the signal to close the position is crossing or closing of the indicator line into the opposite side on the horizontal position.
This indicator was first implemented in MQL4 and published in Code Base on 17.08.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 XXMA indicator
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/1271
![HeikinAshi_SepWnd](https://c.mql5.com/i/code/indicator.png)
The Heikin Ashi indicator drawn in a separate subwindow with the ability to choose a period
![Gaus_MA](https://c.mql5.com/i/code/indicator.png)
The indicator calculates the Moving Average using a modified algorithm of the linearly weighed Moving Average.
![XATRStopLevel](https://c.mql5.com/i/code/indicator.png)
The indicator gives Stop Loss value for open position on the basis of the XATR indicator.
![Trend Continuation Factor](https://c.mql5.com/i/code/indicator.png)
The indicator to determine the trend and its directions.