OrderSend() returns error: ERR_NO_RESULT - No error returned

Back to topics list To post a new topic, please log in or register
avatar
77
brad 2015.07.30 08:22
 

Hi there,

When I run the below code I get error code 1 i.e. ERR_NO_RESULT - No error returned, but the result is unknown.  Would appreciate any advice as to how to resolve that.

Cheers, B.


Ticket1=OrderSend(Symbol(),OP_BUYSTOP,LotSize,EntryLevel,3,SL,TP1,NULL,0,0);

            if(Ticket1==-1)
            {
                Print("Error: "+GetLastError());
            }
            else Print("Ticket1: "+Ticket1+" sent.");
avatar
13006
WHRoeder 2015.08.03 19:08 #
 
Guess: zero LotSize.
Back to topics list  

To add comments, please log in or register