|
Hi,
PositionProfit(num) is not profit for past days, it's profit for a previous position.
In your strategy 1 Position = 2 contracts (or 2 lots in MT4), which open simultaneously. So Position(1) = pastpips[1]+pastpips[2] and Position(2) = pastpips[3]+pastpips[4].
Concerning backtesting: in MT4 with 1M data we receive very good coincidence
with real trade.
Igor
Last edited by igorad; 05-30-2006 at 04:22 PM.
|