Strategy Tester - OrderSend failed with error #129

 

Hi,

I'm having problems running Trader Advisors with Strategy Tester.

See below very simple OrderSend Advisor (from the OrderSend documentation), which is giving me error #129 everytime.

Any idea what might be wrong? Thanks.



//+------------------------------------------------------------------+
//|                                                         Test.mq4 |
//|                                                                  |
//|                                                                  |
//+------------------------------------------------------------------+
#property copyright ""
#property link      ""
 
bool wannaBuy = true;
 
//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
   wannaBuy = true;
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----
   int ticket;
       
   if(wannaBuy){         
      ticket=OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green);
      if(ticket<0)
      {
         Print("OrderSend failed with error #",GetLastError());
      }
      wannaBuy = false;
   }   
//----
   return(0);
  }
//+------------------------------------------------------------------+
 

What is the number of build and date of build

 

I believe it was 4.0 build 212, I will double check in the evening.

This is a demo account for X-Trade Brokers for the upcoming X-Trade Forex Cup.
http://www.xtb.com/strona.php?p=134

Thanks

 
This bug is known. Please wait for build 213 or download our build 211
 

OK thanks. Do you know what's the ETA for 213?

 
Coming soon. I don't know exactly when
 

I've installed MetaTrader build 211 from http://www.metaquotes.net/downloads/ on top of my previous installation and it works well now.

Thanks for you help stringo!

Reason: