If its the Strategy Tester you are taking about then you can set it in the properties to whatever you wish before each test and it will always start at that amount.
Assuming, however, you are referring to a demo account, in that case you cannot usually lodge more funds and will have to open a new demo account. Not difficult.
CB
If its the Strategy Tester you are taking about then you can set it in the properties to whatever you wish before each test and it will always start at that amount.
Assuming, however, you are referring to a demo account, in that case you cannot usually lodge more funds and will have to open a new demo account. Not difficult.
CB
Thanks for your answer.
I am using a demo account to test my EA(Expert Advisors) in Strategy Tester window.
I set the "Use Date" field to test EA in history database.
I don't know why AccountFreeMargin() function return negative number, like -109.7245.
- 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 am writing a EA and test it on history date.
I test EA many times and the AccountFreeMargin() function always return negative number now.
How can I reset deposit to make AccountFreeMargin() function return initial deposit value?
Thanks!