Please help to double check my calculation!

 

Dear all,

I would like to know whether my calculations are correct:

1. any time if I want to open an order, contract size should be:

contract size = AccountFreeMargin() / MarketInfo(Symbol(),MODE_MARGINREQUIRED) ( can anybody tell me the usage difference between marginrequired() and margininit()? )

2. total margin needed to be deducted from my account should be:

total margin deducted = contract size / AccountLeverage()

3. after an order is opened, if stoploss is immediately hit, fixed loss should be:

fixed loss = ( difference between ask/bid to OrderStopLoss() ) * contract size (I'm not sure, is there no need to use "Point" for calculation here?)

Am I correct?

also,

4. freeze level is the minimum distance between order open price and stoploss, right? is it the same from stop level?

5. on the other hand, there is no figure shown for freeze level from my broker, is it normal? (there is a "0" for stop level)

Thanks for your kind help!

regards,

wing

 
Wrong on ALL