Forum

Connect failed [6]

I am getting the above error when trying to log in. Initially I thought the server is down, but I have been getting this for 3 days now. and I verified with a friend that he is able to connect. I have been rebooting my computer to no avail. Does anyone know any thing about this? I simply can't log

#import questions

I'm trying to create a library file (.ex4) file to be used by #import syntax in the main program. I have a problem in compiling the called library program. when trying to compile it, it complains "Start function not found". What should I do? Should I also put these library programs in a separate

OrderSend error with OP_SELLSTOP and OP_BUYSTOP

Hi there, I have a problem with issuing OP_SELLSTOP/OP_BUYSTOP. For example, I ran a script on EURUSD 1 Hourly: MyPrice = High[1] + (iATR(Symbol(),0,6,1)*1.5); Ticket=OrderSend(Symbol(), OP_BUYSTOP, Lots, MyPrice,3, Low[1], 0,"BUYSTOP",0,0,Green); MyPrice returns 1.16925750. It gives me an error

Pending orders

Hi Gurus, If I put in a OP_BUYSTOP order, how can I tell if it has been filled or still pending. I need to know the status of my order. I have a conditional statement that would act differently depending whether it has been filled or still pending. I tried looking at the OrderProfit(), but it