Stops are too close, or prices are ill-calculated or unnormalized (or in the
open price of a pending order). The attempt can be repeated only if the error
occurred due to the price obsolescence. After 5-second (or more) delay, it is
necessary to refresh data using the RefreshRates function and make a retry.
If the error does not disappear, all attempts to trade must be stopped, the
program logic must be changed.
ERR_INVALID_TRADE_VOLUME
131
Invalid trade volume, error in the volume granularity. All attempts to trade
must be stopped, and the program logic must be changed.
" should not matter whether its a demo or live account "
Click edit and add your words. Don't need to post a new one.
we need to see the code to solve it
Ok here is the first EA cross over I typed up, nothing special though a simple moving average cross over executing a BUY and SELL etc