There are no trading operations
This error is specific for expert advisers only. The rule is: expert advisers must trade. If your robot should be used only on a specific symbol timeframe, then here is what MetaQuotes say: "Products can not apply restrictions. All limitations should be marked as recommendations in the product description." If your robot does not trade by design (a helper tool, for example), choose approriate category ("Utilities") in the product properties.
One of possible reasons for this error to come is when your code contains a checkup like this:
{
return ERROR_CODE;
}
Such conditions should be accompanied with IsTesting()/MQLInfoInteger(MQL_TESTER) call. The automatic tester is not connected to an account, and the tester is always considered as allowed to trade. Correct code should be:
{
return ERROR_CODE;
}
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I am getting following errors
Test report for version 6.2
Validation state: Validation completed with errors
test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no trading operations The EA will omly open the trade, if there was a change of trend based on specific internal criteria and if for a choosen period there is no change of trend, then it won't open any trade, Help would be appreciated. Thanks