Because while you are connected to a server, the trading environment of a backtest is taken from "live" data. Metaquotes-Demo being a testing server I suppose they disabled (intentionally or not) trading on this symbol.
I recommend to not use Metaquotes-Demo unless you want to become a beta-tester. Metaquotes is not a broker, their data have 0 guarantee, there is no valid reason to use it.
Because while you are connected to a server, the trading environment of a backtest is taken from "live" data. Metaquotes-Demo being a testing server I suppose they disabled (intentionally or not) trading on this symbol.
I recommend to not use Metaquotes-Demo unless you want to become a beta-tester. Metaquotes is not a broker, their data have 0 guarantee, there is no valid reason to use it.
so metaquotes server stops being server for testing purposes, after using a non-metaquote server for the first time ?
this is what happened to me.
MQ used to work fine, regardless of reliability of test results , and I tested a EA with broker X, then switched back to MQ demo.
thanks for explanation.
so metaquotes server stops being server for testing purposes, after using a non-metaquote server for the first time ?
this is what happened to me.
...
Sorry I don't understand the question.
Sorry I don't understand the question.
then I tested the same EA, same settings, same everything, with an demo account of broker X. it worked fine again.
then I switched back to my MetaQuote demo account, and now, all EA back-tests show the [trade disabled] error.
is it normal ?
I tested the EA with MetaQuote demo, no problem. (EA traded in back test successfully)
then I tested the same EA, same settings, same everything, with an demo account of broker X. it worked fine again.
then I switched back to my MetaQuote demo account, and now, all EA back-tests show the [trade disabled] error.
is it normal ?
Can you open a trade manually once connected to Metaquotes-Demo ?
yes. just made a 0.15 lot manually
Yes.
So change the starting date of your test, (1 week for example) and it will rebuild the trading environment for this test. It should work after that.
Yes.
So change the starting date of your test, (1 week for example) and it will rebuild the trading environment for this test. It should work after that.
it just got strange.
changing the back-test period (starting 1 month earlier) , still same errors.
same EA , changing the tested pair to another pair which was NOT tested earlier (never tested before by any EA, any server) still the same errors.
but, the built-in EAs bundled with MT5, (MACD, MAMA etc...) are unaffected. they open positions in tester (MQ demo server) without problem.
SO it's like a black list. seems my EAs are not allowed to trade in MQ demo server ,after being tested by broker server.
while other untested EAs (or just bundle EAs?) can still be tested using MQ demo server.
probably one can re-produce the problem i'm seeing.
it just got strange.
changing the back-test period (starting 1 month earlier) , still same errors.
same EA , changing the tested pair to another pair which was NOT tested earlier (never tested before by any EA, any server) still the same errors.
but, the built-in EAs bundled with MT5, (MACD, MAMA etc...) are unaffected. they open positions in tester (MQ demo server) without problem.
SO it's like a black list. seems my EAs are not allowed to trade in MQ demo server ,after being tested by broker server.
while other untested EAs (or just bundle EAs?) can still be tested using MQ demo server.
probably one can re-produce the problem i'm seeing.
Weird. Maybe something is cached ?
Can you try with an other MT5 Terminal ?
![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
the strange thing is, the expert just did well in testing, it was able to trade in tester without problem.
![](https://c.mql5.com/3/223/Capture__2.JPG)
now no matter what I do, it pops a [trade disabled] error each time EA tries to open a position.
trade disabled in tester ??? how ? and why it happens suddenly, without changing anything ? (actually what could be changed in order to disable trading in tester ? :) )
EDIT : same errors with different pairs and different EAs, so it's a terminal bug ?