Custom Symbol Margin Currency

 

If any crypto exchange has symbol BTCUSDT and I want to create custom symbols for testing a EA
I have a confusion about Margin Currency because it is considered in profit calculation in strategy tester

I have set SYMBOL_CURRENCY_BASE =  BTC

SYMBOL_CURRENCY_PROFIT = USDT

so Margin currency should be BTC or USDT?

I want to know which is right for strategy tester when the calculation mode is CFD leverage.

Custom symbols: Practical basics
Custom symbols: Practical basics
  • www.mql5.com
The article is devoted to the programmatic generation of custom symbols which are used to demonstrate some popular methods for displaying quotes. It describes a suggested variant of minimally invasive adaptation of Expert Advisors for trading a real symbol from a derived custom symbol chart. MQL source codes are attached to this article.