Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2013.01.23 15:54

Exp_TMA - expert for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 16
tma.mq5 (5.21 KB)view
exp_tma.mq5 (6.27 KB)view


The breakthrough trading system based on the signals of the TMA indicator. A signal to perform a deal is formed at bar closing when there is breakthrough on the channel created by two TMA Moving Averages separated in a distance from the TMA Moving Average in a distance in points determined by the input parameter of the UpLevel (long breakthrough level in points) and DnLevel (short breakthrough level in points) Expert Advisor. 

Place TMA.ex5 compiled file to the terminal_data_folder\MQL5\Indicators.

Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests. 


Fig. 1. The instances of history of deals on the chart.

Fig. 1. The instances of history of deals in the chart.


Testing results for 2011 at USDCHF H4:

Fig. 2. Chart of testing results

Fig. 2. Chart of testing results

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

TP-SL_Removing TP-SL_Removing

Immediately deletes the SL/TP of all positions.

Closed_TOTAL Closed_TOTAL

Total closure of all positions (winners/losers). You can also select which are of a single instrument.