I haven't used mql4/5 for a long time and wanted to write an indicator to show me the AccountBalance and AccountEquity in visual back testing mode a little bit more detailed than the final statement can. Accessing the balance and equity in the ea itself works flawlessly but once I add an indicator to the chart it takes the account balance of the real account not of the account being back tested at the moment. Is there an easy way I can access the account balance of an account in the back tester from an indicator or do I have to work with global variables.
- Joined May 2007 | Status: MT4/MT5 EAs/Indicators/Alerts coder | 6,486 Posts | Online Now
MT4/MT5 EAs/Indicators/Alerts coder
- Joined May 2007 | Status: MT4/MT5 EAs/Indicators/Alerts coder | 6,486 Posts | Online Now
MT4/MT5 EAs/Indicators/Alerts coder