Forum: Traders Hideout
May 4th, 2015, 11:51 AM
|
Replies: 32
Views: 21,607
|
Forum: Traders Hideout
May 4th, 2015, 11:46 AM
|
Replies: 32
Views: 21,607
The problem is in this line:
allPositions +=...
The problem is in this line:
allPositions += position.GetProfitLoss(Close[0], PerformanceUnit.Currency);
What you need to do is provide the right price (Close[0]) for the instrument.
So in...
|
Forum: Traders Hideout
May 4th, 2015, 11:14 AM
|
Replies: 32
Views: 21,607
|
Forum: Traders Hideout
April 30th, 2015, 08:13 PM
|
Replies: 32
Views: 21,607
The problem seems to be that it takes the...
The problem seems to be that it takes the Close[0] from current strategy (and its instrument) and applies the calculation to other instruments. For this to work you would have to provide the right...
|
Forum: Traders Hideout
April 30th, 2015, 07:19 AM
|
Replies: 32
Views: 21,607
|