I know this is probably easy but I can't find it.
Is there any way for an EA to determine the current account type (Standard, Mini, Micro) automatically?
An EA would seem to need to know that 1 lot in a standard account is very different from 1 lot in a mini account.
where 'Type()' returns a string like 'standard', 'mini' or 'micro'
makes sense to me but I don't see anything like that. Any help?
Ok, never mind, I'll answer my own question for anyone else. The information is in the class CSymbolInfo
double dContractSize = cMySymbol.ContractSize();
Sorry to be a dummy.