I have export the follow data ,then run the EA,
the error is :
2012.11.20 11:25:34 2007.09.09 12:51 USDJPY,Daily: OrderSend error 4111?
how i can do ?
The data got nothing to do with the error.
Next time add this code so you understand what error you get.
On top of your code :
Then, do Print for error checking
int error = GetLatError();
Print ("Error number ",error," = ",ErrorDescription(error) );
And you will find that the error 4111 is "shorts are not allowed in the expert properties", which mean this :
And so you have to enable both long and short
Please enable the necessary setting in your browser, otherwise you will not be able to log in.