How should an S&P 500 cash-index EA be validated when the MetaQuotes-Demo indices are trade-disabled?

My MT5 EA, "SP500 Close Reversal" (MQL5 Market product ID 211103), trades an S&P 500 cash index CFD. It can run on a chart for another symbol and select the index from the server. It requires a non-expiring, USD-profit, Bid-based CFD with permission to place market orders.


The Market report for v1.24 showed "there are no trading operations" for EURUSD H1, XAUUSD D1, GBPUSD M30 and EURUSD M1 (all netting). I saw the same no-trades message for v1.26. A separate system notification confirmed that v1.26 failed automated validation and asked me to upload a corrected file. It gave no error code, test dates or tester journal.


On 24 November 2026 at 21:48 JST, I checked the live symbol specifications on a retail netting MetaQuotes-Demo account using MT5 build 6230. The terminal listed 13,226 instruments. All 26 symbols in the Indexes group had SYMBOL_TRADE_MODE_DISABLED. In particular:


US500 ("US SPX 500 Index") — trade mode disabled, minimum volume 0.1 lot.

US500M ("S&P 500mini") — trade mode disabled, minimum volume 1.0 lot.


I also checked the entire catalog for non-expiring USD-profit, Bid-based CFDs with full trading permission and support for market orders. Only six metals met these conditions. This was a check of the connected demo account's specifications. I do not have the validation agent's symbol list. For comparison, v1.26 opened and closed 28 US500 positions when attached to a JP225 H1 chart in a local OANDA-Japan MT5 Demo netting test using real-tick mode and fixed volume of 1 lot, October 1 through November 16, 2026.


In the validation run for product 211103, v1.26, was a trade-enabled S&P 500 cash CFD available as a secondary symbol? If so, could you share its exact name and the test interval so I can reproduce the result? If no such symbol was available, how should I submit an EA designed specifically for this index for validation?

Only MetaQuotes staff can see the exact symbol list or test interval used inside the validation agent, so you cannot pull that run's internal journal. However, your check on MetaQuotes-Demo explains the issue: index symbols there have SYMBOL_TRADE_MODE_DISABLED, and Market validation tests EAs on standard charts (EURUSD H1, XAUUSD D1, GBPUSD M30, EURUSD M1).

Under MQL5 Market rules, an Expert Advisor cannot restrict itself to one instrument or refuse to trade the chart it is attached to. If your code scans for a non-expiring, USD-profit, Bid-based CFD and skips trading whenever no index matches SYMBOL_TRADE_MODE_FULL, every validation chart will finish with "there are no trading operations".

Instead of using dummy test trades or tester-only branches (which also violate Market rules), let the EA trade an explicit preferred_sym input when that symbol is trade-enabled on the server, and fall back cleanly to the attached _Symbol otherwise:

bool IsMarketTradeable(const string sym) {
   return (sym != "" && SymbolSelect(sym, true)
           && SymbolInfoInteger(sym, SYMBOL_TRADE_MODE) == SYMBOL_TRADE_MODE_FULL
           && (SymbolInfoInteger(sym, SYMBOL_ORDER_MODE) & SYMBOL_ORDER_MARKET) != 0);
}
string ResolveTradeSymbol(const string preferred_sym) {
   if(preferred_sym != "" && IsMarketTradeable(preferred_sym))
      return preferred_sym;
   return (IsMarketTradeable(_Symbol) ? _Symbol : "");
}

Keep normal signal generation, dynamic SYMBOL_VOLUME_MIN / SYMBOL_VOLUME_STEP rounding, and OrderCalcMargin() checks active for whatever ResolveTradeSymbol() returns, and state clearly in the Market product description that the strategy parameters are designed for US500 cash index CFDs.

Tsubasa Sato:

My MT5 EA, "SP500 Close Reversal" (MQL5 Market product ID 211103), trades an S&P 500 cash index CFD. It can run on a chart for another symbol and select the index from the server. It requires a non-expiring, USD-profit, Bid-based CFD with permission to place market orders.


The Market report for v1.24 showed "there are no trading operations" for EURUSD H1, XAUUSD D1, GBPUSD M30 and EURUSD M1 (all netting). I saw the same no-trades message for v1.26. A separate system notification confirmed that v1.26 failed automated validation and asked me to upload a corrected file. It gave no error code, test dates or tester journal.

There are some information about -

Forum on trading, automated trading systems and testing trading strategies

MQL5 Market validation — Gold-only EA and simulated XAUUSD orders from another host chart

Sergey Golubev, 2026.10.14 17:19

Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market - summary blog post - 

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."



Forum on trading, automated trading systems and testing trading strategies

Market validation: how to obtain test conditions for "no trading operations"?

Sergey Golubev, 2026.09.24 05:54

There are some more:

  1. Solving Automatic Validation Problems Arising During Product Submission in MQL5 Market - blog post with some code example which should be included to be inside EA.

  2. there are no trading operations - the forum discussion thread; the users are sharing the codes/decision which they used to pass validation sucessfully

  3. How to resolve "no trading operations" validation failure? - (solved step by step) small forum thread