Experts: Exp_XOSignal_ReOpen

 

Exp_XOSignal_ReOpen:

The Exp_XOSignal_ReOpen trading system based on the signals of the XOSignal indicator with trend following scaling.

Fig1. Examples of deals on the chart

Author: Nikolay Kositsin

 

hello, thanks for the EA, i tried to run it in backtest, but ea not opening any trades, below are the errors, unfortunately I don't understand it.



 
boeyahya #: hello, thanks for the EA, i tried to run it in backtest, but ea not opening any trades, below are the errors, unfortunately I don't understand it.

you don't understand because it is in russian? (since any other detalis were given by you, I am assuming the problem is to read russian messages)

Here it goes: 

BuyPositionOpen(): Неверные данные для структуры торгового запроса!
BuyPositionOpen(): OrderCheck(): Указан неподдерживаемый тип исполнения ордера по остатку

Means:

BuyPositionOpen(): Invalid data for the structure of the trading request! 
BuyPositionOpen(): OrderCheck(): An unsupported type of order execution is specified for the balance

Hope it helps you find the problem. 

 
boeyahya #: hello, thanks for the EA, i tried to run it in backtest, but ea not opening any trades, below are the errors, unfortunately I don't understand it.

I just compiled the source code and it runs fine on MT5 Build 4410

 
rrocchi #:

I just compiled the source code and it runs fine on MT5 Build 4410

That error message is broker dependent. The issue is in tradealgorithms.mqh where the order filling mode is hardcoded to ORDER_FILLING_FOK (request.type_filling=ORDER_FILLING_FOK;). 

For it to work with my broker, I had to replace with SYMBOL_FILLING_FOK. 

tradealorithms.mql doesn't check what filling modes are supported by the broker and uses a hard coded value. 

I guess that your broker must support ORDER_FILLING_FOK.

 
rrocchi #:

I just compiled the source code and it runs fine on MT5 Build 4410

rrocchi #:

you don't understand because it is in russian? (since any other detalis were given by you, I am assuming the problem is to read russian messages)

Here it goes: 


Means:

Hope it helps you find the problem. 

1st thanks for your reply, 2nd, I translated all the Russian messages, but just i cannot make the ea open trades, it keeps giving the same error messages, it compiles for me also yes, i use mt5 v4755, i tried all different settings, all gave same errors, i wish i can have a set file or something? i tried run on eurusd h8 same as your screen, for the MM settings, i tried all of them, as i thought it has to do with the lot size vs account balance, and thanks for your reply ))
 
ceejay1962 #:

That error message is broker dependent. The issue is in tradealgorithms.mqh where the order filling mode is hardcoded to ORDER_FILLING_FOK (request.type_filling=ORDER_FILLING_FOK;). 

For it to work with my broker, I had to replace with SYMBOL_FILLING_FOK. 

tradealorithms.mql doesn't check what filling modes are supported by the broker and uses a hard coded value. 

I guess that your broker must support ORDER_FILLING_FOK.

i will try it thanks for your comment ))

 
boeyahya #:

i will try it thanks for your comment ))

FYI: There are several places to change in the .mqh file.

 
wait, i am attaching here, the mql file (tradealgorithms.mqh) that i am using to compile it.
it runs perfectly.. (on strategy tester, and on real trading) ( i am using it [now] on real trades)

just replace the (tradealgorithms.mqh) with the one i just atached here, re-compile, and it will work

Sorry for my delayed response.. I will wait for yout feedback 
Files: