What does the last line in the Journal say ?
the most relevant is
2011.01.06 18:47 The EA stopped beacuse of Stop Out
range 01/01/2011-31/03/2011
thanks for your time
it seems to be a problem on the lot size.. if I use a lot of 0.01 all good
mmh..
Not only to you need enough free margin to open an order, as the order goes against you, equity drops and by the same amount free margin.
Once you reach zero free margin you get a margin call and the broker closes the order. In the tester that's a stop out.
If you have multiple open orders, then you must have enough free margin for all orders going to the most adverse excursion (MAE) i.e. the stops.
My code impediments this.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I have some problems with my strategy tester.. I don't know why every time I run the tester only few day is ccalculated.
For example: I set the usage from 01/01/2011 to 31/12/2011 the tester calculate only 01/01/11-05/01/11
or: I set usage from 01/01/2012 to 31/03/2012 the tester calculate only 01/01/2012-06/01/2012
I have try everything but no luck.. Any idea?