Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
I know that information about symbols is stored in the file symbols.raw and has : https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_calc_mode
I was able to read this file and get other values, but I cannot find where the value ENUM_SYMBOL_CALC_MODE ( SYMBOL_CALC_MODE_FOREX, SYMBOL_CALC_MODE_FOREX_NO_LEVERAGE, etc.) is stored. Perhaps in another place? I need to get this data NOT FROM MQL, and generally from a third party program, just by having access to the MT4 installation path.
MetaTrader's internal data files are propriety and undocumented. Using them directly and without consent from MetaQuotes could violate your license and use of the MetaTrader platform.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I'm trying to figure out where MT4 stores the Profit calculation mode and Margin calculation mode parameters presented in this specification:
I know that information about symbols is stored in the file symbols.raw and has : https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_calc_mode
I was able to read this file and get other values, but I cannot find where the value ENUM_SYMBOL_CALC_MODE ( SYMBOL_CALC_MODE_FOREX, SYMBOL_CALC_MODE_FOREX_NO_LEVERAGE, etc.) is stored. Perhaps in another place? I need to get this data NOT FROM MQL, and generally from a third party program, just by having access to the MT4 installation path.