Download MetaTrader 5
To add comments, please log in or register
Have you just installed MetaTrader 5? Learn it in details!
brettosm8
241
brettosm8 2015.07.30 06: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.");
whroeder1
13640
whroeder1 2015.08.03 17:08  
Guess: zero LotSize.
/
To add comments, please log in or register