|
Huh, i have a lot versions of V1+V2_mini5% and there a differences in code:
Variant 1:
=======
if (NormalizeDouble(((AccountEquity()-MinAccount)/AccountEquity())*100,0)>=Pct_Equity)
{
MinAccount=AccountEquity();
closeAllOrders(0);
sB=0;
closeAllOrders(1);
sS=0;
return(0);
}
=======
Variant 2:
=======
if (NormalizeDouble(((AccountEquity()-MinAccount)/AccountEquity())*100,0)>=Pct_Equity)
{
MinAccount=AccountEquity();
closeAll();
sB=0;
sS=0;
return(0);
}
=======
Why code has those differences? It influences something? Because on tester some different results.
Last edited by theone555; 06-06-2007 at 09:46 PM.
|