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.
- #2
- Oct 27, 2014 5:39am Oct 27, 2014 5:39am
- Joined May 2007 | Status: MT4/MT5 EAs/Indicators/Alerts coder | 6,542 Posts
MT4/MT5 EAs/Indicators/Alerts coder
- #4
- Last Post: Oct 27, 2014 6:49pm Oct 27, 2014 6:49pm
- Joined May 2007 | Status: MT4/MT5 EAs/Indicators/Alerts coder | 6,542 Posts
MT4/MT5 EAs/Indicators/Alerts coder