Expert Advisors: An Expert Advisor - Index Moving Average

 

An Expert Advisor - Index Moving Average:

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 daily bars are used for trading. The signals checks when the new bar is appear.  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.

Author: mvv444

An Expert Advisor - Index Moving Average

An Expert Advisor - Index Moving Average

[Deleted]  

To the author of the Expert Advisor, or the developers!


The following errors occur in build 314:

'POSITION_TYPE_BUY' - can't convert enum        IMA_Expert.mq5  111     53
'POSITION_TYPE_SELL' - can't convert enum       IMA_Expert.mq5  114     53
implicit conversion from 'number' to 'string'   IMA_Expert.mq5  141     25
implicit conversion from 'number' to 'string'   IMA_Expert.mq5  142     19

Regarding comments. It is better to specify them then like this:

Comment("k_current=",k1,"\nlot=",lot); //Строка 141
 
Interesting:

To the expert author, or the developers!


The following errors occur in build 314:

Regarding comments. It is better to specify them then like this:

In the new version of the EA the error is fixed.
[Deleted]  
mvv444:
The error has been corrected in the new version of the EA.

Will we not correct it in this version? The POSITION_TYPE_BUY type does not correspond to the necessary one and the price (the last parameter) for FreeMarginCheck is not specified...

PS

And where to see this new version?

 

Interesting:

PS And where to see this new version?

The updated code has been published.
[Deleted]  
Automated-Trading:
The updated code has been published.
I don't know where it is published, the original version is loaded here. It is also loaded through Editor, in the library....
 

Interesting:
Не знаю где он опублекован, тут грузится первоначальный вариант. Через Эдитор, в библиотеку, тоже он грузится...

I have the corrected version loading.

[Deleted]  
mvv444:

I'm loading the corrected version.

Three times tried to load here and twice from the library of the editor. The result is the same...

Maybe just in a post here you can put the new release?

PS

Checked again, from the site began to load a normal copy (without glitches), from the Editor is still available old...

 
Why doesn't it work?