Hi JCL and everybody,
I am not sure if you already gave tips on protecting the account.
What are the best practices?
As a first example the following code:
function checkEquity() {
if(Train) { Lots=1; return; }
vars EquityCurve = series(ProfitClosed+ProfitOpen);
vars EquityLP = series(LowPass(EquityCurve,10));
if(EquityLP[0] < LowPass(EquityLP,100) && falling(EquityLP))
Lots=-1;
else
Lots=1;
}
make often Zorro crashing.
Is there anything I need to change?
Thanks.
Cheers.