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?
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?
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
trade.SetTypeFilling(ORDER_FILLING_FOK); // Order filling mode, the mode allowed by the server should be used
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?
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 :
it works if I change the initial capital. maybe is a matter of some risk parameter. it's better if I study the code
thanks for your help