How to know a symbol is a currency pair
- www.mql5.com
Hello maybe you mean here: https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_info_integer
Hello,
thank you for this link. I already checked all the SymbolInfoX, but there seems not to be some definite attribute.
However,
SymbolInfoDouble(_Symbol,SYMBOL_TRADE_CONTRACT_SIZE)
works for me to identify forex on MT4,MT5. It returns 100.000.
Hello,
thank you for this link. I already checked all the SymbolInfoX, but there seems not to be some definite attribute.
However,
works for me to identify forex on MT4,MT5. It returns 100.000.
https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_calc_mode
- www.mql5.com
and no CFD or future, etc. ?
In mql4 and mql5.
Anyone has an idea ?
Thank you