When I learn to program as follows :
ticket = OrderSend (Symbol(),OP_BUY,0.1,Ask,3,Ask-25*Point,Ask+25*Point, "My
Print ("OrderSend failed with error #", GetLastError());
in the automated trading enviroment , I found that both Print function and OrderSend
function failed to work .
So , ... please found my errors in this . Thank you !
First ,thank you for your answer .
And then ,Yes, it does (the EA is enabled and allowed to trade and there is a happy
smiley in the right top corner of the chart) .
But I can't find the output of Print ,and the OrderSend function can't work too .
Can you give me some help further ?
en , now I found it return a error #4109 from OrderSend function .
What does this code mean ?
(I have found in the web , but I can't found the answer )
Thank you ...