I'd say start() function failed to work.
Please make sure the EA is enabled and allowed to trade and there is a happy smiley in the right top corner of the chart.
Please make sure the EA is enabled and allowed to trade and there is a happy smiley in the right top corner of the chart.
It's hard to say really.
There might be a few reasons, e.g. no connection (meaning no incoming ticks), fatal failure at initialisation like zero divide, etc.
Also I can remember some weirdness in the EA behaviour in deleted and restored chart.
There might be a few reasons, e.g. no connection (meaning no incoming ticks), fatal failure at initialisation like zero divide, etc.
Also I can remember some weirdness in the EA behaviour in deleted and restored chart.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello ,
When I learn to program as follows :
int start()
{
//----
int handle;
int ticket;
Print (Ask);
ticket = OrderSend (Symbol(),OP_BUY,0.1,Ask,3,Ask-25*Point,Ask+25*Point, "My order #2",16384,0,Green);
if (ticket<0)
{
Print ("OrderSend failed with error #", GetLastError());
return (0);
}
//----
return(0);
}
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 !