reinstalled meta trader 4, now expert doesn't make trades

 

Hi

my EA used to work on the same platform

once I reinstalled / updated meta-trader 4 it stopped making trades

this is the error i get

what can be the problem ?

thanks

 

Did you enable live trading ?

 
RaptorUK:

Did you enable live trading ?


thanks alot for the advice

but it didn't work

 

maybe the program doesn't comply with metatrader4 build 409 ?
how can I know ?

 
sergeyrar:

maybe the program doesn't comply with metatrader4 build 409 ?
how can I know ?

Ask the developer.
 
RaptorUK:
Ask the developer.

I've written this code about a year ago
I forgot programming, and have no idea what to do with this

 
sergeyrar:

I've written this code about a year ago
I forgot programming, and have no idea what to do with this

Post the code so we can see . . . someone might be able to offer some more meaningful advice then.
 
sergeyrar:

what can be the problem ?

thanks

I don't know. Try this EA on a DEMO account and see if it works.

// Only run this is an demo account
#include <stdlib.mqh>

bool abort = false;

int start(){
   Comment("At least this works");
   if( abort )
      return( 0 );

   double minLOT = MarketInfo(Symbol(),MODE_MINLOT);
   int ticket= OrderSend( Symbol(), OP_SELL, minLOT, Bid, 5, 0.0, 0.0);
   if( ticket < 0 ){
      int err = GetLastError();
      Print("Failed with error: " + err + " :: " + ErrorDescription(err));
   }
   
   abort = true;
   return(0);
}

Is that the Journal you have printed in your first post? Mine doesn't look like that.