Download MetaTrader 5

Can an EA Detect Account is Cent or Standard Account ?

To add comments, please log in or register
Mirza Baig
2420
Mirza Baig  

Hi all, can an EA Detect Account is Cent or Standard Account ?

Thanks 

Alain Verleyen
Moderator
32410
Alain Verleyen  

Interesting question. I think it's not possible, but not sure.

Why do you need to know?

GBWT094114
3352
GBWT094114  
Shunmas:

Hi all, can an EA Detect Account is Cent or Standard Account ?

Thanks 

There isn't any real difference between Cent or Standard accounts, it is only a difference in the variables and their values on the following page :

https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants

Hope this answers your question. 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Symbol Properties
Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Symbol Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State / Symbol Properties - Documentation on MQL5
Mirza Baig
2420
Mirza Baig  
angevoyageur:

Interesting question. I think it's not possible, but not sure.

Why do you need to know?

Was just curious to know if an EA can detect 4 or 5 digit broker, why it can't detect the type of account. Thanks for your kind reply by the way. :)
Alain Verleyen
Moderator
32410
Alain Verleyen  
Shunmas:
Was just curious to know if an EA can detect 4 or 5 digit broker, why it can't detect the type of account. Thanks for your kind reply by the way. :)
Ok, it's useful to know if you have a 4 or 5 digits broker. But what may be useful to know the type of account (cent or standard) ? I do not see.
Mirza Baig
2420
Mirza Baig  
angevoyageur:
Ok, it's useful to know if you have a 4 or 5 digits broker. But what may be useful to know the type of account (cent or standard) ? I do not see.
If you have a standard account, and want to use 0.01 lot, it would work fine, but it wouldn't open trade on a cent account, and it must be 0.1.
Alain Verleyen
Moderator
32410
Alain Verleyen  
Shunmas:
If you have a standard account, and want to use 0.01 lot, it would work fine, but it wouldn't open trade on a cent account, and it must be 0.1.

This isn't not related to standard/cent account as far as I know, it's minimum lot.

See SYMBOL_VOLUME_MIN.

To add comments, please log in or register