How do I detect mini or standard account in EA?

 
fxtrader625:
Hi,

How can a mini or standard account be detected in EA?

Regards,

Jeff

You can try something like this:

if(MarketInfo(Symbol(), MODE_LOTSIZE) < 50000) IsMiniAccount = true;
 
Michel:
You can try something like this:
if(MarketInfo(Symbol(), MODE_LOTSIZE) < 50000) IsMiniAccount = true;

Thank you, Michel!

Jeff

Reason: