Jump to content
  • 0

MT4 MQL question -SYMBOL_CURRENCY_BASE

Question

I know  SymbolInfoString(SYMBOL_CURRENCY_BASE ) returns the 1st listed currency of a currency pair. However, when i setup my IG MT4 (build 1220) to the IG Market, the return is always equal to Profit currency (i.e., the 2nd currency of pair). have anyone experienced such a weird thing before? highly appreciated if any workaround is suggested.  Thanks.

Example: for for "USDSGD" , following statements output are the same :   "SGD".

SymbolInfoString(SYMBOL_CURRENCY_BASE ) ;

SymbolInfoString(SSYMBOL_CURRENCY_PROFIT) ;

 

Share this post


Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
You are posting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×