MT5 backtest for multiple currencies with different leverage

 

Hi friends,

Could anyone tell me how to backtest multiple currency strategy, in which trading currency pairs have different leverage? I think MT5 only have one buttom to select one leverage applying all currency pairs. But in my trading strategy, there are different currency pairs with different leverage. 

Appreciate those who can help.

Thanks!

 
It's up to the algorithm of your EA. Internally you can use SYMBOL_MARGIN_INITIALSYMBOL_MARGIN_MAINTENANCE properties of every symbol via SymbolInfoDouble(), also take a look at SymbolInfoMarginRate().