EA difficulty trading on real account. - page 2

 
Declare a variable with a value
datetime lastTradeTime = 0;
or
datetime lastTradeTime = TimeCurrent();
OrderSend
 
Konstantin Nikitin:
Declare a variable with a value
or
OrderSend

The corrections you gave me worked.
The EA now trades on a live account.
Thank you for the help

Reason: