Where MT4 stores Profit calculation mode and Margin calculation mode parameters ?

 

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.

Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Symbol Properties
Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Symbol Properties
  • www.mql5.com
Symbol Properties - Environment State - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Files:
 
Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
Rassamaha78: 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.

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.