my script is:
double lots = 0.1; // Lotsize
ticket=OrderSend(Symbol(), OP_BUY, lots, Bid, 3, 0, 0);
it gives the error:
buy-with-sl EURUSD,M5: trade operations not allowed by settings
when i want to run it on my Chart...
You OP_BUY at Ask not Bid . . .
Check the Return value from your OrderSend() and report errors: What are Function return values ? How do I use them ?
Did you allow live trading ?
To add comments, please log in or register