check account type

 

Hi

I have a question, how to check account type(standard, mini, micro) ?

 
metbright:

Hi

I have a question, how to check account type(standard, mini, micro) ?

There is no direct way, you can probably check that with the size of a lot : https://docs.mql4.com/marketinformation/symbolinfodouble with SYMBOL_TRADE_CONTRACT_SIZE
 
angevoyageur:
There is no direct way, you can probably check that with the size of a lot : https://docs.mql4.com/marketinformation/symbolinfodouble with SYMBOL_TRADE_CONTRACT_SIZE


thanks,

I follow that way it return 100000.00. What's next?
 
metbright:

Hi

I have a question, how to check account type(standard, mini, micro) ?


what difference does it make if its a standard, mini or micro ?
 
metbright:


thanks,

I follow that way it return 100000.00. What's next?
100,000 is a standard lot. (10,000 a mini and 1,000 a micro).
 
qjol:

what difference does it make if its a standard, mini or micro ?

to calculate lot size in money management I've created

angevoyageur:
100,000 is a standard lot. (10,000 a mini and 1,000 a micro).

Thank you so much.

 
metbright:

to calculate lot size in money management I've created

you can calculate the lot size using AccountBalance or AccountEquity no need to know if it's standard, mini or micro

first scenario: Acc. = standard, Account balance or eqiuty = 200 $

second scenario: Acc. = micro, Account balance or eqiuty = 20000 $

so where exactly is the account type in the equation ?

 
qjol:

you can calculate the lot size using AccountBalance or AccountEquity no need to know if it's standard, mini or micro

first scenario: Acc. = standard, Account balance or eqiuty = 200 $

second scenario: Acc. = micro, Account balance or eqiuty = 20000 $

so where exactly is the account type in the equation ?


1 micro lot = 0.10 usd per pip

1 mini lot = 1 usd per pip

1 standard lot = 10 usd per pip

(in EURUSD)

I mean lot size to trade from calculation with pip value, sl, tp, and risk in percent of accoumt balance.

 

are you using OrderSend(Symbol(), OP_BUY, 1 micro lot, ........); or OrderSend(Symbol(), OP_BUY, 0.1, ........);

so my question stands what difference does it make ?

 
metbright:
qjol:

what difference does it make if its a standard, mini or micro ?

to calculate lot size in money management I've created

Again, why do you care? https://www.mql5.com/en/forum/138853
 
I don't understand your recommend I can't speak English very well, I will try. Thank you.
Reason: