Getting Account Information: Commission Rate?

 
Hello,

If an account has been set up to have a 1/2 or 1 pip commission rate, is it possible to get that information in an EA?

If not, does the OrderCommission() function return a value on an order that is open, i.e. on an order that is not yet closed we can determine the commission that was charged on that order?

Is the OrderCommission() in currency or pips? I assume it is in currency like OrderSwap() ??

I don't have an account with commissions available for testing.

Thank you very much,

-Christian
 
If an account has been set up to have a 1/2 or 1 pip commission rate, is it possible to get that information in an EA?

Yes, but only for closed orders you can use OrderCommission().

Is the OrderCommission() in currency or pips? I assume it is in currency like OrderSwap() ??
Like OrderSwap().