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


An Expert Advisor - Index Moving Average - expert for MetaTrader 5

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

votes: 39
2010.07.30 18:16
2016.11.22 07:32
ima.mq5 (1.76 KB)view
ima_expert.mq5 (6.96 KB)view

This Expert Advisor implements the trading strategy, based on the Index Moving Average (IMA) indicator, its money management system dependent on the specified risk and loss size.

The strategy

The daily bars are used for trading. The signals checks when the new bar is appear.

The formulae is:

k=(ima0 – ima1)/|ima1|

where ima0 – the current value of IMA indicator, ima1 – is the previous value of the IMA indicator.

  • Open long position, when k>= 0,5;
  • Open short position, when k<= -0,5.

The management of opened position is based on the trailing stop, specified in the value of the take parameter.
The loss trade is closed, according the specified drop parameter.

The lot size is changed with the minimal step up to the value, specified in max_lots parameter.

If this value is equal to 0, the lot can be from the minimal up the maximal allowed for the symbol.

An Expert Advisor - Index Moving Average

An Expert Advisor - Index Moving Average

Translated from Russian by MetaQuotes Software Corp.
Original code:

Index Moving Average Index Moving Average

The indicator shows the rate of change of the simple moving average.

The "Night" Expert Advisor The "Night" Expert Advisor

An Expert Advisor for trading during the night.

Heiken Ashi On Adaptive Moving Average Heiken Ashi On Adaptive Moving Average

This is the Heiken Ashi indicator, based on the averaged Open, High, Low and Close prices, averaged using the Adaptive Moving Average.

Free Fuzzy Logic Library functions Free Fuzzy Logic Library functions

The API functions to Free Fuzzy Logic Library.