Problem with OrderSend() function

 

Hi @ all,

I am coding my own EA and have now a Problem with the OrderSend() function in LiveModus

When I test my Script all OrderSend() functions work and it buys orders.

But in the live modus it didn't buy any order and I get no Error in the Jornal???

This tag I use:

OrderSend(Symbol(),OP_BUY,lots,Ask,3,Bid-100*Point,Ask+100*Point,"Buy Order",16384,0,Green);

thanks for your help

Regards

Matthias

 

N

Do you mean

"script code works but same code in EA does not?"

If so, check Tools Options, Expert Advisers to see if they are enabled

Check button on ToolBar for 'Expert Advisers' is green not red

Does EA have a smiley face on the chart?

..........

Keep trying

-BB-