nice catch..... thanks..... that was it.....
the marketinfo variables do not include that spec..... you must use , SymbolInfoDouble.....
SymbolInfoDouble(Symbol(),SYMBOL_TRADE_CONTRACT_SIZE)......
will require slight edit to ea's , scripts and indicators in some cases......h
to trade and code, keep both simple... no call to impress....h