Use trade statistic for full closure
-
I use "trade statistic" to make a full closure when it hit x drawdown. It does the job perfectly but....
Trade statistics
Drawdown
Mode=realative
type: Equidity based20%
When the DD is over 20% it close down but when it start to trade again after this full closure it open a trade and just close it in the same second?
Any idea why this happen?
-
These "Trade statistics" are attempt of me to to give life to the report that you normally see after backtests, and it's something that I'm not proud of
So, this is global. When DD is calculated to be 20%, it will remain at least 20% until the end of the EA. DD is calculated as the difference between the top Equity/Balance that was reached and the bottom Equity/Balance that was reached after that top. If you can do it in a different way, do it. Mostly because these statistics slows down the EA and I am even thinking about removing them.