PureBytes Links
Trading Reference Links
|
I am running a backtest (futures mode) and am altering my position
size according to the Cumulative Profit:
for (i=1; i<BarCount; i++)
{
if (Buy[i]==1 AND Buy[i-1]==0))
{Code here to alter position size
}
}
How do I determine the current cumulative profit in this loop?
Thanks - alex
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.28/672 - Release Date: 2/6/2007 10:22 AM
|