Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
6385
Rating:
(34)
Published:
2012.12.20 07:26
Updated:
2023.03.29 13:42
\MQL5\Include\
xxma.mq5 (7.22 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to 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

Fig.1 The XXMA indicator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1271

HeikinAshi_SepWnd HeikinAshi_SepWnd

The Heikin Ashi indicator drawn in a separate subwindow with the ability to choose a period

Gaus_MA Gaus_MA

The indicator calculates the Moving Average using a modified algorithm of the linearly weighed Moving Average.

XATRStopLevel XATRStopLevel

The indicator gives Stop Loss value for open position on the basis of the XATR indicator.

Trend Continuation Factor Trend Continuation Factor

The indicator to determine the trend and its directions.