i attached my ea to chart , but i have this error .
But this error was not previously.What is happening?
Your broker does not allow 0.06 lots.
Use MarketInfo() to get minimum lot size and lot step (or check your broker's web site).
Print("Minimum permitted amount of a lot=",MarketInfo(Symbol(),MODE_MINLOT));
Print("Step for changing lots=",MarketInfo(Symbol(),MODE_LOTSTEP));
To add comments, please log in or register