Topics
25 Oct 2012, 01:19
 2793
 2
Replies

magico
28 Nov 2012, 14:17

RE:
tank6b said:

Hi,

 

I'm getting the same values for Open and Close prices on backtesting. This is a bug right?

 

This is the drop of all prices for the EUS/USD on 1M bar

10/25/2012 12:01:00 AM, 001.297390, 001.297390, 001.297390, 001.297390, 001.297390, 001.297390, 001.297390

10/25/2012 12:02:00 AM, 001.297330, 001.297330, 001.297330, 001.297330, 001.297330, 001.297330, 001.297330

10/25/2012 12:03:00 AM, 001.297120, 001.297120, 001.297120, 001.297120, 001.297120, 001.297120, 001.297120

 

Thanks in advanced

I think you may be using something like MarketSeries.Open.LastValue, which gives the value of the current bar.
Try MarketSeries.Open [MarketSeries.Open.Count-2], and see the values of the previous bar you're viewing.

@magico

magico
21 Nov 2012, 10:28

RE:
admin said:

We are looking into it, for the time being please use a different static position.

 


Thanks for you interest.

@magico

magico
14 Nov 2012, 12:52

Thank you very much


@magico

magico
14 Nov 2012, 11:30

RE:
magico said:

Hello admin,

As could include an indicator I created new, to use on my robot?

Thanks in advanced


@magico