Download MetaTrader 5

I made an EA, there is a big difference between Demo and Live trade

To add comments, please log in or register
Fa Cao
1141
Fa Cao  

When I back test this EA by tester for the current 3 years, It runs Ok with almost no errors(except modify error 1).

But when I attached it on living trade, no order can be traded, and the information about error are as below, and I don;t know why trade is disabled?

OrderSend(Symbol(),OP_BUY,Lots,Ask,Slip*Pips_Slip,Stop_Loss,TP,0,Magic_Number,0,0);
OrderSend(Symbol(),OP_SELL,Lots,Bid,Slip*Pips_Slip,Stop_Loss,TP,0,Magic_Number,0,0);

TP=0; Magic_Number=1;Slip=3; 

ydrol
593
ydrol  
Fa Cao
1141
Fa Cao  
ydrol:
Hi see here


I still don't understand this matter very well;

maybe this problem was caused by broker?

Simon Gniadkowski
Moderator
18024
Simon Gniadkowski  
vx0532:


I still don't understand this matter very well;

maybe this problem was caused by broker?

Does your Broker allow EAs ? did you ask ?
To add comments, please log in or register