hello everybody
I'm trying to backtest and forward test some advisors I've downloaded, unfortunately some of them don't trade, they take some minutes to run the test and then I've zero trades in the report.
it there any debugger other then print()? or do you know which are the main causes for this kind of problem?
Hi, do you have some info printed on the Journal tab ?
hi Alain,
I'm glad you answered I had this issue on asctrend advisor.
in the journal tab I have many lines like this:
GQ 0 18:49:44 Core 1 2012.12.17 07:00:00 Open sell failed. Return code=10030. Code description: invalid fill
do you need the full log?
thanks
hi Alain,
I'm glad you answered I had this issue on asctrend advisor.
in the journal tab I have many lines like this:
GQ 0 18:49:44 Core 1 2012.12.17 07:00:00 Open sell failed. Return code=10030. Code description: invalid fill
do you need the full log?
thanks
Hello Michele,
No need for the full log, you have the change 1 line of code :
trade.SetTypeFilling(ORDER_FILLING_RETURN); // Order filling mode, the mode allowed by the server should be used
by
trade.SetTypeFilling(ORDER_FILLING_FOK); // Order filling mode, the mode allowed by the server should be usedor eventually by ORDER_FILLING_IOC. Asctrend EA was my first program in mql5 and contains some limitations.
![Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Order Properties Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Order Properties](/i/community/logo_mql5_small.png)
- www.mql5.com
Hello Michele,
No need for the full log, you have the change 1 line of code :
by
or eventually by ORDER_FILLING_IOC. Asctrend EA was my first program in mql5 and contains some limitations.I've tried in both ways with same results.
I've recompiled and restarted mt5 getting the same results.
I've tried with ASCtrendND and ASCtrendEA
could be because of some input parameters?
try another broker.
I've a demo account.
btw simpler EA like movingAverages one are working on backtesting and fwtesting
![Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Account Properties Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Account Properties](/i/community/logo_mql5_small.png)
- www.mql5.com
I've a demo account.
btw simpler EA like movingAverages one are working on backtesting and fwtesting
You can see in the presentation of AsctrendND EA that :
Known limitations:
Don't work with ECN Broker (Market execution type).![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hello everybody
I'm trying to backtest and forward test some advisors I've downloaded, unfortunately some of them don't trade, they take some minutes to run the test and then I've zero trades in the report.
it there any debugger other then print()? or do you know which are the main causes for this kind of problem?