View Single Post
  #16 (permalink)  
Old 05-30-2006, 04:18 PM
igorad's Avatar
igorad igorad is offline
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 829
igorad is on a distinguished road
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
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory

Last edited by igorad; 05-30-2006 at 04:22 PM.
Reply With Quote