Getting commission info from Symbol

 

Hi all, looking at the mt5 symbol list, i can clearly see that the broker specifies commission under Commissions.

I cannot find a way to get it using SymbolInfoDouble. Is this even possible?



 
No it's not possible directly. You need to calculate it.
 
Mike D-rock:

Hi all, looking at the mt5 symbol list, i can clearly see that the broker specifies commission under Commissions.

I cannot find a way to get it using SymbolInfoDouble. Is this even possible?

This has been asked over and over... and over in the Forum before.

There is no commission code in MQl5 symbol properties. The best that you can do is get the DEAL_COMMISSION from a closed deal that had a specific contract size and then, presumably, do some proportional math with DEAL_VOLUME.